|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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
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(org.gnu.glib.Handle 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 | |
void |
addListener(IconEntryListener listener)
Register an object to handle IconEntry events. |
java.lang.Class |
getEventListenerClass(java.lang.String signal)
|
org.gnu.glib.EventType |
getEventType(java.lang.String signal)
|
java.lang.String |
getFilename()
Retrieve the filename of the icon selected |
static org.gnu.glib.Type |
getType()
Retrieve the runtime type used by the GLib library. |
void |
removeListener(IconEntryListener listener)
Removes a listener |
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 |
setMaxSaved(int maxSaved)
Sets the maximum number of save entries in the browse dialog. |
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, getChildren, getResizeMode, remove, removeListener, resizeChildren, setBorderWidth, setResizeMode |
Methods inherited from class org.gnu.gtk.Widget |
activate, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, canActivateAccel, createContext, createLayout, destroy, draw, drawArea, drawArea, finish, getAccessible, getColormap, getContext, getData, getDisplay, getModifierStyle, getName, getParent, getParentWindow, getPointer, getRootWindow, getScreen, getSensitive, getStyle, getToplevel, getWindow, grabDefault, grabFocus, hasFocus, hasScreen, hide, hideAll, highlight, intersect, isAncestor, makeWidget, modifyStyle, popColormap, pushColormap, realize, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, reparent, setBackgroundColor, setBaseColor, setColormap, setDoubleBuffered, setDragDestination, setDragIcon, setDragIconPixbuf, setDragIconStock, setDragSource, setFont, setForegroundColor, setMinimumSize, setName, setNoDragDestination, setNoDragSource, setSensitive, setTextColor, shapeCombineMask, show, showAll, unHighlight |
Methods inherited from class org.gnu.gtk.GtkObject |
sink |
Methods inherited from class org.gnu.glib.GObject |
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, equals, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getFloatProperty, getGObjectFromHandle, getHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getNullHandle, getPixbufProperty, getProperty, getStringProperty, hashCode, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setPixbufProperty, setProperty, setStringProperty, thawNotify |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IconEntry(java.lang.String historyId, java.lang.String dialogTitle)
public IconEntry(org.gnu.glib.Handle handle)
Method Detail |
public void setSubdirectory(java.lang.String subdir)
public java.lang.String getFilename()
public void setFilename(java.lang.String filename)
public static org.gnu.glib.Type getType()
public void setBrowseDialogTitle(java.lang.String browseDialogTitle)
public void setHistoryId(java.lang.String id)
public void setMaxSaved(int maxSaved)
maxSaved
- public void addListener(IconEntryListener listener)
IconEntryListener
public void removeListener(IconEntryListener listener)
addListener(IconEntryListener)
public java.lang.Class getEventListenerClass(java.lang.String signal)
public org.gnu.glib.EventType getEventType(java.lang.String signal)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |