Parent

Included Modules

Class/Module Index [+]

Quicksearch

Rabbit::Logger::GUI

Attributes

start_gui_main_loop_automatically[RW]

Public Class Methods

new(level=nil, width=450, height=400) click to toggle source
# File lib/rabbit/logger/gui.rb, line 13
def initialize(level=nil, width=450, height=400)
  Gtk.init
  super(*[level].compact)
  @width = width
  @height = height
  @start_gui_main_loop_automatically = false
  init_dialog
end

Public Instance Methods

clear_buffer() click to toggle source
# File lib/rabbit/logger/gui.rb, line 22
def clear_buffer
  @buffer.text = ""
end
quit() click to toggle source
# File lib/rabbit/logger/gui.rb, line 26
def quit
  @dialog.destroy
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.