
Class Reference
DK_IconBrowser(const char *name, Widget parent); DK_IconBrowser(const char *name);The first method creates an icon browser and makes it the child of the specified widget. The second method assumes that you will call create at a later time; this is required by derived classes that override create, since you cannot call virtual functions from base class constructors.
void setDir(const char *dir);Scans the specified directory for icons and displays them in the browser.
void selectIcon(const char* iconName)Selects the specified icon.
char *getSelectedIconName();Returns the file name of the selected icon, not including the path. If no icon is selected, NULL is returned.
virtual void create(Widget parent)Creates a widget and makes it the parent of the icon browser.
