#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2012
    Posts
    1
    Rep Power
    0

    Python event - EVT_ON_VAL_CHANGE


    Hi,
    Is it possible to define an Event which should fire when a value of a Variable changes? Something like below

    self.Bind(wx.EVT_ON_VAL_CHANGE, variable_to_watch, self.Callback)

    Basically I need to update my GUI when value from external source changes.

    I'm using wx.python and all the widgets are developed using WxPython, appreciate if you can suggest something wrt. Wx.python

    Thanks.
    Hussain,
  2. #2
  3. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,711
    Rep Power
    480
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2012
    Posts
    33
    Rep Power
    3
    my advice would be to raid the documentation for functions and ways to change GUI under certain circumstances, i'm not familiar with GUI myself but the wxPython site should help you

IMN logo majestic logo threadwatch logo seochat tools logo