addBuiltinIcon
public static void addBuiltinIcon(String name,
int size,
Pixbuf pixbuf)
appendSearchPath
public void appendSearchPath(String path)
getDefault
public static IconTheme getDefault()
getIconSizes
public IconSize[] getIconSizes(String iconName)
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.
Returns an array of
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.
getSearchPath
public String[] getSearchPath()
hasIcon
public boolean hasIcon(String iconName)
listIcons
public String[] listIcons(String context)
loadIcon
public Pixbuf loadIcon(String name,
int size,
IconLookupFlags flags)
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.
Looks up an icon in an icon theme, scales it to the given size and
renders it into a pixbuf.
- The rendered pixbuf, or null if the icon is not found.
prependSearchPath
public void prependSearchPath(String path)
rescanIfNeeded
public boolean rescanIfNeeded()
setCustomtTheme
public void setCustomtTheme(String name)
setScreen
public void setScreen(Screen screen)
setSearchPath
public void setSearchPath(String[] path)