I suppose it should work the same way, but I'm not an expert. Note that
the introspection mechanism works from outside gnumeric as well.

Jean

Le mardi 05 novembre 2013 à 11:33 +0200, Anatoly Asviyan a écrit :
> 
> 
> 
> 2013/11/1 Jean Brefort <jean.bref...@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


_______________________________________________
gnumeric-list mailing list
gnumeric-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gnumeric-list

Reply via email to