Hi Jean Thanks for explanation.I agree that a clean way is to tell introspection what types each GPtrArray stores, but I do not know how to do it. So I wrote two access functions that return explicit type - and it worked!
In python console, you can do smth like this from gi.repository import Gnm wb=Gnm.App.workbook_get_by_index(0) v=wb.get_view(0) wbcg=Gnm.wb_view_get_control(v,0) sheet=Gnm.wb_control_cur_sheet(wbcg) sheet_view=Gnm.wb_control_cur_sheet_view(wbcg) The patch is here http://sourceforge.net/p/fborg/code/HEAD/tree/gnumeric/gir-exports-1.patch -- Regards, Anatoly
_______________________________________________ gnumeric-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gnumeric-list
