Re: Patch: export more methods to python






2013/11/1 Jean Brefort <jean brefort normalesup org>
Hi Anatoly,

If you are using 1.12.x, you might also imprt the Gnm module from the
gogject intreospection repository. That would give you access to many
more functionalities (though the naming conventions in Gnumeric are not
always optimal and make introspection do stupid things).

from gi.repositiory import Gnm
Thanks
Can you explain, please, how to access current sheet view with introspection?

In a old python API,  menu actions were passed WBCGtk as parameter and relevant code was
    sv = wb_control_cur_sheet_view (WORKBOOK_CONTROL (self->wbcg));
    pos = sv->edit_pos;




--
Regards, Anatoly


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]