On 2/1/07, Lars Clausen <[EMAIL PROTECTED]> wrote: > > http://bugzilla.gnome.org/show_bug.cgi?id=60331 > > > > ... the basic idea is to make the properties dialog keep track of > > which properties have been changed by the user. In order for this to > > work, every widget in the dialog needs to register the default > > signal_handler for suitable signals. > > Yay! I'm happy to hear this.
Cool! Please do take a look at the patch I have posted on the bug report ... would welcome comments about the changes I have proposed for the function "property_signal_handler()" ... > The standard appears to be that the _new() functions return a GtkWidget > that you then cast back, see http://gtk.org/tutorial/x2202.html -- > though not all standard Gtk widgets follow this, though there may be a > reason behind that. This seems to be exactly what I was looking for. Will get into the details over the weekend. But I also had another thought --- is it worth creating a "correct" custom gtk widget? We could instead just allow the custom widget constructors to directly connect relevant signals! Sameer. -- Research Scholar, KReSIT, IIT Bombay http://www.it.iitb.ac.in/~sameerds/ _______________________________________________ Dia-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://www.gnome.org/projects/dia/faq.html Main page at http://www.gnome.org/projects/dia
