|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.Struct
org.gnu.glib.GObject
org.gnu.gtk.IconTheme
org.gnome.gtk.IconTheme
.
You should be aware that there is a considerably different API
in the new library: the architecture is completely different
and most notably internals are no longer exposed to public view.
public class IconTheme
Constructor Summary | |
---|---|
IconTheme()
Deprecated. |
Method Summary | |
---|---|
static void |
addBuiltinIcon(java.lang.String name,
int size,
Pixbuf pixbuf)
Deprecated. |
void |
appendSearchPath(java.lang.String path)
Deprecated. |
static IconTheme |
getDefault()
Deprecated. |
static IconTheme |
getForSceen(Screen screen)
Deprecated. |
IconSize[] |
getIconSizes(java.lang.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. |
java.lang.String[] |
getSearchPath()
Deprecated. |
boolean |
hasIcon(java.lang.String iconName)
Deprecated. |
java.lang.String[] |
listIcons(java.lang.String context)
Deprecated. |
Pixbuf |
loadIcon(java.lang.String name,
int size,
IconLookupFlags flags)
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. |
IconInfo |
lookupIcon(java.lang.String name,
int size,
IconLookupFlags flags)
Deprecated. |
void |
prependSearchPath(java.lang.String path)
Deprecated. |
boolean |
rescanIfNeeded()
Deprecated. |
void |
setCustomtTheme(java.lang.String name)
Deprecated. |
void |
setScreen(Screen screen)
Deprecated. |
void |
setSearchPath(java.lang.String[] path)
Deprecated. |
Methods inherited from class org.gnu.glib.GObject |
---|
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getEventListenerClass, getEventType, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setProperty, setStringProperty, thawNotify |
Methods inherited from class org.gnu.glib.Struct |
---|
equals, getHandle, getNullHandle, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IconTheme()
Method Detail |
---|
public static IconTheme getDefault()
public static IconTheme getForSceen(Screen screen)
public void setScreen(Screen screen)
public void setSearchPath(java.lang.String[] path)
public java.lang.String[] getSearchPath()
public void appendSearchPath(java.lang.String path)
public void prependSearchPath(java.lang.String path)
public void setCustomtTheme(java.lang.String name)
public boolean hasIcon(java.lang.String iconName)
public IconInfo lookupIcon(java.lang.String name, int size, IconLookupFlags flags)
public Pixbuf loadIcon(java.lang.String name, int size, IconLookupFlags flags)
name
- size
- flags
-
public java.lang.String[] listIcons(java.lang.String context)
public boolean rescanIfNeeded()
public static void addBuiltinIcon(java.lang.String name, int size, Pixbuf pixbuf)
public IconSize[] getIconSizes(java.lang.String iconName)
IconSize
describing the sizes at
which the icon is available without scaling. A size of -1 means that the
icon is available in a scalable format.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |