ViewSwitcherBar

Constructors

this
this(HdyViewSwitcherBar* hdyViewSwitcherBar, bool ownedRef = false)

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

this
this()

Creates a new #HdyViewSwitcherBar widget.

Members

Functions

getIconSize
GtkIconSize getIconSize()

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

getPolicy
HdyViewSwitcherPolicy getPolicy()

Gets the policy of @self.

getReveal
bool getReveal()

Gets whether @self should be revealed or not.

getStack
Stack getStack()

Get the #GtkStack being controlled by the #HdyViewSwitcher.

getStruct
void* getStruct()

the main Gtk struct as a void*

getViewSwitcherBarStruct
HdyViewSwitcherBar* getViewSwitcherBarStruct(bool transferOwnership = false)

Get the main Gtk struct

setIconSize
void setIconSize(GtkIconSize iconSize)

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

setPolicy
void setPolicy(HdyViewSwitcherPolicy policy)

Sets the policy of @self.

setReveal
void setReveal(bool reveal)

Sets whether @self should be revealed or not.

setStack
void setStack(Stack stack)

Sets the #GtkStack to control.

Static functions

getType
GType getType()

Variables

hdyViewSwitcherBar
HdyViewSwitcherBar* hdyViewSwitcherBar;

the main Gtk struct

Meta