Function gtk::test_create_simple_window [−][src]
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.
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.