Class: MainView
- Inherits:
- ApplicationView show all
- Defined in:
- lib/rugui/generators/rugui/templates/framework_specific/qt/app/views/main_view.rb,
lib/rugui/generators/rugui/templates/framework_specific/gtk/app/views/main_view.rb,
lib/rugui/generators/rugui/templates/framework_specific/rubygame/app/views/main_view.rb
Instance Attribute Summary collapse
-
#screen ⇒ Object
Returns the value of attribute screen.
Attributes inherited from RuGUI::BaseView
#controllers, #glade, #unnamed_widgets, #widgets
Instance Method Summary collapse
Methods inherited from RuGUI::BaseView
#add_signal_handler_for_widget_type, #add_widget_to_container, #build_from_builder_file, builder_file, #builder_file, #builder_file_extension, #change_widget_style, #connect, #display_root?, #framework_adapter, framework_adapter_class, #include_view, #initialize, #post_registration, #register_controller, #register_helper, #remove_all_children, #remove_view, #remove_widget_from_container, #root, root, #root_widget, #setup_view_helpers, #setup_widgets, use_builder, #use_builder?, use_glade
Methods included from RuGUI::InitializeHooks
included, #initialize_with_hooks, update_initialize_method
Methods included from RuGUI::SignalSupport
#autoconnect_declared_signals, included
Methods included from RuGUI::PropertyObserver
included, #named_observable_property_updated, #property_updated
Methods included from RuGUI::FrameworkAdapters::FrameworkAdapterSupport
#framework_adapter_for, included, #load_framework_adapter
Methods included from RuGUI::LogSupport
Methods inherited from RuGUI::BaseObject
Constructor Details
This class inherits a constructor from RuGUI::BaseView
Instance Attribute Details
#screen ⇒ Object
Returns the value of attribute screen.
2 3 4 |
# File 'lib/rugui/generators/rugui/templates/framework_specific/rubygame/app/views/main_view.rb', line 2 def screen @screen end |
Instance Method Details
#update_screen ⇒ Object
4 5 6 7 8 |
# File 'lib/rugui/generators/rugui/templates/framework_specific/rubygame/app/views/main_view.rb', line 4 def update_screen screen.fill :black # update screen logic goes here end |