开发者

wxpython global variables

im trying to create global variables of wx.Panel, wx.Button, and w开发者_JS百科x.TextCtrl,

so that i can "Edit" them in different functions

coming from a java background i thought maybe "panel = wx.Panel()" outside all functions might work but i get an error saying i need to send arguments to it, and i dont know what those arguments should be.

disclaimer: i'm a python noobie.


It takes the arguments defined by the wxPanel constructor.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜