[Gambas-user] gambas-devel at lists.sourceforge.net

Daniel Campos danielcampos at ...282...
Thu Sep 22 14:18:45 CEST 2005


Hi:

It took a time, but here's a new update of the gb.gtk component, still
alpha and weak but useable :-)

http://gambas.gnulinex.org/gtk/

Main Changes (Benoit, take a look, please):


* NEW:   "Separator" widget added. A simple widget which shows an
horizontal or vertical separator line (it depends on the Width and
Height of the control). this is very useful, to separate buttons in a
toolbar, for example. It shows the line according with the use theme.
Note that this implementation can do no more: no way to change border
style, and things like this.

* NEW:   "Label" and "TextLabel" controls have a "Transparent" property
now. it is very useful for interfaces using windows with a mask. to
implement it, I just draw the text twice: the first one in the control
and the second one in a mask, that I combine with the widget. I suppose
QT can do the same...

* NEW:   "Button" and "ToggleButton" have a new boolean property
"Vertical". If set, the picture is shown in the Top side instead of the
Left side of the button. I'm not sure about the name of that property,
however using "Arrangement" with two constants: LeftRigth and TopLeft
for that seems to be more complicated... What does Benoit think about
that? :-) 

* NEW:   "TextLabel" and "Message" are able handle some HTML tags:
<i>,<b>,<u>,<s>,<tt>,<sup>,<sub>,<small>,<big>,<h1>...<h6>,<p>,<br>, and
are able to ignore unrecognized tags and to parse not XML formatted
strings.

* NEW:   "Lang","Timer", and "Error" hooks implemented.

* NEW:   "Label.Autoresize" property implemented.

* FIXED: "ScrollBar" is aligned at top or left of the control when
there's extra space, as gb.qt does.

* FIXED: Some "Container" arrangement problems.

* FIXED: "HSplit" and "VSplit" arrangement fixed.

* FIXED: "TextLabel" horizontal alignment was wrong.

* FIXED: "Stock" icons take the current theme in account.

* FIXED: "ToolButton" click event is working now.

* FIXED: "Label" and "TextLabel" controls redesigned.

* FIXED: Segmentation fault in the "Stock" class.

* FIXED: "Window" size is working in transitions from border resizable
to fixed.

* FIXED: "Picture" cache redesigned.

* FIXED: "ComboBox" background and foreground colors fixed.


Regards,

D. Campos
 





More information about the User mailing list