Re: Question Re: WorkbookControlGUI object.




I think you'll get better answer from others, but I write mine from Japanese
standard time zone. :)

Workbook has GPtrArray* wb_views member, it's a WorkbookView array.
In session.c,  it gets pointer at index 0:
  wb_view = g_ptr_array_index (wb->wb_views, 0);
WorkbookView has GPtrArray* wb_controls member, it's a WorkBookControl array.
And you can cast WorkBookControl to WorkBookControlGUI.

That's what I know.

--
Nakai

On Mon, 06 Sep 2004 15:57:23 +1000
Donald Permezel <djper1 student monash edu> wrote:

G'day All,

I'm working with Dr. Twardy on a 'tool' for Gnumeric to implement the MML clustering algorthym Vanilla Snob.

In this tool, if inappropriate data is entered I wish to be able to pop up a message instructing the user 
what is wrong and why, though the use of the function - 'gnumeric_notice (wbcg, GTK_MESSAGE_INFO, msg)'


The problem I have is - while I have the current workbook object (thanks to help from  Andreas Guelzow), I 
dont have the 'WorkbookControlGUI' object for the current workbook which 'gnumeric_notice' requires.


Can anyone point me in the right direction as to how I get it?  Or am I coming at things from completly the 
wrong angle?


Many Thanks,
Don Permezel
djper1 student monash edu au



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



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