Hello,

I don't know about others, but in my own code, my_obj_set_property() does
nothing else just calls the setter functions (and the same for getters). It
makes much more sense, and I saw it in a lot of Gtk and Gnome code, too.

Best,
Gergely

On Wed, Jan 4, 2017, 19:27 Tobias Knopp <tob...@knoppweb.de> wrote:

> Hi,
>
> I am working on Gtk language bindings for the Julia programming language (
> https://github.com/JuliaGraphics/Gtk.jl <
> https://github.com/JuliaGraphics/Gtk.jl>) and have a question regarding
> the accessor methods (methods with „get“ and „set“ in them) and the
> property system.
>
> - Is any accessor backuped with a property and vice versa?
> - Which one is to prefer?
>
> I tried to find documentation on this but have not found anything.
>
> Thanks,
>
> Tobias
>
>
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to