Class Widget.NavItem

Nav Item Module.

a navigation component used with a NavBar widget. this is essentially a container of items to show in a NavBar.

Usage:

     local dUI = require 'dmc_ui'
     local widget = dUI.newNavItem()

Properties

.backButton () get backButton object.
.leftButton () set/get leftButton object.
.rightButton () set/get rightButton object.
.title () get title Text Widget of Nav Item.
.titleText () set/get title of Nav Item.


Properties

.backButton ()
get backButton object.

Usage:

    print( widget.backButton )
.leftButton ()
set/get leftButton object.

Usage:

  • widget.leftButton = <DMC PushButton>
  • print( widget.leftButton )
.rightButton ()
set/get rightButton object.

Usage:

  • widget.rightButton = <DMC PushButton>
  • print( widget.rightButton )
.title ()
get title Text Widget of Nav Item.

Usage:

    print( widget.title )
.titleText ()
set/get title of Nav Item. value should be string

Usage:

  • widget.titleText = "My Title"
  • print( widget.titleText )
generated by LDoc 1.4.3 Last updated 2015-05-14 11:55:05