|
From: Patrick E. <pa...@pa...> - 2004-03-26 15:58:35
|
On Friday 26 March 2004 02:56, Joakim Verona wrote:
> Well, there are a couple of "double" capable controls in the jazz
> gui, so we should figure out something to use at all such places.
>
> What would be useful is a combination of string entry box and
> a slider(or knob).
>
> Is it difficult to create your own widget in wxwidgets?
>
> or do I just subclass and instantiate 2 components within + glue
> logic, and voila new component like in "Swing"(or whatever modern
> toolkit)?
>
> How would the new component interface with wxwidgets gui builders
> like xrced or wxDesigner?
It looks like you just somehow subclass wxWindow and go from there,
but I haven't tried it. That ASlider looks like a decent example.
There's a way to add "unknown" widgets in wxglade and xrced. wxglade
also provides a way to add properties, though I didn't figure out how
to access them. I'd figure out how to use it, but I have to run.
Patrick
|