pygobject / pgi-docgen

API Documentation Generator for PyGObject
https://lazka.github.io/pgi-docs/
GNU Lesser General Public License v2.1
129 stars 36 forks source link

Missing Gtk Child Properties documentation #73

Closed fossfreedom closed 10 years ago

fossfreedom commented 10 years ago

This one foxed me until I asked this on StackOverflow...

https://developer.gnome.org/gtk3/3.10/GtkStack.html

There is a Child Properties section on this C-documentation.

This is missing on the pygi equivalent

https://lazka.github.io/pgi-docs/#Gtk-3.0/classes/Stack.html

Apparently in python the syntax is stack.child_set_property(child, property_name, value)

Is this something you can tweak to add "child properties" to the python documentation set?

lazka commented 10 years ago

Good idea. Question is how do I get the information about child properties..?

lazka commented 10 years ago

I guess I can bind gtk_container_class_list_child_properties manually..

edit: https://bugzilla.gnome.org/show_bug.cgi?id=685218

lazka commented 10 years ago

Here you go: https://lazka.github.io/pgi-docs/#Gtk-3.0/classes/Stack.html#child-properties

default values are still missing

lazka commented 10 years ago

Fixed

fossfreedom commented 10 years ago

brilliant - many thanks again :+1: