print.GtkType {RGtk}R Documentation

Produce prettier output for a GtkType object

Description

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).

Usage

print.GtkType(x, ...)

Arguments

x the GtkType object to be shown.
... passed on to the print call for the names.

Details

This discards the low-level key used to identify the C-level type information and shows ony the name of the Gtk type.

Value

A character vector giving the button.

Author(s)

Duncan Temple Lang <duncan@research.bell-labs.com>

References

Information on the package is available from http://www.omegahat.org/RGtk.

Information on Gtk is available from http://www.gtk.org.

See Also

gtkGetType gtkObjectGetType

Examples

 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)

[Package RGtk version 0.7-0 Index]