test_create_simple_window
function test_create_simple_window(window_title:String, dialog_text:String):Gtk.Widget { // Gjs wrapper for gtk_test_create_simple_window() }
Create a simple window with window title window_title and text contents dialog_text. The window will quit any running main-loop when destroyed, and it will automatically be destroyed upon test function teardown.
Since 2.14
- window_title
Title of the window to be displayed.
- dialog_text
Text inside the window to be displayed.
- Returns
a widget pointer to the newly created GtkWindow.