ApplicationList
Adam Furman edited this page Feb 24, 2016
·
2 revisions
###ApplicationList class
The ApplicationList
class tracks and initializes all the apps installed as well as all active apps. It also provides application switching functions.
ApplicationList ()
Note: The ApplicationList is managed by the system.
The ApplicationList can be accessed via state.getApplicationList()
.
Object Variables
-
dict applications
The database of all installed applications, sorted by name. Example:"files": <Application object>
. -
list activeApplications
The list of active application objects. The first is the most recent.
Methods
-
Application getApp ( name )
Returns the application associated withname
inapplications
or None if no such name exists. -
list getApplicationList ()
Returns the list of all application names. -
pushActiveApp ( app )
Places an app at the front ofactiveApplications
. Called automatically byapp.activate()
. -
closeApp ( app=None )
Either removes the specified active app or the first one. Do not call. -
switchLast ( app )
Do not call. -
Application getMostRecentActive ()
Returns the current (most recent) active application. -
Application getPreviousActive ()
Returns the previously active application if one exists. -
reloadList ()
Repopulatesapplications
from the apps.json file. Use after installing/uninstalling an app.
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