![]() |
![]() |
![]() |
Libfm Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
struct FmTabLabel; struct FmTabLabelClass; FmTabLabel * fm_tab_label_new (const char *text
); void fm_tab_label_set_icon (FmTabLabel *label
,FmIcon *icon
); void fm_tab_label_set_text (FmTabLabel *label
,const char *text
); void fm_tab_label_set_tooltip_text (FmTabLabel *label
,const char *text
);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkEventBox +----FmTabLabel
include
: libfm/fm-gtk.h
The FmTabLabel is a widget that can be used as a label of tab in notebook-like folders view.
FmTabLabel * fm_tab_label_new (const char *text
);
Creates new tab label widget.
|
text to display as a tab label |
Returns : |
a new FmTabLabel widget. [transfer full] |
Since 0.1.10
void fm_tab_label_set_icon (FmTabLabel *label
,FmIcon *icon
);
Sets an optional icon
to be shown before text in the label
.
|
a tab label widget |
|
an icon to show before text or NULL . [allow-none]
|
Since 1.2.0
void fm_tab_label_set_text (FmTabLabel *label
,const char *text
);
Changes text on the label
.
|
a tab label widget |
|
text to display as a tab label |
Since 0.1.10
void fm_tab_label_set_tooltip_text (FmTabLabel *label
,const char *text
);
Changes text of tooltip on the label
.
|
a tab label widget |
|
text to display in label tooltip |
Since 1.0.0