ViewSwitcher

Constructors

this
this(HdyViewSwitcher* hdyViewSwitcher, bool ownedRef)

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

this
this()

Creates a new #HdyViewSwitcher widget.

Members

Functions

getNarrowEllipsize
PangoEllipsizeMode getNarrowEllipsize()

Get the ellipsizing position of the narrow mode label. See hdy_view_switcher_set_narrow_ellipsize().

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*

getViewSwitcherStruct
HdyViewSwitcher* getViewSwitcherStruct(bool transferOwnership)

Get the main Gtk struct

setNarrowEllipsize
void setNarrowEllipsize(PangoEllipsizeMode mode)

Set the mode used to ellipsize the text in narrow mode if there is not enough space to render the entire string.

setPolicy
void setPolicy(HdyViewSwitcherPolicy policy)

Sets the policy of @self.

setStack
void setStack(Stack stack)

Sets the #GtkStack to control.

Static functions

getType
GType getType()

Variables

hdyViewSwitcher
HdyViewSwitcher* hdyViewSwitcher;

the main Gtk struct

Meta