~ubuntu-branches/ubuntu/trusty/rgtk2/trusty

« back to all changes in this revision

Viewing changes to man/gtkTestFindWidget.Rd

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2010-11-03 11:35:46 UTC
  • mfrom: (1.3.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20101103113546-a7fi7jdxdebp0tw1
Tags: 2.20.1-1
* New upstream release

* debian/control: Set (Build-)Depends: to current R version
* debian/control: Set Standards-Version: to current version 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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)}
 
12
\arguments{
 
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.}
 
16
}
 
17
\details{Since 2.14}
 
18
\value{[\code{\link{GtkWidget}}]  a valid widget if any is found or \code{NULL}.}
 
19
\author{Derived by RGtkGen from GTK+ documentation}
 
20
\keyword{internal}