Class: Gtk::Application
- Inherits:
-
Gio::Application
- Object
- Gio::Application
- Gtk::Application
- Defined in:
- lib/rabbit/gtk.rb
Instance Method Summary collapse
-
#initialize(id, flags) ⇒ Application
constructor
A new instance of Application.
Constructor Details
#initialize(id, flags) ⇒ Application
Returns a new instance of Application.
103 104 105 106 107 108 |
# File 'lib/rabbit/gtk.rb', line 103 def initialize(id, flags) super signal_connect_after("activate") do Gtk.main if ApplicationWindow.n_instances > 0 end end |