Skip to content
Adam Furman edited this page Feb 3, 2016 · 2 revisions

###Task class The Task class is a subclass of Thread that only runs its method once, and supports getting the returned value. It does not support any event triggers such as onStart. After being added to a Controller, the Task will execute its method once, passing it the optional additionalData as arguments, and store the returned result. It will then deactivate itself.

Task ( method, *additionalData )

Object Variables

  • Inherited
  • returnedData The data returned from running the method. Default is None.
  • tuple additionalData Passed to the method as args.

Methods

  • Inherited
  • run () Runs the method specified and stores the result.
  • getReturn () Gets the data returned from running the method.

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