Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么无法使用set_text? #9

Closed
hkggftgkhbm opened this issue Nov 14, 2020 · 3 comments
Closed

为什么无法使用set_text? #9

hkggftgkhbm opened this issue Nov 14, 2020 · 3 comments

Comments

@hkggftgkhbm
Copy link

hkggftgkhbm commented Nov 14, 2020

刚刚该在找自动刷新解释器等程序的时候找到了这个很棒的工具
但是我尝试更改,我已经输出东西的时候"AttributeError: 'TextViewProxy' object has no attribute 'setText'"
TxetView 没有 setText属性?但是作者你的范例也是用TxetView做的所以说why?
但是我还要再补充一个很神奇的一点,我运行你的代码的时候是没有问题的
所以说必须要:LayoutCtl.quick(TableLayout,...)?

@gojuukaze
Copy link
Owner

你是不是写错函数名了,是 set_text 不是 setText

@hkggftgkhbm
Copy link
Author

抱歉我脑残,打扰你了,我居然犯了那么低级的错误...sorry

@hkggftgkhbm
Copy link
Author

不过也是自动补全的锅(不全是,还有是我太依赖这个东西),用多了之后很少会出现这种问题。所以就把这个可能给忽视掉了,没有去排查。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants