Re: Your opinion about how to get data from dialog box

2003-11-15 Thread Roger Leigh
Harobed [EMAIL PROTECTED] writes: Hello, I would like know your opinion about one choice whose for me is without response. For you, what is the best code design to use when you make a dialog box. More specify about how get the data ? This might be OT, but I would inherit from Gtk::Dialog,

Re: Your opinion about how to get data from dialog box

2003-11-15 Thread Sven Neumann
Hi, Roger Leigh [EMAIL PROTECTED] writes: This might be OT, but I would inherit from Gtk::Dialog, and provide get_foo() methods to get at my data. Mixing the user interface with the actual code seems to be a bad design choice. The dialog should be a view on the data not providing the data. So

Re: Your opinion about how to get data from dialog box

2003-11-14 Thread Olexiy Avramchenko
Harobed wrote: Hello, I would like know your opinion about one choice whose for me is without response. For you, what is the best code design to use when you make a dialog box. More specify about how get the data ? For me, I see 3 solutions : 1 - The dialog box handle directly the data when the