[Gambas-devel] gtk -> 050105

Benoit Minisini gambas at ...1...
Thu Jan 6 14:54:13 CET 2005


On Wednesday 05 January 2005 14:30, Daniel Campos wrote:
> New version of GTK+ component.
>
> -> Fixed some problems in Pictures and Images
> -> Class "Key" implemented, Key_Press event is cancellable now
>
> Now the "Blights" and "Timer" examples from Gambas works OK with GTK+!
>
> Regards,
>
> D. Campos
>
> Benoît: What should I fix in my Makefile.am? I do not understand...

I modified widgets.h and main.c so that the component compiles with gtk+ 2.4. 
I just implemented the missing functions with void functions.

Your TestGtk works, but segfaults at exit. Maybe because of the previous 
hack ?

In your TestGtk example, when stretch is true, then changing the alignment 
have a visual effect. This should change nothing...

Can you merge my widgets.h and main.c, by replacing "#ifndef GTK_2_6" by the 
correct gtk version test ?

Thanks in advance,

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++src
Size: 4128 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20050106/fb2a364c/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: widgets.h
Type: text/x-chdr
Size: 11164 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20050106/fb2a364c/attachment.h>


More information about the Devel mailing list