Changes between Version 1 and Version 2 of WxGladeCustomControls


Ignore:
Timestamp:
Mar 15, 2011, 7:30:26 PM (9 years ago)
Author:
flip
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WxGladeCustomControls

    v1 v2  
    1313and open the preferences. On the "Other" tab, near the bottom you'll find
    1414a textbox for "Local widget path". In that textbox, enter the path to the
    15 `widgets` directory under `vespa/common/wx`, e.g.
    16 `/home/me/w/vespa/common/wx/widgets`.
     15`widgets` directory under `vespa/common/wx_gravy`, e.g.
     16`/home/me/w/vespa/common/wx_gravy/widgets`.
    1717
    1818
     
    2121wxGlade's documentation is pretty quiet on the subject of custom controls.
    2222Fortunately, there's a decent tutorial which
    23 helped me when I created the [wiki:WxCommon common.wx] library.
     23helped me when I created the [wiki:WxCommon common.wx_gravy] library.
    2424That tutorial is attached to this page; there might be an updated version
    2525[http://sites.google.com/site/lvmarcoux/ at the original author's site].
    2626
    27 I could not have created our `vespa.common.wx` library without the additional help of
     27I could not have created our `vespa.common.wx_gravy` library without the additional help of
    2828[http://powertwenty.com/kpd/blog/index.php/python/adding-custom-widgets-to-wxglade Kevin Dahlhausen's blog posting]
    2929which, luckily for us, was about using the floatspin control as a custom
    3030control. Note that the code that Kevin offers is a little broken; I think
    3131it worked with an older version of wxPython or wxGlade (note that the
    32 blog posting is from 2006). The code in `vespa.common.wx` is very close to his
     32blog posting is from 2006). The code in `vespa.common.wx_gravy` is very close to his
    3333code, but I made some changes. I sent him my patches but as of this writing he hasn't
    3434posted the patched code.