Re: gnome guru




On Tue, 10 Nov 1998, Jeff Garzik wrote:
> Thinking about Gnome Guru, there is going to be a need for more dynamic
> control over the concept of "next page" and "previous page".  The
> sequence of questions in a wizard is often determined by user input on
> an earlier page, and adding a pre-determined set of pages may not always
> fit the bill.
> 
> Can I perhaps connect to the clicked event of next and previous buttons, and
> build my own dialog pages on the fly?
> 

Feel free to fix up Gnome Guru, I was hoping someone would enhance it a
bit.

I guess a nice way to do pages would be:

GtkWidget* (*GnomeGuruNextPageFunc) (gpointer data);

gnome_guru_set_next_page_func(GnomeGuru*, GnomeGuruNextPageFunc);

or something like that, the user function would return the proper page
when called. I'd like to have this in addition to the current simple API. 
(if the NextPageFunc is NULL, it just traverses the list of pages
instead.)  Then you can keep it simple if all you want is a series of
steps, but you can also get more complicated. 

Other ideas for how to implement this? 

Havoc








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]