File: gpanedgroup.Rd

package info (click to toggle)
r-cran-gwidgets 0.0-54.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 2,360 kB
  • sloc: sh: 13; makefile: 2
file content (54 lines) | stat: -rw-r--r-- 1,412 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
\name{gpanedgroup}
\alias{gpanedgroup}

\title{

  A paned group holds two child components with a handle, or sash,
  between them to adjust the amount of space allocated to each

}

\description{
  A constructor for a paned group.
}
\usage{
gpanedgroup(widget1=NULL, widget2=NULL, horizontal = TRUE, 
container = NULL, ..., toolkit = guiToolkit())
}
%- maybe also 'usage' for other objects documented here.
\arguments{
  \item{widget1}{Left (top) widget. Can be added at time of
  construction, or the \code{add} method can be used to add the child
  widgets one at a time.}
  \item{widget2}{Right (bottom) widget}
  \item{horizontal}{Left/right (\code{TRUE}) or top/bottom}
  \item{container}{Optional container to attach widget to}
  \item{\dots}{Passed to \code{add} method of container}
    \item{toolkit}{Which GUI toolkit to use}

}
\details{
  The \code{add} method can be used to one child at a time.

  The \code{svalue} method returns the sash position with a value
  between 0 and 1.
  
  The \code{svalue<-} method can be used to specify the sash position
  with a value between 0 and 1.

}
% \value{}
% \references{}
% \author{}
% \note{}
% \seealso{}
\examples{
\dontrun{
  w <- gwindow("gpanedgroup example")
  pg <- gpanedgroup(container=w)
  gvarbrowser(container = pg) ## first is left/top
  gtext(container = pg)
  svalue(pg) <- 0.25
}
}
\keyword{interface }% at least one, from doc/KEYWORDS