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

允许初始化时隐藏窗口 #124

Closed
chirsz-ever opened this issue May 8, 2022 · 2 comments
Closed

允许初始化时隐藏窗口 #124

chirsz-ever opened this issue May 8, 2022 · 2 comments

Comments

@chirsz-ever
Copy link
Collaborator

可以添加一个 INIT_HIDEWINDOW 初始化参数,在调用 initgraph 时隐藏窗口,调整窗口位置,和初始化窗口内容后再显示窗口。

@wysaid
Copy link
Owner

wysaid commented Jul 3, 2022

可以是可以, 这个解决的问题是防止用户在 initgraph 之前 newimage吧, 但也解决不了用户写全局变量直接 = newimage...
要能直接给 Image 这个类添加一个延迟初始化的实现, 才可能比较好解决这个问题

@yixy-only
Copy link
Collaborator

#138

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

3 participants