Class: RubyCurses::TabButton
- Inherits:
-
RadioButton
- Object
- Widget
- Button
- ToggleButton
- RadioButton
- RubyCurses::TabButton
- Defined in:
- lib/rbcurse/core/widgets/rtabbedpane.rb
Overview
class tab
Instance Attribute Summary collapse
-
#display_tab_on_traversal ⇒ Object
Returns the value of attribute display_tab_on_traversal.
Attributes inherited from Widget
#_object_created, #col_offset, #cols_panned, #config, #curpos, #focussed, #form, #id, #key_label, #parent_component, #row_offset, #rows_panned, #state
Instance Method Summary collapse
Methods inherited from RadioButton
#checked, #fire, #getvalue, #initialize, #toggle
Methods inherited from ToggleButton
#checked, #checked?, #fire, #getvalue, #handle_key, #initialize, #toggle
Methods inherited from Button
#action, #bind_hotkey, button_layout, #command, #default_button, #fire, #getvalue, #handle_key, #initialize, #mnemonic, #repaint, #text
Methods inherited from Widget
#action_manager, #changed, #click, #color_pair, #command, #destroy, #enter, #event_list, #focus, #get_preferred_size, #getvalue, #handle_key, #height, #height=, #hide, #init_vars, #initialize, #leave, #modified?, #move, #on_enter, #on_leave, #override_graphic, #process_key, #remove, #repaint, #repaint_all, #repaint_required, #rowcol, #set_buffer_modified, #set_buffering, #set_form, #set_form_col, #set_form_row, #set_modified, #setformrowcol, #setrowcol, #show, #text_variable, #unbind_key, #width, #width=
Methods included from Io
#__create_footer_window, #clear_this, #get_file, #print_this, #rb_getchar, #rb_gets, #rbgetstr, #warn
Methods included from Utils
#OLDdefine_key, #_process_key, #bind_key, #bind_keys, #clean_string!, #define_key, #define_prefix_command, #display_app_help, #get_attrib, #get_color, #keycode_tos, #last_line, #one_line_window, #parse_formatted_text, #print_key_bindings, #repeatm, #run_command, #shell_out, #shell_output, #suspend, #view, #wrap_text
Methods included from ConfigSetup
#cget, #config_setup, #configure, #variable_set
Methods included from EventHandler
#bind, #fire_handler, #fire_property_change
Constructor Details
This class inherits a constructor from RubyCurses::RadioButton
Instance Attribute Details
#display_tab_on_traversal ⇒ Object
Returns the value of attribute display_tab_on_traversal.
564 565 566 |
# File 'lib/rbcurse/core/widgets/rtabbedpane.rb', line 564 def display_tab_on_traversal @display_tab_on_traversal end |
Instance Method Details
#getvalue_for_paint ⇒ Object
565 566 567 |
# File 'lib/rbcurse/core/widgets/rtabbedpane.rb', line 565 def getvalue_for_paint @text end |
#selected? ⇒ Boolean
568 569 570 |
# File 'lib/rbcurse/core/widgets/rtabbedpane.rb', line 568 def selected? @variable.value == @value end |