Description Usage Arguments Value Author(s)
top-level window object
Dispatches on type of child (menubar, toolbar, statusbar, widget)
The dispose
method destroys the top-level window and its children.
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 | gwindow(
title = "Window",
visible = TRUE,
name = title,
width = NULL,
height = NULL,
parent = NULL,
handler = NULL,
action = NULL,
...,
toolkit = guiToolkit()
)
.gwindow(
toolkit,
title,
visible,
name,
width,
height,
parent,
handler,
action,
...
)
## S3 method for class 'GWindow'
add(obj, child, expand = NULL, fill = NULL, anchor = NULL, ...)
## S3 method for class 'GWindow'
dispose(obj, ...)
|
title |
title for window's title bar. This is the main
property and is accessed via |
visible |
logical. If codeTRUE window is drawn when
constructed. Otherwise, window can be drawn later using
|
name |
Name for registry of windows |
width |
initial width of window |
height |
initial height of window. This sets height before window manager manages the window |
parent |
If non-NULL, can be used to suggest default location of window. The argument name was changed from location to parent. This can be a coordinate pair (x,y) with (0,0) the upper left corner, or a gwindow instance. In the latter case the location is suggested by the location of the current window. This is useful for placing dialogs near the parent window. |
handler |
handler for destroy event |
action |
action passed t handler |
... |
ignored |
toolkit |
toolkit |
obj |
parent object |
child |
child widget |
expand |
NULL or logical. For box containers controls whether a child will expand to fill the allocated space. |
fill |
NULL or character. For box containers. The value of |
anchor |
NULL or integer. For box containers. The anchor argument is used to position the child within the parent when there is more space allocated than the child requests. This is specified with a Cartesian pair in -1,0,1 x -1, 0, 1. |
a GWindow
instance
john verzani
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.