Class: Rabbit::EmbedFrame

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

Constant Summary

Constants inherited from Frame

Frame::FALLBACK_LIMIT

Instance Attribute Summary

Attributes inherited from Frame

#force_keep_above, #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)


270
271
272
# File 'lib/rabbit/frame.rb', line 270

def fullscreen_available?
  false
end

#iconify_available?Boolean

Returns:

  • (Boolean)


274
275
276
# File 'lib/rabbit/frame.rb', line 274

def iconify_available?
  false
end

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



278
279
280
281
282
283
284
285
286
287
288
# File 'lib/rabbit/frame.rb', line 278

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



267
268
# File 'lib/rabbit/frame.rb', line 267

def update_title(new_title)
end