> Date: Sun, 12 Jul 2009 13:25:48 +0200 (CEST) > From: pwie...@trychlos.org > Subject: GtkAssistant flow question > To: gtk-app-devel-list@gnome.org > > Hi, > > I have a simple GtkAssistant with : > - one intro page > - two content pages > - one confirm page > - one summary page. > > All works fine : the confirm page has 'Cancel' and 'Apply' buttons, > and the summary page has only a 'Close' button. > > Of course (or is it only obvious for me ?), I'd wish display on the > summary page the result of the work done when the user has clicked on > the Apply button. > > But it appears that the next page is computed, and so the 'prepare' > message is sent, _before_ the 'apply' message is itself emitted. > > So, when I handle the prepare message for the summary page, I don't > know what is the result of the operations, as they have not be done > yet. > > As a work-around, I have to do the work at the very beginning of the > prepare handler. > > And so handling the apply message becomes useless. > > IMHO, the usual programmer does want 'apply' its operations before > 'preparing' the display of the summary page. > > As the GtkAssistant cannot be considered as new (appeared in 2.9 or > so), > it is surely not a bug. But I don't understand the rationale behind > this. > Could someone explain it to me ? Why this order has it be choosen ? > And how do we should handle the apply message ? > > Thanks in advance. > Regards > Pierre
I have just filled up a report in bugzilla, and joined a patch. See http://bugzilla.gnome.org/show_bug.cgi?id=589745 Regards Pierre _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list