org.gnu.gtk
Class IconSource
public class IconSource
extends Boxed
IconSource
public IconSource()
Construct a new IconSource object.
getDirection
public TextDirection getDirection()
Returns the text direction for the icon source.
getFilename
public String getFilename()
Retrieves the source filename or null if one does not exist.
getIconName
public String getIconName()
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()
Retrieves the source pixbuf or null if one does not exist.
getSize
public IconSize getSize()
Return the icon size.
getState
public StateType getState()
Return the icon state.
setDirection
public void setDirection(TextDirection direction)
Set the text direction the icon source is intended to be used with.
setFilename
public void setFilename(String filename)
Sets the source filename
setIconName
public void setIconName(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
.
setPixbuf
public void setPixbuf(Pixbuf pixbuf)
Sets the source pixbuf.
setSize
public void setSize(IconSize iconSize)
Set the icon size.
setState
public void setState(StateType state)
Set the icon state.