On 2018-10-23 at 11:32, Garreau, Alexandre wrote: > In the end I managed to open a windows this way: > > (GTK.GtkMessageDialog new: nil flags: 0 type: 3 buttons: 0 message: 'This is > a test.') run
(GTK.GtkMessageDialog new: nil flags: 0 type: (GTK.Gtk gtkMessageQuestion) buttons: (GTK.Gtk gtkButtonsYesNo) message: 'This is a test.') present. GTK.Gtk main.
Now it works by using “present” instead of “run” (I found it out by trying out all unary messages) and then doing “GTK.Gtk main”. Is that the supposed way to do? If so is there a way to run main parallely so I can keep creating and destroying windows interactively at the repl while seeing whatever I’m doing? or is there a better way to do so?
_______________________________________________ help-smalltalk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-smalltalk
