org.gnu.gnome
Class IconEntry

java.lang.Object
  |
  +--org.gnu.glib.GObject
        |
        +--org.gnu.gtk.GtkObject
              |
              +--org.gnu.gtk.Widget
                    |
                    +--org.gnu.gtk.Container
                          |
                          +--org.gnu.gtk.Box
                                |
                                +--org.gnu.gtk.VBox
                                      |
                                      +--org.gnu.gnome.IconEntry

public class IconEntry
extends VBox

A GnomeIconEntry is a button that pops up a window displaying a collection of icons. The user can select one of the icons found in /usr/share/pixmaps or browse the file system to find icons in other directories. The pull-down list of directory names maintains a history of previously opened directories.


Constructor Summary
IconEntry(int handle)
          Construct a new IconEntry from a handle to a native resource.
IconEntry(java.lang.String historyId, java.lang.String dialogTitle)
          Construct a new IconEntry
 
Method Summary
 java.lang.String getFilename()
          Retrieve the filename of the icon selected
static Type getType()
          Retrieve the runtime type used by the GLib library.
 void setBrowseDialogTitle(java.lang.String browseDialogTitle)
          Set the title for the Browse Dialog.
 void setFilename(java.lang.String filename)
          Set the filename of an icon.
 void setHistoryId(java.lang.String id)
          Set the history id
 void setSubdirectory(java.lang.String subdir)
          Set the subdirectory in which to look for icons.
 
Methods inherited from class org.gnu.gtk.Box
getHomogeneous, getSpacing, packEnd, packEnd, packStart, packStart, reorderChild, setHomogeneous, setSpacing
 
Methods inherited from class org.gnu.gtk.Container
add, addListener, getBorderWidth, getEventListenerClass, getEventType, getResizeMode, remove, removeListener, resizeChildren, setBorderWidth, setResizeMode
 
Methods inherited from class org.gnu.gtk.Widget
activate, addListener, addListener, addListener, addListener, addListener, addListener, createContext, createLayout, destroy, draw, drawArea, drawArea, getAccessible, getColormap, getContext, getModifierStyle, getName, getParent, getParentWindow, getPointer, getSensitive, getStyle, getToplevel, grabDefault, grabFocus, hasFocus, hide, hideAll, intersect, isAncestor, makeWidget, modifyStyle, popColormap, pushColormap, realize, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, reparent, setBackgroundColor, setBaseColor, setColormap, setDoubleBuffered, setDragDestination, setDragSource, setFont, setForegroundColor, setMinimumSize, setName, setNoDragDestination, setNoDragSource, setSensitive, setTextColor, shapeCombineMask, show, showAll
 
Methods inherited from class org.gnu.glib.GObject
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, equals, getData, getHandle, removeEventHandler, setData
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IconEntry

public IconEntry(java.lang.String historyId,
                 java.lang.String dialogTitle)
Construct a new IconEntry


IconEntry

public IconEntry(int handle)
Construct a new IconEntry from a handle to a native resource.

Method Detail

setSubdirectory

public void setSubdirectory(java.lang.String subdir)
Set the subdirectory in which to look for icons.


getFilename

public java.lang.String getFilename()
Retrieve the filename of the icon selected


setFilename

public void setFilename(java.lang.String filename)
Set the filename of an icon.


getType

public static Type getType()
Retrieve the runtime type used by the GLib library.


setBrowseDialogTitle

public void setBrowseDialogTitle(java.lang.String browseDialogTitle)
Set the title for the Browse Dialog.


setHistoryId

public void setHistoryId(java.lang.String id)
Set the history id


Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net