personalized knob widget

Hi,
I’m new in the list, in wxpython and python itself but, I’m in challenge with myself and I want to learn it and try to develop a UI.

I’ve read the introduction tutorials and now I want to develop a personalized knob that support images.

I’ve got some problems, I can’t layout it and when I click on I can’t click anywhere else…

I attach the patch.

Thank you very much for the attention.

EsnhoKnob.zip (269 KB)

esnho esnho wrote:

Hi,
I'm new in the list, in wxpython and python itself but, I'm in challenge
with myself and I want to learn it and try to develop a UI.

I've read the introduction tutorials and now I want to develop a
personalized knob that support images.

I've got some problems, I can't layout it

Please explain.

and when I click on I can't
click anywhere else...

You are capturing the mouse but never releasing it.

I attach the patch.

270K is a rather large attachment for a mail list that goes to thousands of subscribers...

http://wiki.wxpython.org/MakingSampleApps

···

--
Robin Dunn
Software Craftsman

The layout problem is due to using 'self' (wx.Frame) as UI parent for the knob rather than 'panel'.

Christian

···

Am 31.07.13 14:02, schrieb esnho esnho:

Hi,
I'm new in the list, in wxpython and python itself but, I'm in challenge
with myself and I want to learn it and try to develop a UI.

I've read the introduction tutorials and now I want to develop a
personalized knob that support images.

I've got some problems, I can't layout it and when I click on I can't

Thank you, I’ve solved.

···

Il giorno giovedì 1 agosto 2013 13:49:11 UTC+2, Christian K. ha scritto:

Am 31.07.13 14:02, schrieb esnho esnho:

Hi,

I’m new in the list, in wxpython and python itself but, I’m in challenge

with myself and I want to learn it and try to develop a UI.

I’ve read the introduction tutorials and now I want to develop a

personalized knob that support images.

I’ve got some problems, I can’t layout it and when I click on I can’t

The layout problem is due to using ‘self’ (wx.Frame) as UI parent for
the knob rather than ‘panel’.

Christian