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" <egore...@gmail.com <mailto:egore...@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 <mailto: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

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

Reply via email to