跨类的事件处理 [英] Event handling across classes

查看:54
本文介绍了跨类的事件处理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我想知道我是否可以在这里找到正确的指针...


对于大量代码发布感到抱歉 - 这是一件错误的事情吗? />

Hi there, just wondering if i could have a pointer inthe right direction here...

Sorry about the massive code posting - is that a wrong thing to do?

展开 | 选择 | Wrap | 行号

推荐答案


你好,只是想知道我是否可以在这里向正确的方向指示...


对于大量代码发布感到抱歉 - 这是一件错误的事情吗?
Hi there, just wondering if i could have a pointer inthe right direction here...

Sorry about the massive code posting - is that a wrong thing to do?



不,事实上,它真棒!我很高兴看到有人在使用wx!让我来看看并回复你...

Nope, in fact, it''s awesome! I''m exited to see that somebody is using wx! Let me take a look and get back to you...


我的问题是我无法弄清楚如何制作 OnStopButton 事件更改了 JudderPanel中的 speedLabel


我想让这个程序尽可能保持模块化。


如果有人有任何想法,我将不胜感激:-)



谢谢,



Mark
My problem is that i cannot figure out how to make the OnStopButton event change the speedLabel in the JudderPanel.

I want to keep this program as modular as possible.

If anyone has any ideas it would be greatly appreciated :-)


Thanks,


Mark



不,实际上,它太棒了!我很高兴看到有人在使用wx!让我来看看并回复你...
Nope, in fact, it''s awesome! I''m exited to see that somebody is using wx! Let me take a look and get back to you...



:-)非常感谢 - 非常感谢!


wx太神奇了!几个月前我尝试在VC ++上构建一个GUI,它差点杀了我!大声笑 - 结合Python编码的wxPython / Widgets库使整个SOOOOOOOO更加容易!


我有两个文件包含在内...... Wizard.py& Initials.py,如果你需要那些代码那么请告诉我,我会把它们搞定。


再次感谢!



Mark

:-) Thanks a lot - much appreciated!

wx is amazing! I tried building a GUI on VC++ a few months back and it nearly killed me! lol - the wxPython / Widgets library combined with Python coding makes the whole things SOOOOOOOO much easier!

There are two files that i havnt included... Wizard.py & Initials.py, if you need the code for those aswell then let me know and i will get them up.

Thanks again!


Mark


展开 | 选择 | Wrap | 行号


这篇关于跨类的事件处理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆