TestWindow

This tests the GtkD widgets

Constructors

this
this(Application application)
Undocumented in source.

Members

Classes

ComboStore
class ComboStore
Undocumented in source.
GtkDAbout
class GtkDAbout
Undocumented in source.
NB
class NB
Undocumented in source.

Functions

anyButtonExits
void anyButtonExits(Button button)
Undocumented in source. Be warned that the author may not have intended to support it.
getMenuBar
MenuBar getMenuBar()
Undocumented in source. Be warned that the author may not have intended to support it.
getToolbar
Widget getToolbar()
Undocumented in source. Be warned that the author may not have intended to support it.
gtkDemo
void gtkDemo(Notebook notebook)
Undocumented in source. Be warned that the author may not have intended to support it.
onDialogResponse
void onDialogResponse(int response, Dialog dlg)
Undocumented in source. Be warned that the author may not have intended to support it.
onMenuActivate
void onMenuActivate(MenuItem menuItem)
Undocumented in source. Be warned that the author may not have intended to support it.
onNotebookSwitchPage
void onNotebookSwitchPage(Widget notePage, uint pageNumber, Notebook notebook)
Undocumented in source. Be warned that the author may not have intended to support it.
posBottom
void posBottom(Button button)
Undocumented in source. Be warned that the author may not have intended to support it.
posLeft
void posLeft(Button button)
Undocumented in source. Be warned that the author may not have intended to support it.
posRight
void posRight(Button button)
Undocumented in source. Be warned that the author may not have intended to support it.
posTop
void posTop(Button button)
Undocumented in source. Be warned that the author may not have intended to support it.
setNotebook
Notebook setNotebook()
Undocumented in source. Be warned that the author may not have intended to support it.
setup
void setup()
Undocumented in source. Be warned that the author may not have intended to support it.
showCalendar
void showCalendar(Button button)
Undocumented in source. Be warned that the author may not have intended to support it.
showColor
void showColor(Button button)
Undocumented in source. Be warned that the author may not have intended to support it.
showFileChooser
void showFileChooser(Button button)
Undocumented in source. Be warned that the author may not have intended to support it.
showFont
void showFont(Button button)
Undocumented in source. Be warned that the author may not have intended to support it.
showSimpleCombo
void showSimpleCombo(Button button)
Undocumented in source. Be warned that the author may not have intended to support it.
showTextCombo
void showTextCombo(Button button)
Undocumented in source. Be warned that the author may not have intended to support it.
testButtons
void testButtons(Notebook notebook)
Undocumented in source. Be warned that the author may not have intended to support it.
testDelete
void testDelete(Notebook notebook)
Undocumented in source. Be warned that the author may not have intended to support it.
testDialogs
void testDialogs(Notebook notebook)
Undocumented in source. Be warned that the author may not have intended to support it.
testEventBox
void testEventBox(Notebook notebook)
Undocumented in source. Be warned that the author may not have intended to support it.
testList
void testList(Notebook notebook)
Undocumented in source. Be warned that the author may not have intended to support it.
testLists
void testLists(Notebook notebook)
Undocumented in source. Be warned that the author may not have intended to support it.
testNotebook
void testNotebook(Notebook notebook)

tests notebook @param nodebook

testPaned
void testPaned(Notebook notebook)
Undocumented in source. Be warned that the author may not have intended to support it.
testSpinButton
void testSpinButton(Notebook notebook)
Undocumented in source. Be warned that the author may not have intended to support it.
testViewport
void testViewport(Notebook notebook)
Undocumented in source. Be warned that the author may not have intended to support it.
windowDelete
int windowDelete(GdkEvent* event, Widget widget)

Executed when the user tries to close the window @return true to refuse to close the window

Variables

comboText
ComboBoxText comboText;
Undocumented in source.
d
ColorSelectionDialog d;
Undocumented in source.
f
FontSelectionDialog f;
Undocumented in source.
fcd
FileChooserDialog fcd;
Undocumented in source.
fontButton
Button fontButton;
Undocumented in source.
nb
NB nb;
Undocumented in source.
simpleCombo
ComboBoxText simpleCombo;
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