Class: UI::Navigation
Instance Attribute Summary (collapse)
-
- (Screen) root_screen
The current value of root_screen.
Instance Method Summary (collapse)
-
- (Object) bar_color=(color)
Sets the color of the navigation bar.
-
- (Object) bar_hidden?
Returns wether the navigation bar is hidden.
-
- (Object) hide_bar
Hides the navigation bar.
- - (Object) initialize(root_screen) constructor
-
- (Object) pop(animated = true)
Pushes a screen from the navigation stack, optionally animating the transition.
-
- (Object) push(screen, animated = true)
Pushes a screen onto the navigation stack, optionally animating the transition.
-
- (Screen) screen
Returns the current screen being shown.
-
- (Object) show_bar
Shows the navigation bar.
-
- (Object) title=(title)
Sets the title shown in the navigation bar.
Constructor Details
Instance Attribute Details
- (Screen) root_screen
Returns the current value of root_screen
3 4 5 |
# File 'flow/ui/navigation.rb', line 3 def root_screen @root_screen end |
Instance Method Details
- (Object) bar_color=(color)
Sets the color of the navigation bar
|
# File 'flow/ui/navigation.rb', line 24
|
- (Object) bar_hidden?
Returns wether the navigation bar is hidden
|
# File 'flow/ui/navigation.rb', line 17
|
- (Object) pop(animated = true)
Pushes a screen from the navigation stack, optionally animating the transition
|
# File 'flow/ui/navigation.rb', line 38
|
- (Object) push(screen, animated = true)
Pushes a screen onto the navigation stack, optionally animating the transition
|
# File 'flow/ui/navigation.rb', line 28
|
- (Object) title=(title)
Sets the title shown in the navigation bar
|
# File 'flow/ui/navigation.rb', line 20
|