Re: demo assistant



On 2010-04-30 09:52, Murray Cumming <murrayc murrayc com> wrote:
On Fri, 2010-04-30 at 09:35 +0200, deloptes wrote:
Unfortunately I have stumbled on one problem I can not solve. I have to
exchange data between the assistant and the main window. How would someone
do it? Can you give me another hint?
I need basically to get the data from the assistant in the main window after
apply() is called in the assistant. What would one experienced programmer
do (I'm not that advanced)?
We have many examples on how to deal with dialogues from within another
window, but there is no example on how to get a return value from
Assistant.

I think it's just a matter of accessing the child widgets. I would make
the widgets (or pointers to them) member variables of a derived Window
or Assistant.

This is obviously something we should show in the assistant example, in
ExampleWindow::on_assistant_apply(). CCing David King so he can add it
to his to do list, please.

This is now done, and will appear on library.gnome.org when there is a new tarball release of gtkmm-documentation.

See the commit for more information:

http://git.gnome.org/browse/gtkmm-documentation/commit/?id=58a40bf203a1d745f094535a57d3a7415b3873c3

--
David King | http://amigadave.com/


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