Re: [gnome-db] DBGrid



On Thu, 2001-11-29 at 14:37, Rodrigo Moya wrote:
> On Thu, 2001-11-29 at 00:00, Juan Andrés Bentancour wrote:
> > Hello !
> > 
> > How can I set a DbGrid widget to only let single row's selection ??
> > I tried with:
> >   gtk_clist_set_selection_mode ( GTK_CLIST(GNOME_DB_GRID
> > (dbgrid1)->grid),
> >                                   GTK_SELECTION_SINGLE );
> > 
> this won't work, since GnomeDbGrid is not a GtkCList. It does contain
> one, but it's not a CList.
> 
oops, I just saw that you're using (dbgrid1)->grid. This should work...

cheers
-- 
Rodrigo Moya <rodrigo gnome-db org> - <rodrigo ximian com>
http://www.gnome-db.org/ - http://www.ximian.com/



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