Re: [gnome-db] DBGrid
- From: Rodrigo Moya <rodrigo gnome-db org>
- To: Rodrigo Moya <rodrigo gnome-db org>
- Cc: Juan Andrés Bentancour <jabentancour uol com ar>, GnomeDB <gnome-db-list gnome org>
- Subject: Re: [gnome-db] DBGrid
- Date: 29 Nov 2001 14:46:39 +0100
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]