Re: Pulling my hair out:-)



> 
> > I've read the source, I've read the GTK tutorial but I'm afraid my 
> > C skills just aren't up to that level.  All I want is a way to 
> > retrieve the row and column data in the method "select_row".
> 
> Simple.  Your "select_row" callback routine is wrong.  The signature
> for select_row signal is:
> 
> void select_row (GtkCList *clist, gint row, gint column, GdkEvent *event, void *data)
> 
> This is for C, dunno the details fro Obj-C though.
>

Well after careful reading and doing what I thought I'd done 
already I got this thing to work.  Turns out I had the wrong signal 
connect routine.  I was connecting the signal like so:

[itemList connectObjMethod:"select_row" :self :@selector(select_row:)];

When in actual fact it should have been:

[itemList connectObj:"select_row" :self];

Just in case anyone is interested:-)  Onward and upward!!

 
-- 
George Farris - VE7FRG
George@gmsys.com




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