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

MDI Support #48

Open
alexiusacademia opened this issue Mar 2, 2019 · 3 comments
Open

MDI Support #48

alexiusacademia opened this issue Mar 2, 2019 · 3 comments

Comments

@alexiusacademia
Copy link

Hi there, I would like to ask if MDI is supported by the library?
If so, how can that be implemented? Is it using window.window?

One more is getting the width property of a Treeview object. I always get width=1. I am trying to position a window next to a treeview by getting the width property but I am having a problem. I attached a screenshot of the main window. I want a new dialog or window to appear next to the treeview so I took the width of the treeview using getWidth and then passed it to the window to be created using the setGeometry method but I always get 1 as the width.

The code for the project is available at Github

Help would be much appreciated. Thank you!

alt text

@nomad-software
Copy link
Owner

MDI is not currently supported as it's not implemented as a base widget. It can, however, be achieved by combining different Tk widgets in clever ways. Here is a pure Tcl/Tk version: https://wiki.tcl-lang.org/page/Another+MDI

It needs some thought and design to incorporate it into this library and unfortunately, I haven't got the time at the minute.

@alexiusacademia
Copy link
Author

Thank you for clearing that up. Hope soon in the future it may have that feature.
On the other hand, how about my other query about the size, or more specifically, the width of the treeview? Thanks

@Shadowblitz16
Copy link

I would also like to have this. I am moving from C# winforms to D and I use MDI alot for game editors

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