org.gnu.gtk
Class GtkObject
public class GtkObject
extends GObject
This is the base class of all widgets and a few non-widget objects.
void | destroy() - This method is now a no-op.
|
static Type | getType() - Retrieve the runtime type used by the GLib library.
|
void | sink() - Removes the floating reference from a GtkObject, if it exists.
|
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
Window
. See its
documentation for more details.
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.