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 you should connect to the signals that indicate that the
user changed data in the view and update your model accordingly. The
rest of the application doesn't need to deal with the dialog or any
other portions of the user interface then.


Sven
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to