org.gnu.gtk

Class IconSource

public class IconSource extends Boxed

Constructor Summary
IconSource()
Construct a new IconSource object.
Method Summary
TextDirectiongetDirection()
Returns the text direction for the icon source.
StringgetFilename()
Retrieves the source filename or null if one does not exist.
StringgetIconName()
Retrieves the source icon name, or NULL if none is set.
PixbufgetPixbuf()
Retrieves the source pixbuf or null if one does not exist.
IconSizegetSize()
Return the icon size.
StateTypegetState()
Return the icon state.
voidsetDirection(TextDirection direction)
Set the text direction the icon source is intended to be used with.
voidsetFilename(String filename)
Sets the source filename
voidsetIconName(String iconName)
Sets the name of an icon to look up in the current icon theme to use as a base image when creating icon variants for IconSet.
voidsetPixbuf(Pixbuf pixbuf)
Sets the source pixbuf.
voidsetSize(IconSize iconSize)
Set the icon size.
voidsetState(StateType state)
Set the icon state.

Constructor Detail

IconSource

public IconSource()

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 IconSource object.

Method Detail

getDirection

public TextDirection getDirection()

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.

Returns the text direction for the icon source.

getFilename

public String getFilename()

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.

Retrieves the source filename or null if one does not exist.

getIconName

public String getIconName()

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.

Retrieves the source icon name, or NULL if none is set. The icon_name is not a copy, and should not be modified or expected to persist beyond the lifetime of the icon source.

getPixbuf

public Pixbuf getPixbuf()

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.

Retrieves the source pixbuf or null if one does not exist.

getSize

public IconSize getSize()

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.

Return the icon size.

getState

public StateType getState()

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.

Return the icon state.

setDirection

public void setDirection(TextDirection direction)

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.

Set the text direction the icon source is intended to be used with.

setFilename

public void setFilename(String filename)

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.

Sets the source filename

setIconName

public void setIconName(String iconName)

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.

Sets the name of an icon to look up in the current icon theme to use as a base image when creating icon variants for IconSet.

setPixbuf

public void setPixbuf(Pixbuf pixbuf)

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.

Sets the source pixbuf.

setSize

public void setSize(IconSize iconSize)

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.

Set the icon size.

setState

public void setState(StateType state)

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.

Set the icon state.