test_display_button_window


Description:


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

Warning: test_display_button_window is deprecated since 3.20.

Create a window with window title window_title, text contents dialog_text, and a number of buttons, according to the paired argument list given as ... parameters.

Note:

This testing infrastructure is phased out in favor of reftests.

Each button is created with a label and a ::clicked signal handler that incremrents the integer stored in nump . The window will be automatically shown with show_now after creation, so when this function returns it has already been mapped, resized and positioned on screen. 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.

...

null terminated list of (const char *label, int *nump) pairs.

Returns:

a widget pointer to the newly created GtkWindow.


Namespace: Gtk
Package: gtk+-3.0