[Gambas-user] gb.gtk 050731

Daniel Campos danielcampos at ...282...
Tue Aug 2 23:56:49 CEST 2005


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..
>
>- 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...

Regards,

D. Campos



>
>  
>





More information about the User mailing list