GUI.Icons
Adam Furman edited this page Jul 9, 2016
·
1 revision
The Icons
class preloads the system icon set.
GUI.Icons ()
Accessible via state.getIcons()
.
Static Methods
-
loadFromFile ( path )
Load the icon set from a file. Not working in v1.0.
Object Variables
-
str rootPath
The folder in which the icons are located.res/icons/
is the default value. -
dict icons
A dict with the name of the icon as the key and the filename as the value. Used to look up icons.
Methods
-
getIcons ()
Returns theicons
dict. -
getRootPath ()
ReturnsrootPath
. -
getLoadedIcon ( str name, folder="" )
Loads an icon at all costs. It will first attempt to find the name in the dict, failing that, it will load from the specified folder, or from an absolute or relative path. If no suitable file is found, it will return the "unknown" icon.
Wiki and documentation by Adam Furman. Find an error or have a suggestion? Send it to furmada (at) gmail dot com.
Documentation
-
Application
class -
ApplicationList
class -
Notification
class-
PermanentNotification
class
-
-
NotificationQueue
class -
DataStore
class -
ImmersionUI
class
-
State
class
-
GUI
class
The following classes are all under the GUI class, e.g. Font
is actually accessed as GUI.Font
.
-
Font
class -
Icons
class -
ColorPalette
class -
LongClickEvent
class -
IntermediateUpdateEvent
class -
EventQueue
class -
FunctionBar
class -
Keyboard
class -
Overlay
class -
Dialog
class-
OKDialog
dialog -
ErrorDialog
dialog -
WarningDialog
dialog -
YNDialog
dialog -
OKCancelDialog
dialog -
AskDialog
dialog -
CustomContentDialog
dialog
-
-
NotificationMenu
overlay-
RecentAppSwitcher
overlay -
Selector
overlay
-
-
Component
class
The following classes are all Components
, they inherit from that class.
-
Container
component -
AppContainer
container -
Button
container -
KeyboardButton
container -
TextEntryField
container -
PagedContainer
container-
GriddedPagedContainer
container -
ListedPagedContainer
container
-
-
ButtonRow
container -
ScrollableContainer
container-
ListScrollableContainer
container -
TextScrollableContainer
container -
MultiLineTextEntryField
container
-
-
Text
component -
MultiLineText
component -
ExpandingMultiLineText
component -
Image
component -
Slider
component -
Checkbox
component -
Switch
component -
Canvas
component -
ScrollIndicator
component