Hiding Widgets from RIGHT_PANEL, by an EVT in LEFT_PANEL

Hi there, I greatly need your help, iam greatly stack from one point. I Have
an application that iam currently in heavy development, and it has 2
panel(Left,Right), I new the application would need a lot of widgets, so i
deiced to put Options of BitmapButton for the user on the Left_panel. But
what i want is that when the user presses a Bitmap button on the Left_panel
some widgets should be showed on the Right_panel, and again when the user
presses another button on the left_panel, the same should happen but this
time Hiding the current widgets and showing the others associated with It
and so on i have five buttons which are surposed to be pressed and display
different widgets on the Right_panel. That is where i am stack Hiding
Widgets from Right_Panel by and event in Perfomed on Left_panel. I tried to
read the Tutorial on ZetCode Widget comunication which I mastered by i
could't fint a solution to hide and show widgets.

  I have tried some solutions but no success. I couldn't bring the source
code because it belongs a lot of things mostly bitmap images for toolbar and
buttons.

···

--
View this message in context: http://wxpython-users.1045709.n5.nabble.com/Hiding-Widgets-from-RIGHT-PANEL-by-an-EVT-in-LEFT-PANEL-tp5715388.html
Sent from the wxPython-users mailing list archive at Nabble.com.

Hi,

leftandright.py (4.06 KB)

···

On 12/12/2012 13:58, want_learn1 wrote:

Hi there, I greatly need your help, iam greatly stack from one point. I Have
an application that iam currently in heavy development, and it has 2
panel(Left,Right), I new the application would need a lot of widgets, so i
deiced to put Options of BitmapButton for the user on the Left_panel. But
what i want is that when the user presses a Bitmap button on the Left_panel
some widgets should be showed on the Right_panel, and again when the user
presses another button on the left_panel, the same should happen but this
time Hiding the current widgets and showing the others associated with It
and so on i have five buttons which are surposed to be pressed and display
different widgets on the Right_panel. That is where i am stack Hiding
Widgets from Right_Panel by and event in Perfomed on Left_panel. I tried to
read the Tutorial on ZetCode Widget comunication which I mastered by i
could't fint a solution to hide and show widgets.

   I have tried some solutions but no success. I couldn't bring the source
code because it belongs a lot of things mostly bitmap images for toolbar and
buttons.

Attached a little sample, hopefully it helps you to get going.

I used "Update_UI" events, depending what you do and how many widgets you have this might cause some flicker.

Werner

This method is new to me let’s me try Thanks very much