Sha256: 0593340a8b84dae0502bb0de24496128030cb4ace39612f485d888f8e273d822
Contents?: true
Size: 704 Bytes
Versions: 1
Compression:
Stored size: 704 Bytes
Contents
require_relative '../CSS/Style.rb' class AideUI def initialize() @builderAide = Gtk::Builder.new @builderAide.add_from_file("lib/Hashiparmentier/glade/aide.glade") @window = @builderAide.get_object("windowAide") @window.signal_connect('destroy') { |_widget| Gtk.main_quit } @window.style_context.add_provider(@@CSS_AIDE, Gtk::StyleProvider::PRIORITY_USER) @btnQuitter = @builderAide.get_object("btnQuitter") @btnQuitter.signal_connect('clicked') { |_widget| @window.destroy() } @btnQuitter.style_context.add_provider(@@CSS_BUTTON_ROSE, Gtk::StyleProvider::PRIORITY_USER) @window.show_all() Gtk.main() end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
Hashiparmentier-0.4.0 | lib/Hashiparmentier/UI/AideUI.rb |