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/VueError.rb

12 lines
319 B
Ruby

class VueError
def initialize(pMsgErr)
@d = Gtk::MessageDialog.new(Gtk::Window.new, Gtk::Dialog::DESTROY_WITH_PARENT,
Gtk::MessageDialog::ERROR,
Gtk::MessageDialog::BUTTONS_CLOSE,
"Erreur : #{pMsgErr}")
end
def getDialog
return @d
end
end