Re: Gtk::Container::child_set_property()



Hi Juan and Kjell,

thank you both a lot for the valuable information. Of course I know that gtkmm is a project that relies on volunteers and free time. I'm really glad it exists as it allows me to use GTK+ without dealing with the boilerplate code plain C requires.

I'll try to take a look into the current git and see if the latest changes help in my case.

Next to that: Is there a way to "calculate" the completeness of gtkmm/glibmm (i.e. API coverage of GTK+/glib)?

Best wishes,
 Christoph


2014-07-22 19:10 GMT+02:00 Kjell Ahlstedt <kjell ahlstedt bredband net>:
gtk_methods.defs is generated from gtk+'s source code. A function can be described in gtk_methods.defs, and still not implemented in gtkmm. The step from gtk_methods.defs to a function in gtkmm is not fully automatic. Someone must write some code, for simple cases just a line in an .hg file. The reason for not implementing a gtk+ function in gtkmm differs. In most cases it's because no one has taken the time to do so. (Remember that most of the job here is done by volunteers, who pick tasks they find interesting.)

As Juan just told you, he has very recently implemented child properties in gtkmm, but not by directly wrapping gtk_container_child_set/get_property() to Gtk::Container::child_set/get_property(). Child properties are so new in gtkmm that they have not yet made it into a released version. If you're interested, see some of the latest commits in the git repository.

Kjell

2014-07-22 09:14, Juan Rafael García Blanco skrev:

Hi,

I guess child_set_property is missing because it was not supposed to be used by applications.

If you just want to set/get child properties you should take a look at the new child_property_* wrappers introduced recently; although not all Container subclasses have been updated.

Regards,
Juan.

On Jul 22, 2014 8:32 AM, "Christoph Brill" <egore911 gmail com> wrote:
Hi list,

I'm trying to find gtk_container_child_set_property in gtkmm. From what I could find in gtk_methods.defs it should be Gtk::Container::child_set_property(), but that method simply does not exist in container.h.

Anyone got an idea on why it is missing and where I could find it?

Best wishes,
 Christoph


_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list



_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list




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