test_create_simple_window


Description:


[ Version ( deprecated = true , deprecated_since = "3.20" , since = "2.14" ) ]
public unowned Widget test_create_simple_window (string window_title, string dialog_text)

Warning: test_create_simple_window is deprecated since 3.20.

Create a simple window with window title window_title and text contents dialog_text.

Note:

This testing infrastructure is phased out in favor of reftests.

The window will quit any running main-loop when destroyed, and it will automatically be destroyed upon test function teardown.

Parameters:

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.


Namespace: Gtk
Package: gtk+-3.0



2022 vala-language.org