Function

Gtk-3.0Gtktest_create_simple_windowDeprecated 3.20Since 2.14

  • 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.

    Parameters

    • Deprecatedwindow_title: string

      Title of the window to be displayed.

    • Deprecateddialog_text: string

      Text inside the window to be displayed.

    Returns Gtk.Widget

    a widget pointer to the newly created GtkWindow.

    2.14

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