Created
October 6, 2010 19:47
-
-
Save chanmix51/613951 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use glade, gtk | |
import glade/XML | |
import gtk/Gtk | |
Calculette: class | |
{ | |
glade_ui : XML | |
init: func { | |
glade_ui = XML new("calculette.glade", "", "") .signalAutoConnect() | |
} | |
button_equal_clicked_cb: func | |
button_reset_clicked_cb: func | |
} | |
main: func { | |
calc: Calculette | |
calc = Calculette new .init() | |
Gtk.main() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment