Open konkor opened 8 years ago
Hey konkor,
I am always open to add more examples. Our help-file contains a short description how to add new ones.
i found the glib-2.0/string.data property don't have examples but here is many examples to another objects which already using this string.data property. Example:
<example>
<title>Base64, encode</title>
<file>GLib.Base64.encode.vala</file>
<compile>valac --pkg glib-2.0 GLib.Base64.encode.vala</compile>
<node>GLib.Base64.encode</node>
<node>string.data</node>
</example>
Do i need to add
I found out to add property. After editing glib-2.0/glib-2.0.valadoc.examples i need delete valadoc-org/valadoc.org/glib-2.0 folder to recompile it. What do you think about this? It's not an academic example, but it's more than nothing and here is some usage example.
I would like to see more examples to object's properties at least to the base libraries like GLib, Gtk, Gdk... If it's possible i could try to help you. PS: There is very good examples to packages using many methods, properties and no references to used methods.