[Gambas-devel] GTK 050214A

Daniel Campos daniel.campos at ...103...
Mon Feb 14 20:53:30 CET 2005


Hi:

Here's gb.gtk 050214. This version includes the Slider and ScrollBar 
controls
that will be moved also from gb.qt.ext to gb.qt in the next developement 
version.

This version also includes the first GTK+ extension: gb.gtk.stock, that 
provides access
to the Stock (Predefined) and System icons when using GTK+. It would be 
nice if some similar class
could be added to gb.qt or gb.qt.kde, as it allows to make the 
application look like a native
GTK+ or KDE application

GNOME just uses the Stock items from GTK+, but a pure GTK+(non GNOME 
related) application
written in C, can also use these Stock items, so it is not 
gb.gtk.gnome.stock but gb.gtk.stock .

These icons change when the user changes the theme, so, in a GNOME 
environment the Gambas
application looks coherent with the rest of applications. (see attached 
screenshot)

If you want to compile that new component, you need to modify at least 
configure.in at gambas sources
folder,prior to "reconf" and "configure":

....
src/lib/qt/kde/Makefile \
src/lib/qt/kde/html/Makefile \
src/lib/gtk/Makefile \
src/lib/gtk/stock/Makefile \     <--- Add this line
src/lib/db/Makefile \
src/lib/db/mysql/Makefile \
...


Regards,

D. Campos


-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtk-050214A-gb1.9.tar.bz2
Type: application/x-bzip
Size: 55896 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20050214/3351aa48/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stock.png
Type: image/png
Size: 18302 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20050214/3351aa48/attachment.png>


More information about the Devel mailing list