print.GtkType {RGtk} | R Documentation |
This is a simple method for creating a
more human-readable view of a GtkType
object which represents the underlying
``class'' in the C-level Gtk libraries.
The simplified representation just gives the
name of the Gtk class (as defined in the C code
that declares that class).
print.GtkType(x, ...)
x |
the GtkType object to be shown. |
... |
passed on to the print call for the names. |
This discards the low-level key used to identify the C-level type information and shows ony the name of the Gtk type.
A character vector giving the button.
Duncan Temple Lang <duncan@research.bell-labs.com>
Information on the package is available from http://www.omegahat.org/RGtk.
Information on Gtk is available from http://www.gtk.org.
gtkInit() # Make certain the class is available to us. # Either create an instance or # call the C routine to get the type. # .C("gtk_button_get_type") gtkButton() tp <- gtkGetType("GtkButton") print(tp)