org.gnu.gtk

Class GtkObject

public class GtkObject extends GObject

This is the base class of all widgets and a few non-widget objects.
Method Summary
voiddestroy()
This method is now a no-op.
static TypegetType()
Retrieve the runtime type used by the GLib library.
voidsink()
Removes the floating reference from a GtkObject, if it exists.

Method Detail

destroy

public void destroy()
This method is now a no-op. Native resources for a specific java object are automatically reclaimed during the finalization of that object.

Note: In some rare cases, subclasses may need an explicit call to destroy in order to release their native resources. These classes may override this method to provide this functionality.

Currently, the only example of this is {@link Window}. See its documentation for more details.

See Also: destroy

getType

public static Type getType()
Retrieve the runtime type used by the GLib library.

sink

public void sink()
Removes the floating reference from a GtkObject, if it exists. Otherwise does nothing.