[Gtk-sharp-list] glade autoconnect strangeness
Fri, 14 Jan 2005 14:47:01 -0800
Does Gtk# have a bug tracking system that I can file a change request
in? While using a private inner class is a pretty good solution (it
retains the encapsulation that I wanted), it would be nice if I could
avoid as much boilerplate code as possible. Creating a new class just to
hold a few values (one auto-wired method and one auto-wired widget)
doesn't seem desirable.
Thanks the quick reply,
On Fri, 2005-01-14 at 17:25 -0500, Peter Williams wrote:
> You could argue whether this is desirable behavior or not (it would be
> easy to not clear the field if it's already non-null). But it's not hard
> to work around. Usually people just have a one-to-one mapping between
> XML files and classes. It shouldn't be hard to define an inner class
> that takes care of your dialog box.