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.
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.
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. |
a widget pointer to the newly created GtkWindow. |