BamfTabSource

BamfTabSource

Functions

Properties

char * id Read / Write / Construct

Signals

void tab-closed Run First
void tab-opened Run First
void tab-uri-changed Run First

Types and Values

Object Hierarchy

    GObject
    ╰── BamfTabSource

Description

Functions

BAMF_TAB_SOURCE_CONST()

#define BAMF_TAB_SOURCE_CONST(obj)      (G_TYPE_CHECK_INSTANCE_CAST ((obj), BAMF_TYPE_TAB_SOURCE, BamfTabSource const))

bamf_tab_source_get_tab_ids ()

char **
bamf_tab_source_get_tab_ids (BamfTabSource *source);

Parameters

source

a BamfTabSource

 

Returns

A string array containing the IDs of this BamfTabSource.

[transfer none][allow-none][array zero-terminated=1]


bamf_tab_source_get_tab_preview ()

GArray *
bamf_tab_source_get_tab_preview (BamfTabSource *source,
                                 char *tab_id);

Parameters

source

a BamfTabSource

 

tab_id

an ID

 

Returns

A GArray containing the preview for the given ID of this BamfTabSource.

[transfer none][allow-none]


bamf_tab_source_get_tab_uri ()

char *
bamf_tab_source_get_tab_uri (BamfTabSource *source,
                             char *tab_id);

bamf_tab_source_get_tab_xid ()

guint32
bamf_tab_source_get_tab_xid (BamfTabSource *source,
                             char *tab_id);

bamf_tab_source_show_tab ()

gboolean
bamf_tab_source_show_tab (BamfTabSource *source,
                          char *tab_id,
                          GError *error);

Types and Values

struct BamfTabSource

struct BamfTabSource;

struct BamfTabSourceClass

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);
};

Property Details

The “id” property

  “id”                       char *

id.

Owner: BamfTabSource

Flags: Read / Write / Construct

Default value: NULL

Signal Details

The “tab-closed” signal

void
user_function (BamfTabSource *bamftabsource,
               char          *arg1,
               gpointer       user_data)

Flags: Run First


The “tab-opened” signal

void
user_function (BamfTabSource *bamftabsource,
               char          *arg1,
               gpointer       user_data)

Flags: Run First


The “tab-uri-changed” signal

void
user_function (BamfTabSource *bamftabsource,
               char          *arg1,
               char          *arg2,
               char          *arg3,
               gpointer       user_data)

Flags: Run First