This repository has been archived on 2021-09-15. You can view files and clone it, but cannot push or open issues or pull requests.
DUT2Curling/v/VueResult.rb
Quentin 6672112230 new file: "doc/Sprint2/Capture d'\303\251cran de 2014-01-10 12:04:57.png"
new file:   "doc/Sprint2/Capture d'\303\251cran de 2014-01-10 12:05:16.png"
	new file:   "doc/Sprint2/Capture d'\303\251cran de 2014-01-10 12:06:15.png"
	new file:   "doc/Sprint2/Capture d'\303\251cran de 2014-01-10 12:06:21.png"
	new file:   "doc/Sprint2/Capture d'\303\251cran de 2014-01-10 12:06:23.png"
	new file:   "doc/Sprint2/Capture d'\303\251cran de 2014-01-10 12:11:29.png"
	renamed:    fichier/dir/d/zz -> fichier/dir/zz
2014-01-10 12:14:04 +01:00

32 lines
600 B
Ruby

class VueResult
def initialize(liste_result, nom)
@window = Gtk::Window.new
@window.set_title(nom)
vb = Gtk::VBox.new(true, 6)
vh = Gtk::HBox.new(false, 6)
if(liste_result != "")
res = Gtk::Label.new(liste_result)
else
res = Gtk::Label.new("Pas de liens trouves")
end
vh.pack_start(res, false, true, 6)
vb.pack_start(vh)
@window.add(vb)
self.listenerDestroy
end
def getWindow
return @window
end
def listenerDestroy
@window.signal_connect('destroy') {
@window.destroy
Gtk.main_quit
}
end
end