pub fn test_create_simple_window(
    window_title: &str,
    dialog_text: &str
) -> Option<Widget>
Expand description

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.

Deprecated since 3.20

This testing infrastructure is phased out in favor of reftests.


Title of the window to be displayed.


Text inside the window to be displayed.


a widget pointer to the newly created GtkWindow.