Class

HandyTitleBar

Description [src]

final class Handy.TitleBar : Gtk.Bin {
  /* No available fields */
}

A simple title bar container.

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.

CSS nodes

HdyTitleBar has a single CSS node with name headerbar.

Available since:1.0

Ancestors

  • GtkBin
  • GtkContainer
  • GtkWidget
  • GInitiallyUnowned
  • GObject

Implements

  • AtkImplementorIface
  • GtkBuildable

Constructors

hdy_title_bar_new

Creates a new HdyTitleBar.

Available since: 1.0

Instance methods

hdy_title_bar_get_selection_mode

Returns whether whether self is in selection mode.

Available since: 1.0

hdy_title_bar_set_selection_mode

Sets whether self is in selection mode.

Available since: 1.0

Properties

Handy.TitleBar:selection-mode

Whether or not the title bar is in selection mode.

Available since: 1.0

Class structure

struct HandyTitleBarClass {
  GtkBinClass parent_class;
  
}
Class members
parent_class
GtkBinClass
  No description available.