FmTabLabel

## FmTabLabel FmTabLabel — A tab label widget. |

## Synopsis

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

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkContainer
                               +----GtkBin
                                     +----GtkEventBox
                                           +----FmTabLabel

## Implemented Interfaces

FmTabLabel implements AtkImplementorIface and GtkBuildable.

## Description

`include`: libfm/fm-gtk.h

The FmTabLabel is a widget that can be used as a label of tab in notebook-like folders view.

## Details

### struct FmTabLabel

    struct FmTabLabel;

### struct FmTabLabelClass

    struct FmTabLabelClass {
    };

### fm_tab_label_new ()

    FmTabLabel *        fm_tab_label_new                    (const char *text);

Creates new tab label widget.

`text` : | text to display as a tab label
Returns : | a new FmTabLabel widget. [transfer full]

Since 0.1.10

### fm_tab_label_set_icon ()

    void                fm_tab_label_set_icon               (FmTabLabel *label,
                                                             FmIcon *icon);

Sets an optional `icon` to be shown before text in the `label`.

`label` : | a tab label widget
`icon` : | an icon to show before text or `NULL`. [allow-none]

Since 1.2.0

### fm_tab_label_set_text ()

    void                fm_tab_label_set_text               (FmTabLabel *label,
                                                             const char *text);

Changes text on the `label`.

`label` : | a tab label widget
`text` : | text to display as a tab label

Since 0.1.10

### fm_tab_label_set_tooltip_text ()

    void                fm_tab_label_set_tooltip_text       (FmTabLabel *label,
                                                             const char *text);

Changes text of tooltip on the `label`.

`label` : | a tab label widget
`text` : | text to display in label tooltip

Since 1.0.0