Class: Rabbit::EmbedFrame
Instance Attribute Summary
Attributes inherited from Frame
#geometry, #logger, #window
Instance Method Summary
collapse
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
285
286
287
|
# File 'lib/rabbit/frame.rb', line 285
def fullscreen_available?
false
end
|
#iconify_available? ⇒ Boolean
289
290
291
|
# File 'lib/rabbit/frame.rb', line 289
def iconify_available?
false
end
|
#in_terminal? ⇒ Boolean
296
297
298
|
# File 'lib/rabbit/frame.rb', line 296
def in_terminal?
false
end
|
#init_gui(width, height, main_window, window_type = nil) ⇒ Object
300
301
302
303
304
305
306
307
308
|
# File 'lib/rabbit/frame.rb', line 300
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 = false
@main_window = main_window
@window.show
@canvas.post_init_gui
end
|
#toggle_terminal ⇒ Object
293
294
|
# File 'lib/rabbit/frame.rb', line 293
def toggle_terminal
end
|
#update_title(new_title) ⇒ Object
282
283
|
# File 'lib/rabbit/frame.rb', line 282
def update_title(new_title)
end
|