[Gambas-user] Normal behaviour for GTK+?

Ricardo Díaz Martín oceanosoftlapalma at ...626...
Wed Oct 14 16:04:20 CEST 2009


Dimitris,

I understand you said and think the same, but if you're programming software
for a customer you only want it run and I think qt components in gambas got
less bugs than gtk+. Benoit said is more difficult for him to program in
gtk+ than QT althoug he also said he's thinking to continue gtk+ componets.

I remember some months ago I found a bug in gtk+ component (Option box was
no able to change to 3rd state), I said to Benoit and in less than a day was
fixed. It was amazing fast, but at this point I preferred to change to qt
componets (in qr works fine at the first). Now I'm deploying my fiveth
gambas application in a customer server (on before I used to deploy my VB
apps in Citrix enviroments but now I use gambas + FreeNX) and I havent any
problems with my apps with qt components.

Please note it's only my opinion.

Regards,
Ricardo

2009/10/13 Dimitris Anogiatis <dosida at ...626...>

> Ricardo,
>
> If I may express my opinion I think it was a very wise choice on Benoit's
> side to support both GTK+ and QT
> (even though it seems like it's a rat race trying to debug both components
> every time qt works gtk doesn't
> and vice versa or both don't work at the same time)
>
> I believe that both technologies have their merits and their uses, and
> using
> either or is more of a a design choice
> of the programmer to go with either or and I think that deprecating gb.gtk
> would be a pretty big strategy mistake.
>
> It's one of the things that I like about Gambas, that it makes my
> application work in both of them.
>
> Regards,
> Dimitris
>
>
> 2009/10/13 Ricardo Díaz Martín <oceanosoftlapalma at ...626...>
>
> > When I started programing gambas I used gtk+ components because I'm gnome
> > users. I like to try my apps in kde and gnome and it's a fact at the
> > moment,
> > the same code works different in both (and sometimes doen't work in
> gtk+).
> >
> > For this reason, and because I know Benoit use KDE I allways use qt
> > components in my apps. Maybe it's possible gtk+ component will be
> > deprecated.
> >
> > Regards,
> > Ricardo
> >
> > 2009/10/13 nospam.nospam.nospam at ...626... <
> nospam.nospam.nospam at ...626...>
> >
> > > This has me pulling my hair out. I think I have narrowed the problem
> > > down to the GTK+ toolkit for Gambas.
> > >
> > > If I create a GTK+ project and put a TextBox and a ValueBox on a form
> > > and set their default values, when I tab to the TextBox I can over-type
> > > the text, but when I tab to the ValueBox, the number I type is
> appended:
> > >
> > > For example, if the ValueBox contains 5000 and I type 7, the value
> > > becomes 50007.
> > >
> > > However if I change the project to use a Qt GUI, it works as I expect,
> > > i.e. if the ValueBox contains 5000 and I type 7, the value becomes 7. I
> > > have been able to reproduce this behaviour.
> > >
> > > Is that normal for GTK+? Is there anything I can do short of using Qt?
> > > Am I doing something wrong?
> > >
> > > Also, I can't find any documentation why I might use Qt in Gambas as
> > > opposed to GTK+ in Gambas. Opinions on what is best and why will be
> > > appreciated.
> > >
> > >
> > >
> > >
> >
> ------------------------------------------------------------------------------
> > > Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> > > is the only developer event you need to attend this year. Jumpstart
> your
> > > developing skills, take BlackBerry mobile applications to market and
> stay
> > > ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> > > http://p.sf.net/sfu/devconference
> > > _______________________________________________
> > > Gambas-user mailing list
> > > Gambas-user at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >
> >
> >
> ------------------------------------------------------------------------------
> > Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> > is the only developer event you need to attend this year. Jumpstart your
> > developing skills, take BlackBerry mobile applications to market and stay
> > ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> > http://p.sf.net/sfu/devconference
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> 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