widget
for a widget
of type widget.type
that has a label matching label.pattern
next
to it. This is most useful for automated GUI testing, e.g. to find
the "OK" button in a dialog and synthesize clicks on it.
However see gtkTestFindLabel
, gtkTestFindSibling
and
gtkTestWidgetClick
for possible caveats involving the search of
such widgets and synthesizing widget events.gtkTestFindWidget(widget, label.pattern, widget.type)
widget
label.pattern
widget.type
GtkWidget
] a valid widget if any is found or NULL
.