Class: Rabbit::EmbedFrame

Inherits:
Frame
  • Object
show all
Defined in:
lib/rabbit/frame.rb

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

Returns:

  • (Boolean)


194
195
196
# File 'lib/rabbit/frame.rb', line 194

def fullscreen_available?
  false
end

#iconify_available?Boolean

Returns:

  • (Boolean)


198
199
200
# File 'lib/rabbit/frame.rb', line 198

def iconify_available?
  false
end

#init_gui(width, height, main_window, window_type = nil) ⇒ Object



202
203
204
205
206
207
208
209
210
# File 'lib/rabbit/frame.rb', line 202

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

#update_title(new_title) ⇒ Object



191
192
# File 'lib/rabbit/frame.rb', line 191

def update_title(new_title)
end