Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | hdy_title_bar_new () |
gboolean | hdy_title_bar_get_selection_mode () |
void | hdy_title_bar_set_selection_mode () |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── HdyTitleBar
HdyTitleBar is meant to be used as the top-level widget of your window's title bar. It will be drawn with the same style as a GtkHeaderBar but it won't force a widget layout on you: you can put whatever widget you want in it, including a GtkHeaderBar.
HdyTitleBar becomes really useful when you want to animate header bars, like an adaptive application using HdyLeaflet would do.
HdyTitleBar has been deprecated, header bars can be animated without it when placed inside HdyWindow or HdyApplicationWindow.
GtkWidget *
hdy_title_bar_new (void
);
hdy_title_bar_new
has been deprecated since version 1.4 and should not be used in newly-written code.
Creates a new HdyTitleBar.
gboolean
hdy_title_bar_get_selection_mode (HdyTitleBar *self
);
hdy_title_bar_get_selection_mode
has been deprecated since version 1.4 and should not be used in newly-written code.
Returns whether whether self
is in selection mode.
void hdy_title_bar_set_selection_mode (HdyTitleBar *self
,gboolean selection_mode
);
hdy_title_bar_set_selection_mode
has been deprecated since version 1.4 and should not be used in newly-written code.
Sets whether self
is in selection mode.