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.

More...
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 Value

Type: Widget

a widget pointer to the newly created GtkWindow.

Detailed Description

Deprecated: This testing infrastructure is phased out in favor of reftests.

Meta

Since

2.14