Testing.createSimpleWindow

Create a simple window with window title @window_title and text contents @dialog_text. The window will quit any running gtk_main()-loop when destroyed, and it will automatically be destroyed upon test function teardown.

struct Testing
static
createSimpleWindow
(,
string dialogText
)

Parameters

windowTitle string

Title of the window to be displayed.

dialogText string

Text inside the window to be displayed.

Return: a widget pointer to the newly created GtkWindow.

Meta

Since

2.14