[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: getting highlighted cell
- From: Jean Bréfort <jean brefort normalesup org>
- To: sylvain <bw_syl hotmail com>
- Cc: gnumeric-list gnome org
- Subject: Re: getting highlighted cell
- Date: Thu, 28 Dec 2006 16:46:35 +0100
Le jeudi 28 d�mbre 2006 �4:49 +0100, sylvain a �it :
> Hi!!
>
> I'm writing a plugin in python for gnumeric, and i'd like to know, how
> to know which is the current higlighted cell in a function called by a
> menu item.
You might have several selected cells at once. The following code gets
the first selected range for WorkbookView *wv (C code):
Sheet *sheet = wb_view_cur_sheet (wv);
SheetView *sv = sheet_get_view (sheet, wv);
GnmRange *range = selection_first_range (sv, NULL, NULL);
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]