gWidgets-methods: Methods for gWidgets instances
Description
Methods introduced by the gWidgets API.Details
The base class for this gWidgets implentation are
gWidget
and its subclass gComponent
and
gContainer
. However, it is expected that the toolkit
implementations have several classes of their own. The following
methods defined in gWidgets simply dispatch to a similarly named
widget in the toolkit. For instance, the method svalue is defined
like
svalue(obj,...) <- .svalue(obj@widget, obj@toolkit, ...)
where
.svalue()
and obj@widget
are in toolkit, and
obj@toolkit
is used for dispatching in the appropriate toolkit.
The gComponent methods are:
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
To access the underlying toolkits the getToolkitWidget
will
return the main widget associated with a component. The $
method can be used to dispatch to an underlying method call in the
toolkit. The [[
and [[<-
method can be used to inspect
and set properties of the underlying object.