ViewSwitcher

Constructors

this
this(HdyViewSwitcher* hdyViewSwitcher, bool ownedRef = false)

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

this
this()

Creates a new #HdyViewSwitcher widget.

Members

Functions

getIconSize
GtkIconSize getIconSize()

Get the icon size of the images used in the #HdyViewSwitcher.

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 = false)

Get the main Gtk struct

setIconSize
void setIconSize(GtkIconSize iconSize)

Change the icon size hint for the icons in a #HdyViewSwitcher.

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