[Gambas-user] gb.gtk 050731

Fabien Bodard gambasfr at ...11...
Wed Aug 3 12:59:47 CEST 2005


Le Mardi 02 Août 2005 23:56, Daniel Campos a écrit :
> Hi:
> >Of course not, we must choose the same values for everything. Think that
> > the gb.qt and gb.gtk components must be swapped as much as possible.
>
> Of course? Well, this a GTK+ component... So it should follow the GTK+
> standards...
> I don't think is a good idea to have a GTK+ component fully based on QT
> (constants,
> names, interfaces for classes) ... But you're the boss. :-)
>
> >In a few words, gb.qt and gb.gtk must have the same methods & properties
> >behaviour. But the dialogs can be different: this is not a problem.
>
> This is a problem: the GTK+ color dialog shows values from 0-360 (Hue)
> and 0-100
> (Saturation and Value)...
>
> >As for the color (and other) dialog I made in Gambas, they will be the
> > same between QT, GTK+. This is the goal :-)
>
> So do we will have a native dialog with values different from the ones
> made with Gambas?
>
> >There is another problem with the stock icons you added in gb.gtk. They
> > are too much GTK+ specific. So here is what I propose to you :-)
> >
> >- I will copy in the gambas part of the gb.qt component all equivalent KDE
> >icons, and I think the Picture class will be able to get them
> > automatically. I hope it works..

There is mabe a way to know the kde icon path ?
and then make some alias... to them.

> >- We should find an organization and a naming convention for stock icons
> > that is not too much GTK+ specific. The names must be the same between
> > gb.qt and gb.gtk - This way the IDE will able to present them to the
> > user.
>
> OK
>
> >I know that in some cases this leads to problems in QT. This needs a lot
> > of tests, but I will add it to try.
>
> Fabien has already found an utility for that feature: dialogs that can
> be added
> or removed from panels, something like the Gimp. It would be nice to have
> that feature in both components...

i think i can implement that as a gambas writed component.

Regards,
Fabien Bodard
> Regards,
>
> D. Campos
>
>
>
>
>
>
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> 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