Sha256: 567b5512aceb8ebfd2811069c4069b345470f2f7b0eb410cd39280f19d8dcd4e
Contents?: true
Size: 717 Bytes
Versions: 1
Compression:
Stored size: 717 Bytes
Contents
require_relative "../CSS/Style.rb" class ReglesUI def initialize() @builderRegles = Gtk::Builder.new @builderRegles.add_from_file("lib/Hashiparmentier/glade/regles.glade") @window = @builderRegles.get_object("REGLES1") @window.signal_connect('destroy') { |_widget| Gtk.main_quit } # @window.style_context.add_provider(@@CSS_Regles, Gtk::StyleProvider::PRIORITY_USER) @btnQuitter = @builderRegles.get_object("Terminer") @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/ReglesUI.rb |