main_window?()
click to toggle source
# File lib/rabbit/frame.rb, line 87 def main_window? @main_window end
# File lib/rabbit/frame.rb, line 37 def destroyed? @window.nil? or @window.destroyed? end
# File lib/rabbit/frame.rb, line 59 def fullscreen @fullscreen_toggled = false @fullscreen = true @window.fullscreen end
# File lib/rabbit/frame.rb, line 79 def fullscreen? if @window.respond_to?(:fullscreen?) @window.fullscreen? else @fullscreen end end
# File lib/rabbit/frame.rb, line 110 def fullscreen_available? true end
# File lib/rabbit/frame.rb, line 114 def iconify_available? true end
# File lib/rabbit/frame.rb, line 95 def init_gui(width, height, main_window, window_type=nil) init_window(width, height, window_type) @fullscreen_toggled = false @fullscreen = false @iconify = false @main_window = main_window if @main_window @window.keep_above = @force_keep_above unless @force_keep_above.nil? else @window.keep_above = true end @window.show @canvas.post_init_gui end
# File lib/rabbit/frame.rb, line 87 def main_window? @main_window end
# File lib/rabbit/frame.rb, line 55 def parse(source, callback=nil, &block) @canvas.parse(source, callback, &block) end
# File lib/rabbit/frame.rb, line 41 def quit @window.destroy unless destroyed? @window = nil true end
# File lib/rabbit/frame.rb, line 71 def toggle_fullscreen if fullscreen? unfullscreen else fullscreen end end
# File lib/rabbit/frame.rb, line 65 def unfullscreen @fullscreen_toggled = false @fullscreen = false @window.unfullscreen end
Generated with the Darkfish Rdoc Generator 2.