Does anyone know of a roller-like widget for wxWindows/wxPython? I'm
looking for something like the Fl_Roller in FLTK, see the bottom right
of the screenshot on http://www.fltk.org/doc-2.0/Fl_Valuator
Hi Charl,
Looking at that screen shot - the "dial" would also be kind of nice to
have...
But I think that might be against the philosophy of wx - which is to make
all control look "native" to the respective platform - and so - if e.g.
Windows doesn't have a control like that - what should it look like ?? ..
Thoughts ?
Cheers,
Sebastian Haase
···
----- Original Message -----
From: "Charl P. Botha" <c.p.botha@its.tudelft.nl>
To: <wxPython-users@lists.wxwindows.org>
Sent: Monday, June 02, 2003 2:50 AM
Subject: [wxPython-users] roller-like widget
Does anyone know of a roller-like widget for wxWindows/wxPython? I'm
looking for something like the Fl_Roller in FLTK, see the bottom right
of the screenshot on http://www.fltk.org/doc-2.0/Fl_Valuator
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
Ok, but if no platform has that widget natively (and I don't think any do), I think it's perfectly fine to add it to wx. You can add it in some native-looking way on each platform, but you're going to have to render it on all platforms.
That being said, clearly this is a pretty specialized control (think of trying to reinvent Reason in wx, and you'll find some more like it), and maybe there should be a second wx library that contains all custom controls?
···
On Monday, June 2, 2003, at 01:21 PM, Sebastian Haase wrote:
Hi Charl,
Looking at that screen shot - the "dial" would also be kind of nice to
have...
But I think that might be against the philosophy of wx - which is to make
all control look "native" to the respective platform - and so - if e.g.
Windows doesn't have a control like that - what should it look like ?? ..
It is a specialised control, but seems to fill a certain gap in the rich
wxWindows widget collection, namely a widget that potentially has no maximum
or minimum with which the user can indicate "more of this" or "less of
that". Think of rotation of a 3D object around an axis: this has no maximum
or minimum.
There are already custom controls in wxPython.lib, e.g.
Michael Gilfix's colourchooser.wxPyColourChooser.
···
On Mon, Jun 02, 2003 at 01:27:33PM -0400, Nicholas Bastin wrote:
That being said, clearly this is a pretty specialized control (think of
trying to reinvent Reason in wx, and you'll find some more like it),
and maybe there should be a second wx library that contains all custom
controls?
It is a specialised control, but seems to fill a certain gap in the rich
wxWindows widget collection, namely a widget that potentially has no maximum
or minimum with which the user can indicate "more of this" or "less of
that". Think of rotation of a 3D object around an axis: this has no maximum
or minimum.
I agree that it fills a gap, I'm just suggesting that maybe we break up the control sets into two libraries, one consisting only of controls not found natively on any OS.
There are already custom controls in wxPython.lib, e.g.
Michael Gilfix's colourchooser.wxPyColourChooser.
I haven't seen this control, but both windows and MacOS X (at least) have native color choosers. This control doesn't use them?
···
On Monday, June 2, 2003, at 01:48 PM, Charl P. Botha wrote:
No. Michael more-or-less recreated the functionality of the Windows colour
choosers for platforms on which the native colour chooser sucks, like
wxGTK.
In anycase, I think it's too early to discuss how this should go. Robin
seems to have it all under control and there's no roller widget to include
yet.
···
On Mon, Jun 02, 2003 at 02:37:39PM -0400, Nicholas Bastin wrote:
>There are already custom controls in wxPython.lib, e.g.
>Michael Gilfix's colourchooser.wxPyColourChooser.
I haven't seen this control, but both windows and MacOS X (at least)
have native color choosers. This control doesn't use them?
In anycase, I think it's too early to discuss how this should go. Robin
seems to have it all under control and there's no roller widget to include
yet.
But I think it would be nice to have in the library if somebody wants to write it, the Dial would be nice too.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!