HeaderGroup

Constructors

this
this(HdyHeaderGroup* hdyHeaderGroup, bool ownedRef = false)

Sets our main struct and passes it to the parent class.

this
this()

Members

Functions

addHeaderBar
void addHeaderBar(HeaderBar headerBar)

Adds a header bar to a #HdyHeaderGroup. The decoration layout of the widgets will be edited depending on their position in the composite header bar, the start widget displaying only the start of the user's decoration layout and the end widget displaying only its end while widgets in the middle won't display anything. A header bar can be set as having the focus to display all the decorations. See gtk_header_bar_set_decoration_layout().

getFocus
HeaderBar getFocus()
getHeaderBars
ListSG getHeaderBars()

Returns the list of headerbars associated with @self.

getHeaderGroupStruct
HdyHeaderGroup* getHeaderGroupStruct(bool transferOwnership = false)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

removeHeaderBar
void removeHeaderBar(HeaderBar headerBar)

Removes a widget from a #HdyHeaderGroup

setFocus
void setFocus(HeaderBar headerBar)

Sets the the currently focused header bar. If @header_bar is %NULL, the decoration will be spread as if the header bars of the group were only one, otherwise @header_bar will be the only one to receive the decoration.

Static functions

getType
GType getType()

Variables

hdyHeaderGroup
HdyHeaderGroup* hdyHeaderGroup;

the main Gtk struct

Meta