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

Constructor Details

This class inherits a constructor from Rabbit::Frame

Instance Method Details

#fullscreen_available?Boolean

Returns:

  • (Boolean)

305
306
307
# File 'lib/rabbit/frame.rb', line 305

def fullscreen_available?
  false
end

#iconify_available?Boolean

Returns:

  • (Boolean)

309
310
311
# File 'lib/rabbit/frame.rb', line 309

def iconify_available?
  false
end

#in_terminal?Boolean

Returns:

  • (Boolean)

316
317
318
# File 'lib/rabbit/frame.rb', line 316

def in_terminal?
  false
end

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


320
321
322
323
324
325
326
327
328
# File 'lib/rabbit/frame.rb', line 320

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_terminalObject


313
314
# File 'lib/rabbit/frame.rb', line 313

def toggle_terminal
end

#update_title(new_title) ⇒ Object


302
303
# File 'lib/rabbit/frame.rb', line 302

def update_title(new_title)
end