HelloWorld

Demos for SourceView. TODO on gsv: override methods from TextView, TextBuffer, etc

Constructors

this
this(Application application)
Undocumented in source.

Members

Variables

sourceView
SourceView sourceView;
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*

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
__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