Class: Rabbit::EmbedFrame
Instance Attribute Summary
Attributes inherited from Frame
#force_keep_above, #geometry, #logger, #window
Instance Method Summary collapse
- #fullscreen_available? ⇒ Boolean
- #iconify_available? ⇒ Boolean
- #init_gui(width, height, main_window, window_type = nil) ⇒ Object
- #update_title(new_title) ⇒ Object
Methods inherited from Frame
#destroyed?, #fullscreen, #fullscreen?, #height, #initialize, #main_window?, #parse, #quit, #toggle_fullscreen, #unfullscreen, #width
Methods included from ScreenInfo
default_screen, mm_to_inch, screen_depth, screen_height, screen_height_mm, screen_width, screen_width_mm, screen_x_resolution, screen_y_resolution
Constructor Details
This class inherits a constructor from Rabbit::Frame
Instance Method Details
#fullscreen_available? ⇒ Boolean
228 229 230 |
# File 'lib/rabbit/frame.rb', line 228 def fullscreen_available? false end |
#iconify_available? ⇒ Boolean
232 233 234 |
# File 'lib/rabbit/frame.rb', line 232 def iconify_available? false end |
#init_gui(width, height, main_window, window_type = nil) ⇒ Object
236 237 238 239 240 241 242 243 244 245 246 |
# File 'lib/rabbit/frame.rb', line 236 def init_gui(width, height, main_window, window_type=nil) @window = Gtk::EventBox.new @window.set_size_request(width, height) @canvas.attach_to(self, @window) @fullscreen_toggled = false @fullscreen = false @iconify = false @main_window = main_window @window.show @canvas.post_init_gui end |
#update_title(new_title) ⇒ Object
225 226 |
# File 'lib/rabbit/frame.rb', line 225 def update_title(new_title) end |