1
\alias{gtkTestFindWidget}
2
\name{gtkTestFindWidget}
3
\title{gtkTestFindWidget}
4
\description{This function will search the descendants of \code{widget} for a widget
5
of type \code{widget.type} that has a label matching \code{label.pattern} next
6
to it. This is most useful for automated GUI testing, e.g. to find
7
the "OK" button in a dialog and synthesize clicks on it.
8
However see \code{\link{gtkTestFindLabel}}, \code{\link{gtkTestFindSibling}} and
9
\code{\link{gtkTestWidgetClick}} for possible caveats involving the search of
10
such widgets and synthesizing widget events.}
11
\usage{gtkTestFindWidget(widget, label.pattern, widget.type)}
13
\item{\verb{widget}}{Container widget, usually a GtkWindow.}
14
\item{\verb{label.pattern}}{Shell-glob pattern to match a label string.}
15
\item{\verb{widget.type}}{Type of a aearched for label sibling widget.}
18
\value{[\code{\link{GtkWidget}}] a valid widget if any is found or \code{NULL}.}
19
\author{Derived by RGtkGen from GTK+ documentation}