Nico a écrit :
> Hi,
> I' m facing some troubles in usage of gtk.assistant with pygtk.
>
> In some cases , when user enter invalid data for example, I want to stay
> in the same page.
>
> So in that case on the 'page_func' callback I return the same page
> number as the input ( i.e Im' in page 1, data on page 1 is invalid, so I
> return 1)
>  
> But when I click on next button the displayed page is blank, and if I
> reclick next I go to to thesame page . ( i.e. Page 1 is displayed
> correctly Then I click next ,  The page display is blank, Page Id
> remains 1, If I click next again, the content of page 1 is displayed again )
>
> Does somebody have an idea what kind of problem is ?
> Or in gtk.assitant philosophy there is no way to stay in the same page ?
> So I need to do all the user data verification before user click on next
> button ?
>
> Thanks for the help
> Nico
> _______________________________________________
> pygtk mailing list   pygtk@daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
>
>
>   
A code example is available here : http://pastebin.com/m19964865

The example waits to enter 'next' on the first page to continue

_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to