![]() |
![]() |
![]() |
libgwibber Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties | Signals |
#define GWIBBER_TYPE_ACCOUNTS #define GWIBBER_ACCOUNTS (obj) #define GWIBBER_ACCOUNTS_CLASS (klass) #define GWIBBER_IS_ACCOUNTS (obj) #define GWIBBER_IS_ACCOUNTS_CLASS (klass) #define GWIBBER_ACCOUNTS_GET_CLASS (obj) #define GWIBBER_TYPE_CONNECTION #define GWIBBER_CONNECTION (obj) #define GWIBBER_CONNECTION_CLASS (klass) #define GWIBBER_IS_CONNECTION (obj) #define GWIBBER_IS_CONNECTION_CLASS (klass) #define GWIBBER_CONNECTION_GET_CLASS (obj) #define GWIBBER_TYPE_SERVICE #define GWIBBER_SERVICE (obj) #define GWIBBER_SERVICE_CLASS (klass) #define GWIBBER_IS_SERVICE (obj) #define GWIBBER_IS_SERVICE_CLASS (klass) #define GWIBBER_SERVICE_GET_CLASS (obj) #define GWIBBER_TYPE_STREAMS #define GWIBBER_STREAMS (obj) #define GWIBBER_STREAMS_CLASS (klass) #define GWIBBER_IS_STREAMS (obj) #define GWIBBER_IS_STREAMS_CLASS (klass) #define GWIBBER_STREAMS_GET_CLASS (obj) #define GWIBBER_TYPE_URL_SHORTEN #define GWIBBER_URL_SHORTEN (obj) #define GWIBBER_URL_SHORTEN_CLASS (klass) #define GWIBBER_IS_URL_SHORTEN (obj) #define GWIBBER_IS_URL_SHORTEN_CLASS (klass) #define GWIBBER_URL_SHORTEN_GET_CLASS (obj) #define GWIBBER_TYPE_UTILS #define GWIBBER_UTILS (obj) #define GWIBBER_UTILS_CLASS (klass) #define GWIBBER_IS_UTILS (obj) #define GWIBBER_IS_UTILS_CLASS (klass) #define GWIBBER_UTILS_GET_CLASS (obj) struct GwibberAccount; struct GwibberAccountClass; struct GwibberAccounts; struct GwibberAccountsClass; struct GwibberConnection; struct GwibberConnectionClass; struct GwibberService; struct GwibberServiceClass; struct GwibberStreams; struct GwibberStreamsClass; struct GwibberURLShorten; struct GwibberURLShortenClass; struct GwibberUtils; struct GwibberUtilsClass; GwibberAccount * gwibber_account_new (const gchar *id
); GwibberAccount * gwibber_account_construct (GType object_type
,const gchar *id
); const gchar * gwibber_account_get_id (GwibberAccount *self
); void gwibber_account_set_id (GwibberAccount *self
,const gchar *value
); const gchar * gwibber_account_get_username (GwibberAccount *self
); void gwibber_account_set_username (GwibberAccount *self
,const gchar *value
); const gchar * gwibber_account_get_name (GwibberAccount *self
); void gwibber_account_set_name (GwibberAccount *self
,const gchar *value
); const gchar * gwibber_account_get_service (GwibberAccount *self
); void gwibber_account_set_service (GwibberAccount *self
,const gchar *value
); const gchar * gwibber_account_get_color (GwibberAccount *self
); void gwibber_account_set_color (GwibberAccount *self
,const gchar *value
); const gchar * gwibber_account_get_site_display_name (GwibberAccount *self
); void gwibber_account_set_site_display_name (GwibberAccount *self
,const gchar *value
); const gchar * gwibber_account_get_session_key (GwibberAccount *self
); void gwibber_account_set_session_key (GwibberAccount *self
,const gchar *value
); const gchar * gwibber_account_get_secret_key (GwibberAccount *self
); void gwibber_account_set_secret_key (GwibberAccount *self
,const gchar *value
); const gchar * gwibber_account_get_access_token (GwibberAccount *self
); void gwibber_account_set_access_token (GwibberAccount *self
,const gchar *value
); const gchar * gwibber_account_get_password (GwibberAccount *self
); void gwibber_account_set_password (GwibberAccount *self
,const gchar *value
); const gchar * gwibber_account_get_url_prefix (GwibberAccount *self
); void gwibber_account_set_url_prefix (GwibberAccount *self
,const gchar *value
); const gchar * gwibber_account_get_domain (GwibberAccount *self
); void gwibber_account_set_domain (GwibberAccount *self
,const gchar *value
); const gchar * gwibber_account_get_secret_token (GwibberAccount *self
); void gwibber_account_set_secret_token (GwibberAccount *self
,const gchar *value
); const gchar * gwibber_account_get_user_id (GwibberAccount *self
); void gwibber_account_set_user_id (GwibberAccount *self
,const gchar *value
); const gchar * gwibber_account_get_send_enabled (GwibberAccount *self
); void gwibber_account_set_send_enabled (GwibberAccount *self
,const gchar *value
); const gchar * gwibber_account_get_receive_enabled (GwibberAccount *self
); void gwibber_account_set_receive_enabled (GwibberAccount *self
,const gchar *value
); GType gwibber_accounts_get_type (void
); GwibberAccounts * gwibber_accounts_new (void
); GwibberAccounts * gwibber_accounts_construct (GType object_type
); GList * gwibber_accounts_list (GwibberAccounts *self
); gchar * gwibber_accounts_lookup_str_by_id (GwibberAccounts *self
,const gchar *id
); GwibberAccount * gwibber_accounts_lookup_by_id (GwibberAccounts *self
,const gchar *id
); void gwibber_accounts_send_enabled (GwibberAccounts *self
,const gchar *id
); void gwibber_accounts_updated (GwibberAccounts *self
,const gchar *account_in
); void gwibber_accounts_accounts_available (GwibberAccounts *self
,gboolean is_up
); GType gwibber_connection_get_type (void
); GwibberConnection * gwibber_connection_new (void
); GwibberConnection * gwibber_connection_construct (GType object_type
); gboolean gwibber_connection_is_connected (GwibberConnection *self
); void gwibber_connection_conn_available (GwibberConnection *self
,gboolean is_up
); GType gwibber_service_get_type (void
); GwibberService * gwibber_service_new (void
); GwibberService * gwibber_service_construct (GType object_type
); void gwibber_service_service_available (GwibberService *self
,gboolean is_up
); void gwibber_service_on_loading_started (GwibberService *self
); void gwibber_service_on_loading_complete (GwibberService *self
); void gwibber_service_on_error (GwibberService *self
,const gchar *error_str
); void gwibber_service_start (GwibberService *self
); void gwibber_service_quit (GwibberService *self
); void gwibber_service_refresh (GwibberService *self
); void gwibber_service_send_message (GwibberService *self
,const gchar *message
); GHashTable * gwibber_service_services (GwibberService *self
); GHashTable * gwibber_service_features (GwibberService *self
); gchar * gwibber_service_version (GwibberService *self
); GType gwibber_streams_get_type (void
); GwibberStreams * gwibber_streams_new (void
); GwibberStreams * gwibber_streams_construct (GType object_type
); void gwibber_streams_streams_available (GwibberStreams *self
,gboolean is_up
); GType gwibber_url_shorten_get_type (void
); GwibberURLShorten * gwibber_url_shorten_new (void
); GwibberURLShorten * gwibber_url_shorten_construct (GType object_type
); gchar * gwibber_url_shorten_shorten (GwibberURLShorten *self
,const gchar *url
); void gwibber_url_shorten_url_available (GwibberURLShorten *self
,gboolean is_up
); GType gwibber_utils_get_type (void
); GwibberURLShortenPrivate; GwibberUtilsPrivate; GwibberServicePrivate; GwibberStreamsPrivate; GwibberAccountPrivate; GwibberAccountsPrivate; GwibberConnectionPrivate;
GObject +----GwibberAccount
GObject +----GwibberAccounts
GObject +----GwibberConnection
GObject +----GwibberService
GObject +----GwibberStreams
GObject +----GwibberURLShorten
GObject +----GwibberUtils
"access-token" gchar* : Read / Write "color" gchar* : Read / Write "domain" gchar* : Read / Write "id" gchar* : Read / Write "name" gchar* : Read / Write "password" gchar* : Read / Write "receive-enabled" gchar* : Read / Write "secret-key" gchar* : Read / Write "secret-token" gchar* : Read / Write "send-enabled" gchar* : Read / Write "service" gchar* : Read / Write "session-key" gchar* : Read / Write "site-display-name" gchar* : Read / Write "url-prefix" gchar* : Read / Write "user-id" gchar* : Read / Write "username" gchar* : Read / Write
"account-updated" :Run Last
"is-available" :Run Last
"connection-changed" :Run Last
"is-available" :Run Last
"error" :Run Last
"is-available" :Run Last
"loading-complete" :Run Last
"loading-started" :Run Last
"is-available" :Run Last
"is-available" :Run Last
"available" :Run Last
#define GWIBBER_ACCOUNTS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GWIBBER_TYPE_ACCOUNTS, GwibberAccounts))
#define GWIBBER_ACCOUNTS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GWIBBER_TYPE_ACCOUNTS, GwibberAccountsClass))
#define GWIBBER_IS_ACCOUNTS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GWIBBER_TYPE_ACCOUNTS))
#define GWIBBER_IS_ACCOUNTS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GWIBBER_TYPE_ACCOUNTS))
#define GWIBBER_ACCOUNTS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GWIBBER_TYPE_ACCOUNTS, GwibberAccountsClass))
#define GWIBBER_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GWIBBER_TYPE_CONNECTION, GwibberConnection))
#define GWIBBER_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GWIBBER_TYPE_CONNECTION, GwibberConnectionClass))
#define GWIBBER_IS_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GWIBBER_TYPE_CONNECTION))
#define GWIBBER_IS_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GWIBBER_TYPE_CONNECTION))
#define GWIBBER_CONNECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GWIBBER_TYPE_CONNECTION, GwibberConnectionClass))
#define GWIBBER_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GWIBBER_TYPE_SERVICE, GwibberService))
#define GWIBBER_SERVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GWIBBER_TYPE_SERVICE, GwibberServiceClass))
#define GWIBBER_IS_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GWIBBER_TYPE_SERVICE))
#define GWIBBER_IS_SERVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GWIBBER_TYPE_SERVICE))
#define GWIBBER_SERVICE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GWIBBER_TYPE_SERVICE, GwibberServiceClass))
#define GWIBBER_STREAMS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GWIBBER_TYPE_STREAMS, GwibberStreams))
#define GWIBBER_STREAMS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GWIBBER_TYPE_STREAMS, GwibberStreamsClass))
#define GWIBBER_IS_STREAMS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GWIBBER_TYPE_STREAMS))
#define GWIBBER_IS_STREAMS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GWIBBER_TYPE_STREAMS))
#define GWIBBER_STREAMS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GWIBBER_TYPE_STREAMS, GwibberStreamsClass))
#define GWIBBER_URL_SHORTEN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GWIBBER_TYPE_URL_SHORTEN, GwibberURLShorten))
#define GWIBBER_URL_SHORTEN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GWIBBER_TYPE_URL_SHORTEN, GwibberURLShortenClass))
#define GWIBBER_IS_URL_SHORTEN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GWIBBER_TYPE_URL_SHORTEN))
#define GWIBBER_IS_URL_SHORTEN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GWIBBER_TYPE_URL_SHORTEN))
#define GWIBBER_URL_SHORTEN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GWIBBER_TYPE_URL_SHORTEN, GwibberURLShortenClass))
#define GWIBBER_UTILS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GWIBBER_TYPE_UTILS, GwibberUtils))
#define GWIBBER_UTILS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GWIBBER_TYPE_UTILS, GwibberUtilsClass))
#define GWIBBER_IS_UTILS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GWIBBER_TYPE_UTILS))
#define GWIBBER_IS_UTILS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GWIBBER_TYPE_UTILS))
#define GWIBBER_UTILS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GWIBBER_TYPE_UTILS, GwibberUtilsClass))
GwibberAccount * gwibber_account_construct (GType object_type
,const gchar *id
);
void gwibber_account_set_username (GwibberAccount *self
,const gchar *value
);
void gwibber_account_set_name (GwibberAccount *self
,const gchar *value
);
void gwibber_account_set_service (GwibberAccount *self
,const gchar *value
);
void gwibber_account_set_color (GwibberAccount *self
,const gchar *value
);
const gchar * gwibber_account_get_site_display_name
(GwibberAccount *self
);
void gwibber_account_set_site_display_name (GwibberAccount *self
,const gchar *value
);
const gchar * gwibber_account_get_session_key (GwibberAccount *self
);
void gwibber_account_set_session_key (GwibberAccount *self
,const gchar *value
);
const gchar * gwibber_account_get_secret_key (GwibberAccount *self
);
void gwibber_account_set_secret_key (GwibberAccount *self
,const gchar *value
);
const gchar * gwibber_account_get_access_token (GwibberAccount *self
);
void gwibber_account_set_access_token (GwibberAccount *self
,const gchar *value
);
void gwibber_account_set_password (GwibberAccount *self
,const gchar *value
);
const gchar * gwibber_account_get_url_prefix (GwibberAccount *self
);
void gwibber_account_set_url_prefix (GwibberAccount *self
,const gchar *value
);
void gwibber_account_set_domain (GwibberAccount *self
,const gchar *value
);
const gchar * gwibber_account_get_secret_token (GwibberAccount *self
);
void gwibber_account_set_secret_token (GwibberAccount *self
,const gchar *value
);
void gwibber_account_set_user_id (GwibberAccount *self
,const gchar *value
);
const gchar * gwibber_account_get_send_enabled (GwibberAccount *self
);
void gwibber_account_set_send_enabled (GwibberAccount *self
,const gchar *value
);
const gchar * gwibber_account_get_receive_enabled (GwibberAccount *self
);
void gwibber_account_set_receive_enabled (GwibberAccount *self
,const gchar *value
);
gchar * gwibber_accounts_lookup_str_by_id (GwibberAccounts *self
,const gchar *id
);
GwibberAccount * gwibber_accounts_lookup_by_id (GwibberAccounts *self
,const gchar *id
);
void gwibber_accounts_send_enabled (GwibberAccounts *self
,const gchar *id
);
void gwibber_accounts_updated (GwibberAccounts *self
,const gchar *account_in
);
void gwibber_accounts_accounts_available (GwibberAccounts *self
,gboolean is_up
);
GwibberConnection * gwibber_connection_construct (GType object_type
);
gboolean gwibber_connection_is_connected (GwibberConnection *self
);
void gwibber_connection_conn_available (GwibberConnection *self
,gboolean is_up
);
void gwibber_service_service_available (GwibberService *self
,gboolean is_up
);
void gwibber_service_on_loading_started (GwibberService *self
);
void gwibber_service_on_loading_complete (GwibberService *self
);
void gwibber_service_on_error (GwibberService *self
,const gchar *error_str
);
void gwibber_service_send_message (GwibberService *self
,const gchar *message
);
void gwibber_streams_streams_available (GwibberStreams *self
,gboolean is_up
);
GwibberURLShorten * gwibber_url_shorten_construct (GType object_type
);
gchar * gwibber_url_shorten_shorten (GwibberURLShorten *self
,const gchar *url
);
void gwibber_url_shorten_url_available (GwibberURLShorten *self
,gboolean is_up
);
"id"
property"id" gchar* : Read / Write
This is id Gwibber uses to identify the account.
Default value: NULL
"receive-enabled"
property"receive-enabled" gchar* : Read / Write
receive-enabled.
Default value: NULL
"site-display-name"
property"site-display-name" gchar* : Read / Write
site-display-name.
Default value: NULL
"username"
property"username" gchar* : Read / Write
This is the account's username assigned by the service.
Default value: NULL
"account-updated"
signalvoid user_function (GwibberAccounts *gwibberaccounts,
GwibberAccount *arg1,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"is-available"
signalvoid user_function (GwibberAccounts *gwibberaccounts,
gboolean arg1,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"connection-changed"
signalvoid user_function (GwibberConnection *gwibberconnection,
gboolean arg1,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"is-available"
signalvoid user_function (GwibberConnection *gwibberconnection,
gboolean arg1,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"error"
signalvoid user_function (GwibberService *gwibberservice,
gchar *arg1,
gchar *arg2,
gchar *arg3,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"is-available"
signalvoid user_function (GwibberService *gwibberservice,
gboolean arg1,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"loading-complete"
signalvoid user_function (GwibberService *gwibberservice,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"loading-started"
signalvoid user_function (GwibberService *gwibberservice,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"is-available"
signalvoid user_function (GwibberStreams *gwibberstreams,
gboolean arg1,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"is-available"
signalvoid user_function (GwibberURLShorten *gwibberurlshorten,
gboolean arg1,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"available"
signalvoid user_function (GwibberUtils *gwibberutils,
gboolean arg1,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |