Tuomo Valkonen wrote:
>On Thu, Jul 03, 2003 at 03:25:17AM +0200, Toke N-S wrote:
>> I was wondering if it in ion is possible to have a workspace managed by
>> a frame so that the workspace will show up as another tab in the
>> frame.
>
>Mod1+F3 .. region_manage_new(_, {type="WFloatWS"})
Genius; when did the infrastructure for that go in?
Recently, I've been getting pretty confused about what a Region is. I
used to think that it was something concrete - to borrow some OO
terminology. In other words, it was an entity that could exist and do
useful things on it's own. I guess that this idea was backed up by
all the Lua code that referred to it by name. I.e. above, I thought
you were asking to create a new region that is controlled in the Ion
style. In other words, I thought that a region had a similar holding
as Screens, Workspaces or ClientWindows. I've since done a bit more
reading and am beginning to see that I had it all a bit backwards. A
Region is pretty much an abstract class, extended by most of the other
Objects and all the Lua code that refers to it does so, to refer to
the fact that you are doing an operation on the Region inside whatever
you are currently operating over.
You posted a class structure diagram a little while ago. . . It's got
a little out of date, so I've done a quick grep of the source and come
up with the following:
WObj
|- WWsSplit (ionws.so)
`- WRegion
|- WScreen
|- WRootWin
|- WClientWin
|- WGenWS
| |- WIonWS (ionws.so)
| `- WFloatWS (floatws.so)
|
`- WWindow (I think the following is still valid: anything with a
| InputOutput X window except client windows)
|
|- WMPlex
| `- WGenFrame
| |- WIonFrame (ionws.so)
| `- WFloatFrame (floatws.so)
|
`- WInput (query.so)
|- WEdln (query.so)
`- WMessage (query.so)
It's all pretty similar to the last time you sent this out. I hope I
got it right, and it's usefull to someone.
Sam