ViewSwitcherTitle

Constructors

this
this(HdyViewSwitcherTitle* hdyViewSwitcherTitle, bool ownedRef)

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

this
this()

Creates a new #HdyViewSwitcherTitle widget.

Members

Functions

getPolicy
HdyViewSwitcherPolicy getPolicy()

Gets the policy of @self.

getStack
Stack getStack()

Get the #GtkStack being controlled by the #HdyViewSwitcher.

getStruct
void* getStruct()

the main Gtk struct as a void*

getSubtitle
string getSubtitle()

Gets the subtitle of @self. See hdy_view_switcher_title_set_subtitle().

getTitle
string getTitle()

Gets the title of @self. See hdy_view_switcher_title_set_title().

getTitleVisible
bool getTitleVisible()

Get whether the title label of @self is visible.

getViewSwitcherEnabled
bool getViewSwitcherEnabled()

Gets whether @self's view switcher is enabled.

getViewSwitcherTitleStruct
HdyViewSwitcherTitle* getViewSwitcherTitleStruct(bool transferOwnership)

Get the main Gtk struct

setPolicy
void setPolicy(HdyViewSwitcherPolicy policy)

Sets the policy of @self.

setStack
void setStack(Stack stack)

Sets the #GtkStack to control.

setSubtitle
void setSubtitle(string subtitle)

Sets the subtitle of @self. The subtitle should give a user additional details.

setTitle
void setTitle(string title)

Sets the title of @self. The title should give a user additional details. A good title should not include the application name.

setViewSwitcherEnabled
void setViewSwitcherEnabled(bool enabled)

Make @self enable or disable its view switcher. If it is disabled, the title will be displayed instead. This allows to programmatically and prematurely hide the view switcher of @self even if it fits in the available space.

Static functions

getType
GType getType()

Variables

hdyViewSwitcherTitle
HdyViewSwitcherTitle* hdyViewSwitcherTitle;

the main Gtk struct

Meta