PopupMenuDemo

Undocumented in source.

Constructors

this
this(Application application)
Undocumented in source.

Members

Functions

onButtonPress
bool onButtonPress(Event event, Widget widget)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

menu
Menu menu;
Undocumented in source.

Inherited Members

From ApplicationWindow

gtkApplicationWindow
GtkApplicationWindow* gtkApplicationWindow;

the main Gtk struct

getApplicationWindowStruct
GtkApplicationWindow* getApplicationWindowStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

__anonymous
mixin ActionGroupT!(GtkApplicationWindow)
Undocumented in source.
__anonymous
mixin ActionMapT!(GtkApplicationWindow)
Undocumented in source.
getType
GType getType()
getHelpOverlay
ShortcutsWindow getHelpOverlay()

Gets the #GtkShortcutsWindow that has been set up with a prior call to gtk_application_window_set_help_overlay().

getId
uint getId()

Returns the unique ID of the window. If the window has not yet been added to a #GtkApplication, returns 0.

getShowMenubar
bool getShowMenubar()

Returns whether the window will display a menubar for the app menu and menubar as needed.

setHelpOverlay
void setHelpOverlay(ShortcutsWindow helpOverlay)

Associates a shortcuts window with the application window, and sets up an action with the name win.show-help-overlay to present it.

setShowMenubar
void setShowMenubar(bool showMenubar)

Sets whether the window will display a menubar for the app menu and menubar as needed.

Meta