[Gambas-user] How to nest a checkbox into a gridview's field

Stefano Palmeri rospolosco at ...152...
Thu Oct 16 09:38:59 CEST 2008


Il mercoledì 15 ottobre 2008 20:14:36 Joshua Higgins ha scritto:
> To Stefano: your example raises a signal 11 for me so I can't check whether
> it works (Gambas 2.5).
>

I'm using Gambas 2.8.2, under KDE (so it uses gb.qt, I suppose). Here it 
works. 

Bye,

Stefano



> On Wed, Oct 15, 2008 at 6:25 PM, M0E Lnx <m0e.lnx at ...626...> wrote:
> > Maybe another gb.gtk bug here, but the picture is not changing when I
> > click on your example project here.
> >
> > I guess what I really mean is I'd like to have the hability to use the
> > grid as a container for other objects such as checkboxes and
> > comboboxes.
> >
> >
> >
> >
> > On Wed, Oct 15, 2008 at 10:58 AM, Stefano Palmeri <rospolosco at ...152...>
> >
> > wrote:
> > > Il mercoledì 15 ottobre 2008 14:36:31 M0E Lnx ha scritto:
> > >> But can you put this in a gridview?
> > >
> > > Attached a little example.
> > >
> > >> On Tue, Oct 14, 2008 at 5:37 PM, Benoit Minisini
> > >>
> > >> <gambas at ...1...> wrote:
> > >> > On mardi 14 octobre 2008, M0E Lnx wrote:
> > >> >> Here is what I'd like to do... Not sure how to do it or if it is
> > >> >> possible at all
> > >> >>
> > >> >> I want to have an object like a gridview or tableview where I can
> >
> > have
> >
> > >> >> at least 3 columns
> > >> >>
> > >> >> Column1 will have a checkbox (boolean) value
> > >> >> Column2 will have a string value (could be a textlabel or just the
> > >> >> field's .text value)
> > >> >> Column3 will have an interger value (could also use string... not
> > >> >> necessarily interger)
> > >> >>
> > >> >> The idea is to create a list of items... say file names to copy to
> >
> > some
> >
> > >> >> location
> > >> >>
> > >> >> This window would copy all the files that have the checkbox set to
> > >> >> TRUE on column1
> > >> >>
> > >> >> I know the gridview and tableview are not container objects, so I
> > >> >> can't create a checkbox into either one of them
> > >> >>
> > >> >> Does anyone have any idea how this could be done?
> > >> >
> > >> > For checkboxes, I use two pictures and the mouse events.
> > >> >
> > >> > Regards,
> > >> >
> > >> > --
> > >> > Benoit Minisini
> >
> > -------------------------------------------------------------------------
> >
> > >> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > >> > challenge Build the coolest Linux based applications with Moblin SDK
> > >> > & win great prizes Grand prize is a trip for two to an Open Source
> > >> > event anywhere in the world
> > >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > >> > _______________________________________________
> > >> > Gambas-user mailing list
> > >> > Gambas-user at lists.sourceforge.net
> > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> > -------------------------------------------------------------------------
> >
> > >> This SF.Net email is sponsored by the Moblin Your Move Developer's
> > >> challenge Build the coolest Linux based applications with Moblin SDK &
> >
> > win
> >
> > >> great prizes Grand prize is a trip for two to an Open Source event
> >
> > anywhere
> >
> > >> in the world
> > >> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > >> _______________________________________________
> > >> Gambas-user mailing list
> > >> Gambas-user at lists.sourceforge.net
> > >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >
> > > -----------------------------------------------------------------------
> > >-- This SF.Net email is sponsored by the Moblin Your Move Developer's
> >
> > challenge
> >
> > > Build the coolest Linux based applications with Moblin SDK & win great
> >
> > prizes
> >
> > > Grand prize is a trip for two to an Open Source event anywhere in the
> >
> > world
> >
> > > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > > _______________________________________________
> > > Gambas-user mailing list
> > > Gambas-user at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> > world http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user






More information about the User mailing list