Doing the signal handling connect inside the callback function was a bad idea. Instead do it in the makeGUI function and just call onClickedDrawButton for every expose event. |
||
|---|---|---|
| .. | ||
| gtk2.glade | ||
| Gtk.hs | ||
Doing the signal handling connect inside the callback function was a bad idea. Instead do it in the makeGUI function and just call onClickedDrawButton for every expose event. |
||
|---|---|---|
| .. | ||
| gtk2.glade | ||
| Gtk.hs | ||