This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SWT, MDI and GIMP style (problem with event loop)  RSS feed

Andrzej Borucki
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In is sample for multiple shell but not MDI. What need set to obtain MDI?
It will be good if in options would be GIMP style.
Advantages of GIMP style: no need grows main windows to whole screen and windows can be in any place of screen.
Advantages of MDI: if I close main window, close application.
In GIMP style no different kind main-child windows. Each windows is the same with menu, but coolbar is one as a tool kit. First is one widows which is empty, opening new document creates drawable component, opening second document creates new window. It is problem: windows can be closed in arbitrary order. In SWT coding in main window is event loop. Where move event loop if multiple window is the same kind?

Skillfully applied "static" can help?
In I found:
SWT does not support MDI interfaces, as it's pretty much just a Windows
only UI concept (not supported on other OSes).

In Eclipse instead MDI are tabs. These tabs are shells or other component? or it is only one component tab? In Eclipse even can be two tab component (CTabFolder?) and tab can be docked.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!