org.gnome.glib

Class Object

Known Direct Subclasses:
Object, Pixbuf, Xml

public abstract class Object
extends org.freedesktop.bindings.Proxy

Base class of the object system used by GLib and libraries based on it, such as GTK.

This is the wrapper around GObject!

Methods here provide the mechanism to get and set "properties" on the underlying GObjects. As a deliberate design decision to ensure type safety, however, these are not exposed for public use. To offer a getter or setter for a property, a java-gnome subclass must expose an explicitly named method. For example, to set the "righteous" property, (assuming that the GObject in question has such a property, that it is writable, and that it takes a string), create a method like this:

 public void setRighteous(String value) {
     setPropertyString("righteous", value);
 }
 
This is of course insanely type-unsafe. In general, luckily, this is not necessary, as most GObjects provide convenience methods for such things, and should be used in preference wherever available.
Author:
Andrew Cowie
Since:
4.0.0

Method Summary

Methods inherited from class org.freedesktop.bindings.Proxy

toString