org.gnu.gtk

Class Style

public class Style extends GObject

Deprecated: This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may in the future have an equivalent in java-gnome 4.0, try looking for org.gnome.gtk.Style. You should be aware that there is a considerably different API in the new library: the architecture is completely different and most notably internals are no longer exposed to public view.

Constructor Summary
Style()
Construct a new Style object.
Style(Handle handle)
Construct a new Style object from a handle to a native resource.
Method Summary
voidapplyDefaultBackground(Window window, boolean setBG, StateType stateType, Rectangle rect, int x, int y, int width, int height)
Styleattach(Window window)
voiddetach(Style style)
static TypegetType()
Retrieve the runtime type used by the GLib library.
IconSetlookupIconSet(String stockID)
voidsetBackground(Window window, StateType stateType)

Constructor Detail

Style

public Style()

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Construct a new Style object.

Style

public Style(Handle handle)

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Construct a new Style object from a handle to a native resource.

Method Detail

applyDefaultBackground

public void applyDefaultBackground(Window window, boolean setBG, StateType stateType, Rectangle rect, int x, int y, int width, int height)

attach

public Style attach(Window window)

detach

public void detach(Style style)

getType

public static Type getType()

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Retrieve the runtime type used by the GLib library.

lookupIconSet

public IconSet lookupIconSet(String stockID)

setBackground

public void setBackground(Window window, StateType stateType)