Top |
TeplTabLabelTeplTabLabel — A TeplTab label, to use with GtkNotebook |
GtkWidget * | tepl_tab_label_new () |
TeplTab * | tepl_tab_label_get_tab () |
void | tepl_tab_label_update_tooltip () |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBox ╰── TeplTabLabel
TeplTabLabel is the label/title of a TeplTab, suitable for GtkNotebook.
A TeplTabLabel contains:
a GtkLabel with the “tepl-short-title”.
a close button, when clicked the TeplTab “close-request” signal is emitted.
a customizable tooltip, by default it shows the full “location”.
void
tepl_tab_label_update_tooltip (TeplTabLabel *tab_label
);
Asks TeplTabLabel to update its tooltip. The ::get_tooltip_markup virtual
function is called and the result is set with
gtk_widget_set_tooltip_markup()
.
Since: 3.0
struct TeplTabLabelClass { GtkBoxClass parent_class; gchar * (* get_tooltip_markup) (TeplTabLabel *tab_label); };
Virtual function pointer to create the tooltip markup
string. |
“tab”
property“tab” TeplTab *
The associated TeplTab. TeplTabLabel has a weak reference to the TeplTab.
Owner: TeplTabLabel
Flags: Read / Write / Construct Only
Since: 3.0