Skip to content

Latest commit

 

History

History

examples

OrbTk examples

Build and test MIT licensed

Basic reference examples

  • minimal: minimal example

    minimal

Howto start your OrbTk journey.

  • showcase: major reference app

showcase

It provides a structured overview of an OrbTk app. We try to incorporate example implementation that make use of the supported widgets inside the orbtk-widget crate.

Specialized examples

  • calculator: a calculator example

    calculator

  • canvas: use third party render library in canvas

    canvas

  • login: PasswordBox showcase implementing a login form

    login
  • message: MessageAdapter example

    message
    1. Assign and implement a thread inside the state of a MainView.
    2. Generate a time based loop that sleeps given amount out seconds.
    3. When the timer expires, increment a counter and issue a message inside the state. A message will be triggered and send via the message_adapter.
    4. The receiver side will evaluate (match) the message type. The associated function block will increment a counter and update a text property inside the MainView. Thus, the View will update that counter every given time period.
  • msg_handler: sender-receiver example

    msg_handler
  • multi_window: multi window example

    multi_window

  • overlay: draw widgets on the top of the render stack

    overlay

  • popup: show how to open and use a popup

    popup
  • stack: stack layout example

    stack

License

Licensed under MIT license (LICENSE).