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
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()
Construct a new Style object.

Style

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

lookupIconSet

public IconSet lookupIconSet(String stockID)

setBackground

public void setBackground(Window window, StateType stateType)