PreferencesWindow

Constructors

this
this(HdyPreferencesWindow* hdyPreferencesWindow, bool ownedRef)

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

this
this()

Creates a new #HdyPreferencesWindow.

Members

Functions

closeSubpage
void closeSubpage()

Closes the current subpage to return back to the preferences, if there is no presented subpage, this does nothing.

getCanSwipeBack
bool getCanSwipeBack()

Returns whether or not @self allows switching from a subpage to the preferences via a swipe gesture.

getPreferencesWindowStruct
HdyPreferencesWindow* getPreferencesWindowStruct(bool transferOwnership)

Get the main Gtk struct

getSearchEnabled
bool getSearchEnabled()

Gets whether search is enabled for @self.

getStruct
void* getStruct()

the main Gtk struct as a void*

presentSubpage
void presentSubpage(Widget subpage)

Sets @subpage as the window's subpage and present it. The transition can be cancelled by the user, in which case visible child will change back to the previously visible child.

setCanSwipeBack
void setCanSwipeBack(bool canSwipeBack)

Sets whether or not @self allows switching from a subpage to the preferences via a swipe gesture.

setSearchEnabled
void setSearchEnabled(bool searchEnabled)

Sets whether search is enabled for @self.

Static functions

getType
GType getType()

Variables

hdyPreferencesWindow
HdyPreferencesWindow* hdyPreferencesWindow;

the main Gtk struct

Inherited Members

From Window

hdyWindow
HdyWindow* hdyWindow;

the main Gtk struct

getHandyWindowStruct
HdyWindow* getHandyWindowStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()

Meta