Quote:
Originally Posted by ericshliao
Another question:
I want to access some function, such as pango_matrix_rotate() ( http://library.gnome.org/devel/pango...h-Storage.html). I have tried several times with no success. How do I know if certain function can be access through lgob, and in what form?
Added:
It seems the correct form is pango.Matrix.rotate(). 
|
Same happens to me from time to time.
What I do is grep lgob sources for the function I need. Look at the .def, .ovr, and iface.c files.
Also, note that the translation from C to lua is almost always done in this way:
module_widget_method => module.Widget.method
so pango_matrix_rotate() => pango.Matrix.rotate()
Btw, instead of using GDK drawing primitives, maybe is a better option to use Cairo, it's much powerful, easier and looks it has better documentation as well.
You can find 3 or 4 examples in lgob sources too.
Regards,
Iņigo