Converting WxPython code to C++ -
let' have written wxpython application
import wx app = wx.pysimpleapp() frame = wx.frame(none, -1, "just 1 child", size=(250,150)) button = wx.button(frame, -1, "this resized") frame.show() app.mainloop()
how can reuse or converting code c++ programme can compile g++. possible?
no, not possible. want wxwidgets library. wxpython project utilize python only.
i recommend reading "hello world" tutorial on wxwidgets website:
http://docs.wxwidgets.org/stable/overview_helloworld.htmlthere additional tutorials here:
https://www.wxwidgets.org/docs/tutorials/ wxpython
No comments:
Post a Comment