org.gnu.gtk
Class IconSource

java.lang.Object
  extended byorg.gnu.glib.Boxed
      extended byorg.gnu.gtk.IconSource

public class IconSource
extends Boxed


Field Summary
 
Fields inherited from class org.gnu.glib.Boxed
handle
 
Constructor Summary
IconSource()
          Construct a new IconSource object.
 
Method Summary
 TextDirection getDirection()
          Returns the text direction for the icon source.
 java.lang.String getFilename()
          Retrieves the source filename or null if one does not exist.
 java.lang.String getIconName()
          Retrieves the source icon name, or NULL if none is set.
 Pixbuf getPixbuf()
          Retrieves the source pixbuf or null if one does not exist.
 IconSize getSize()
          Return the icon size.
 StateType getState()
          Return the icon state.
protected static Handle gtk_icon_source_copy(Handle source)
           
protected static void gtk_icon_source_free(Handle source)
           
protected static boolean gtk_icon_source_get_direction_wildcarded(Handle source)
           
protected static int gtk_icon_source_get_direction(Handle source)
           
protected static java.lang.String gtk_icon_source_get_filename(Handle source)
           
protected static Handle gtk_icon_source_get_pixbuf(Handle source)
           
protected static boolean gtk_icon_source_get_size_wildcarded(Handle source)
           
protected static int gtk_icon_source_get_size(Handle source)
           
protected static boolean gtk_icon_source_get_state_wildcarded(Handle source)
           
protected static int gtk_icon_source_get_state(Handle source)
           
protected static Handle gtk_icon_source_new()
           
protected static void gtk_icon_source_set_direction_wildcarded(Handle source, boolean setting)
           
protected static void gtk_icon_source_set_direction(Handle source, int direction)
           
protected static void gtk_icon_source_set_filename(Handle source, java.lang.String filename)
           
protected static void gtk_icon_source_set_pixbuf(Handle source, Handle pixbuf)
           
protected static void gtk_icon_source_set_size_wildcarded(Handle source, boolean setting)
           
protected static void gtk_icon_source_set_size(Handle source, int size)
           
protected static void gtk_icon_source_set_state_wildcarded(Handle source, boolean setting)
           
protected static void gtk_icon_source_set_state(Handle source, int state)
           
 void setDirection(TextDirection direction)
          Set the text direction the icon source is intended to be used with.
 void setFilename(java.lang.String filename)
          Sets the source filename
 void setIconName(java.lang.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.
 void setPixbuf(Pixbuf pixbuf)
          Sets the source pixbuf.
 void setSize(IconSize iconSize)
          Set the icon size.
 void setState(StateType state)
          Set the icon state.
 
Methods inherited from class org.gnu.glib.Boxed
equals, getHandle, hashCode, setHandle
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IconSource

public IconSource()
Construct a new IconSource object.

Method Detail

setFilename

public void setFilename(java.lang.String filename)
Sets the source filename


getFilename

public java.lang.String getFilename()
Retrieves the source filename or null if one does not exist.


setPixbuf

public void setPixbuf(Pixbuf pixbuf)
Sets the source pixbuf.


getPixbuf

public Pixbuf getPixbuf()
Retrieves the source pixbuf or null if one does not exist.


setSize

public void setSize(IconSize iconSize)
Set the icon size.


getSize

public IconSize getSize()
Return the icon size.


setState

public void setState(StateType state)
Set the icon state.


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.


getDirection

public TextDirection getDirection()
Returns the text direction for the icon source.


setIconName

public void setIconName(java.lang.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.


getIconName

public java.lang.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.


gtk_icon_source_new

protected static final Handle gtk_icon_source_new()

gtk_icon_source_copy

protected static final Handle gtk_icon_source_copy(Handle source)

gtk_icon_source_free

protected static final void gtk_icon_source_free(Handle source)

gtk_icon_source_set_filename

protected static final void gtk_icon_source_set_filename(Handle source,
                                                         java.lang.String filename)

gtk_icon_source_set_pixbuf

protected static final void gtk_icon_source_set_pixbuf(Handle source,
                                                       Handle pixbuf)

gtk_icon_source_get_filename

protected static final java.lang.String gtk_icon_source_get_filename(Handle source)

gtk_icon_source_get_pixbuf

protected static final Handle gtk_icon_source_get_pixbuf(Handle source)

gtk_icon_source_set_direction_wildcarded

protected static final void gtk_icon_source_set_direction_wildcarded(Handle source,
                                                                     boolean setting)

gtk_icon_source_set_state_wildcarded

protected static final void gtk_icon_source_set_state_wildcarded(Handle source,
                                                                 boolean setting)

gtk_icon_source_set_size_wildcarded

protected static final void gtk_icon_source_set_size_wildcarded(Handle source,
                                                                boolean setting)

gtk_icon_source_get_size_wildcarded

protected static final boolean gtk_icon_source_get_size_wildcarded(Handle source)

gtk_icon_source_get_state_wildcarded

protected static final boolean gtk_icon_source_get_state_wildcarded(Handle source)

gtk_icon_source_get_direction_wildcarded

protected static final boolean gtk_icon_source_get_direction_wildcarded(Handle source)

gtk_icon_source_set_direction

protected static final void gtk_icon_source_set_direction(Handle source,
                                                          int direction)

gtk_icon_source_set_state

protected static final void gtk_icon_source_set_state(Handle source,
                                                      int state)

gtk_icon_source_set_size

protected static final void gtk_icon_source_set_size(Handle source,
                                                     int size)

gtk_icon_source_get_direction

protected static final int gtk_icon_source_get_direction(Handle source)

gtk_icon_source_get_state

protected static final int gtk_icon_source_get_state(Handle source)

gtk_icon_source_get_size

protected static final int gtk_icon_source_get_size(Handle source)