Widgets Updates :-D

Hi All,

    just an update for the wxPython programmers using some of the
widgets I wrote.

1) There is now a new widget, called WidgetStack, available on my webpage:

http://xoomer.alice.it/infinity77/eng/freeware.html#widgetstack

WidgetStack provides a stack of widgets of which only the top widget
is user-visible.
The application programmer can move any widget to the top of the stack
at any time using RaiseWidget(), and add or remove widgets using
AddWidget() and RemoveWidget(). It is not sufficient to pass the
widget stack as parent to a widget which should be inserted into the
widgetstack.

WidgetStack is another kind of "book" control. Yes, I know, wxPython
already has too many of them :smiley:

2) GUI2Exe

There are now a couple of screenshots of GUI2Exe running on Mac,
kindly provided by John Jackson and Paulo Nuin. Thank you guys. I am
still missing screenshots on GTK :frowning:

I fixed the problems reported by Roee about the encoding of the database name.

@Robin and all wxPython gurus:

a) I have removed almost all the event.Skip() at the end of the menu
handlers. Mac users reported that calling event.Skip() for a menu
handler caused wxPython to enter in an infinite loop. This doesn't
make any sense to me, as the event handler has finished its job and
there is no other handler listening for the menu event. This behavior
is clearly conflicting with the Windows one.

b) The screenshots on Mac show that the ScrolledPanel in the middle
doesn't react very well in GUI2Exe (i.e., no scrollbars appears). I
don't know how to fix it as on Windows it works perfectly :frowning:

c) It looks like that ListCtrlAutoWidthMixin sometimes lets the
horizontal scrollbar appear on Mac.

There is now a new version of GUI2Exe on my website:

http://xoomer.alice.it/infinity77/eng/freeware.html#gui2exe

Please report any bug or any stupid mistake I may have made in
modifying the code in the meanwhile.

3) FlatMenu

I fixed the problem reported by Frank Niessink. Thank you frank for
the patch you provided. The new version is available here:

http://xoomer.alice.it/infinity77/eng/freeware.html#flatmenu

4) FloatSpin

Thanks to James Bigler that patched FloatSpin by allowing the control
to have min_val or max_val equal to None (no min value or max value).
The updated version is available here:

http://xoomer.alice.it/infinity77/eng/freeware.html#floatspin

As usual, every comment, suggestion, criticism, screenshot :smiley: or
ideas are extremely welcome.
I apologize for the long post.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77/

Hi Andrea,

Hi All,

   just an update for the wxPython programmers using some of the
widgets I wrote.

1) There is now a new widget, called WidgetStack, available on my webpage:

http://xoomer.alice.it/infinity77/eng/freeware.html#widgetstack

WidgetStack provides a stack of widgets of which only the top widget
is user-visible.
The application programmer can move any widget to the top of the stack
at any time using RaiseWidget(), and add or remove widgets using
AddWidget() and RemoveWidget(). It is not sufficient to pass the
widget stack as parent to a widget which should be inserted into the
widgetstack.

WidgetStack is another kind of "book" control. Yes, I know, wxPython
already has too many of them :smiley:

2) GUI2Exe

There are now a couple of screenshots of GUI2Exe running on Mac,
kindly provided by John Jackson and Paulo Nuin. Thank you guys. I am
still missing screenshots on GTK :frowning:

I fixed the problems reported by Roee about the encoding of the database name.

@Robin and all wxPython gurus:

a) I have removed almost all the event.Skip() at the end of the menu
handlers. Mac users reported that calling event.Skip() for a menu
handler caused wxPython to enter in an infinite loop. This doesn't
make any sense to me, as the event handler has finished its job and
there is no other handler listening for the menu event. This behavior
is clearly conflicting with the Windows one.

There may be no event handler listening at the wxPython level, but there might be default handlers installed by wxMac. What are you trying to achieve by calling event.Skip()? It sounds like you don't want wx to keep trying to handle the event, but that's what you're telling it to do by calling event.Skip()...

b) The screenshots on Mac show that the ScrolledPanel in the middle
doesn't react very well in GUI2Exe (i.e., no scrollbars appears). I
don't know how to fix it as on Windows it works perfectly :frowning:

I'm stuck on this one too. ;-/ My only guess is that the sizer size and the panel size are somehow not in sync. Maybe it's using some sort of best/min size to determine need for scrollbars?

c) It looks like that ListCtrlAutoWidthMixin sometimes lets the
horizontal scrollbar appear on Mac.

Yes, I've seen this too. What I suspect is happening is that the AutoWidthMixin is deciding on a total size that is 1 or 2 pixels past the max "no horizontal scrollbar" size. I haven't found a way to fix this yet, outside of using the native ListCtrl. :wink:

Regards,

Kevin

···

On Apr 8, 2007, at 12:34 PM, Andrea Gavana wrote:

There is now a new version of GUI2Exe on my website:

http://xoomer.alice.it/infinity77/eng/freeware.html#gui2exe

Please report any bug or any stupid mistake I may have made in
modifying the code in the meanwhile.

3) FlatMenu

I fixed the problem reported by Frank Niessink. Thank you frank for
the patch you provided. The new version is available here:

http://xoomer.alice.it/infinity77/eng/freeware.html#flatmenu

4) FloatSpin

Thanks to James Bigler that patched FloatSpin by allowing the control
to have min_val or max_val equal to None (no min value or max value).
The updated version is available here:

http://xoomer.alice.it/infinity77/eng/freeware.html#floatspin

As usual, every comment, suggestion, criticism, screenshot :smiley: or
ideas are extremely welcome.
I apologize for the long post.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77/

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org