Re: GtkAboutDialog properties



Roger Leigh wrote:
[...]
Then the properties are *not* set!  The same applies if I do this in
the object initializer.

Should this work?  gtkaboutdialog.c seems to suggest that it should.
Am I setting the properties at the wrong time?  i.e. must the object
be completely constructed before I can set properties?  I tried the
realize vfunc in case this was true, but it made no difference.

Have you tried from the constructor ?

gtk_show_about_dialog () indicates that the properties are set before the widget
is realized and after construction.

I doubt its safe to call g_object_set from an instance initializer
(maybe you can get away with not calling g_object_set and just setting
the values on your instance accordingly, since they belong to you anyway).

Cheers,
                              -Tristan



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