Class: CWM::Tabs
- Inherits:
-
Pager
- Object
- AbstractWidget
- CustomWidget
- Pager
- CWM::Tabs
- Defined in:
- library/cwm/src/lib/cwm/tabs.rb
Overview
Instance Attribute Summary
Attributes inherited from Pager
Attributes inherited from AbstractWidget
#handle_all_events, #widget_id
Class Method Summary collapse
-
.new(*args) ⇒ Object
Tabs does not have instances:
Tabs.new
overridesClass.new
and calls either DumbTabPager.new or PushButtonTabPager.new.
Methods inherited from Pager
#contents, #handle, #init, #initial_page, #initialize, #mark_page, #page_for_id, #page_order, #replace_point, #store_page, #switch_page
Methods inherited from CustomWidget
#contents, #cwm_contents, #cwm_definition, #find_ids, #ids_in_contents
Methods inherited from AbstractWidget
#cleanup, #cwm_definition, #disable, #displayed?, #enable, #enabled?, #focus, #fun_ref, #handle, #help, #init, #label, #my_event?, #opt, #refresh_help, #store, #validate, widget_type=
Constructor Details
This class inherits a constructor from CWM::Pager
Class Method Details
.new(*args) ⇒ Object
CWM::Tabs does not have instances:
Tabs.new
overrides Class.new
and calls
either DumbTabPager.new or PushButtonTabPager.new.
15 16 17 18 19 20 21 |
# File 'library/cwm/src/lib/cwm/tabs.rb', line 15 def self.new(*args) if Yast::UI.HasSpecialWidget(:DumbTab) DumbTabPager.new(*args) else PushButtonTabPager.new(*args) end end |