org.gnu.gtk

Class Style


public class Style
extends GObject

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

void
applyDefaultBackground(Window window, boolean setBG, StateType stateType, Rectangle rect, int x, int y, int width, int height)
Style
attach(Window window)
void
detach(Style style)
static Type
getType()
Retrieve the runtime type used by the GLib library.
IconSet
lookupIconSet(String stockID)
void
setBackground(Window window, StateType stateType)

Methods inherited from class org.gnu.glib.GObject

addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getEventListenerClass, getEventType, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getPixbufProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setPixbufProperty, setProperty, setStringProperty, thawNotify

Constructor Details

Style

public Style()
Construct a new Style object.

Style

public Style(Handle handle)
Construct a new Style object from a handle to a native resource.

Method Details

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()
Retrieve the runtime type used by the GLib library.

lookupIconSet

public IconSet lookupIconSet(String stockID)

setBackground

public void setBackground(Window window,
                          StateType stateType)