![]() |
![]() |
![]() |
libbamf Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties | Signals |
#define BAMF_TAB_SOURCE_CONST (obj) struct BamfTabSource; struct BamfTabSourceClass; char ** bamf_tab_source_get_tab_ids (BamfTabSource *source
); GArray * bamf_tab_source_get_tab_preview (BamfTabSource *source
,char *tab_id
); char * bamf_tab_source_get_tab_uri (BamfTabSource *source
,char *tab_id
); guint32 bamf_tab_source_get_tab_xid (BamfTabSource *source
,char *tab_id
); gboolean bamf_tab_source_show_tab (BamfTabSource *source
,char *tab_id
,GError *error
);
#define BAMF_TAB_SOURCE_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BAMF_TYPE_TAB_SOURCE, BamfTabSource const))
struct BamfTabSourceClass { GObjectClass parent_class; /*< methods >*/ void (*show_tab) (BamfTabSource *source, char *tab_id); char ** (*tab_ids) (BamfTabSource *source); GArray * (*tab_preview) (BamfTabSource *source, char *tab_id); char * (*tab_uri) (BamfTabSource *source, char *tab_id); guint32 (*tab_xid) (BamfTabSource *source, char *tab_id); };
char ** bamf_tab_source_get_tab_ids (BamfTabSource *source
);
|
a BamfTabSource |
Returns : |
A string array containing the IDs of this BamfTabSource. [transfer none][allow-none][array zero-terminated=1] |
GArray * bamf_tab_source_get_tab_preview (BamfTabSource *source
,char *tab_id
);
|
a BamfTabSource |
|
an ID |
Returns : |
A GArray containing the preview for the given ID of this BamfTabSource. [transfer none][allow-none] |
char * bamf_tab_source_get_tab_uri (BamfTabSource *source
,char *tab_id
);
guint32 bamf_tab_source_get_tab_xid (BamfTabSource *source
,char *tab_id
);
gboolean bamf_tab_source_show_tab (BamfTabSource *source
,char *tab_id
,GError *error
);
"tab-closed"
signalvoid user_function (BamfTabSource *bamftabsource,
gchar *arg1,
gpointer user_data) : Run First
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"tab-opened"
signalvoid user_function (BamfTabSource *bamftabsource,
gchar *arg1,
gpointer user_data) : Run First
|
the object which received the signal. |
|
user data set when the signal handler was connected. |