hi i try to use the flatmenu in c++ with wxwidgets but i dont know
how. i've ask in wxforum and tell me that somebody here know if exists
some bindings for wxwidgets?
Hi,
···
On Mar 19, 2:22 pm, iozk_Live <iozk...@gmail.com> wrote:
hi i try to use the flatmenu in c++ with wxwidgets but i dont know
how. i've ask in wxforum and tell me that somebody here know if exists
some bindings for wxwidgets?
The flatmenu is written in pure python, so you'll probably need to
figure out how to call Python code from within C++.
-------------------
Mike Driscoll
The flatmenu is written in pure python, so you'll probably need to
figure out how to call Python code from within C++.
is possible?
iozk_Live wrote:
The flatmenu is written in pure python, so you'll probably need to
figure out how to call Python code from within C++.is possible?
possible, yes, but not the least bit trivial. It'd probably be easier to write a C++ version of flatmenu, if that is all you need.
Or better yet, forget C++ an write your app in Python. There was a great quote by someone on this list a few years back (step up and claim it if it's yours):
"The only difference my clients can see between a Python app and a C++ one is that the Python one has more features and fewer bugs"
So, unless you want fewer features and/or more bugs, just write your app in Python!
-Chris
···
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov
Hi,
···
On Mar 19, 2010, at 9:24 PM, Christopher Barker wrote:
iozk_Live wrote:
The flatmenu is written in pure python, so you'll probably need to
figure out how to call Python code from within C++.is possible?
possible, yes, but not the least bit trivial. It'd probably be easier to write a C++ version of flatmenu, if that is all you need.
There already is a C++ version of it. Andrea ported the C++ version to Python like a number of other controls.
The class is not part of wx but is a separate library that is available:
http://lmgtfy.com/?q=wxflatmenu+download
Cody