[Gambas-devel] Inheritance broken in 1.9.42

Daniel Campos dcamposf at ...176...
Sat Sep 16 15:44:45 CEST 2006


Hi:

> It is a bug fix. 'Title' is not a property of the Control class. If you need
> dynamic symbol matching, you must use the Object class. Otherwise, symbol
> matching must be static, which was not always the case in previous versions.
> This was fixed in 1.9.34.
>

OK, I see, may be adding 'casting' would be useful... or may be it is
too much for BASIC, what do you think?


> If you want us to start to make gb.gtk and gb.qt behave the same, I suggest
> making a page on the wiki where I will put all implementation details of
> gb.qt controls and where we can freeze this implementation.
>
> Are you agree?
>

Sounds pretty good, the first thing I would like to finish is the Form
class and the basic controls: button, label + textlabel, combo and
listbox, and ensure that they work exactly the same than the qt ones.
I already modified the button layout and just now I'm rewritting the
"Picture" management for all controls that now share the pictures
instead of making copies. BTW I found a bu with both gb.qt and gb.gtk:
when using the QUIT method the program always finishes with a
segfault. And the IDE seems to not really recompile the projects If
they were made with a previous version, it just shows the message
"Version too old please recompile" but I had to delete the .gambas
folder by hand to refresh the project.

About the form class I think at this moment it just lacks two
properties, you know at this moment a form can be put as "always on
top", but I'd need two more properties:

-> "always on bottom"
-> "show in all desktops"

With those two properties I - and other people :-) - could write
"desklets" without the problems of the current Python gDesklets:
they're too heavy for little machines, they waste lots of memory. In
fact I did that with API calls in the past for gb.gtk:

http://danicafe.extreblog.com/200603263792_Tapitas-de-Gambas.html

But it is just a X-Window feature that could be shared in both
components or implemented with the GTK+ and QT features.

That's all at this moment :-)

Daniel




More information about the Devel mailing list