Skip to content

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 with name in applications or None if no such name exists.
  • list getApplicationList () Returns the list of all application names.
  • pushActiveApp ( app ) Places an app at the front of activeApplications. Called automatically by app.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 () Repopulates applications from the apps.json file. Use after installing/uninstalling an app.

Home

Getting Started

Documentation

Threads and Tasks

Applications and Notifications

The State Class and Variable

The GUI, Events, Resources, and Dialogs

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

GUI Components and Containers

  • 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
Clone this wiki locally