root window

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

root window

Günther Schmidt
Hi,

how do I create an application with one full screen *root* window and
other child windows within that root window?

Similar to the view composer.

Günther


Reply | Threaded
Open this post in threaded view
|

Re: root window

Schwab,Wilhelm K
Günther,

> how do I create an application with one full screen *root* window and
> other child windows within that root window?
>
> Similar to the view composer.

I am not certain what you mean by full screen or root.  Are you trying
to create a shell?  If so, subclass from Shell or DocumentShell and have
fun.

Have a good one,

Bill

--
Wilhelm K. Schwab, Ph.D.
[hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: root window

Martin Rubi
> Günther,
>
> > how do I create an application with one full screen *root* window and
> > other child windows within that root window?
> >
> > Similar to the view composer.
>
> I am not certain what you mean by full screen or root.  Are you trying
> to create a shell?  If so, subclass from Shell or DocumentShell and have
> fun.
>

And leave that shell opened when you make your deployment, or create a
subclass of RuntimeSessionManager with a #main method looking something like
this:

YourAppSessionManager>>main
    self mainShellClass show

YourAppSessionManager Class>>mainShellClass
    ^YourAppMainShellPresenter

If you want your shell to be full screen, you can do it by maximizing it
with
    yourShell view showMaximized

Regards.
Martin


Reply | Threaded
Open this post in threaded view
|

Re: root window

Christopher J. Demers
In reply to this post by Günther Schmidt
"Günther Schmidt" <[hidden email]> wrote in message
news:42092ac9$[hidden email]...
> how do I create an application with one full screen *root* window and
> other child windows within that root window?
>
> Similar to the view composer.

I think what you are talking about is known as a MDI (Multiple Document
Interface).  MS Word used to use that kind of interface.  This seems to do
something like what you want:
===============
ts := Shell show.
ts view layoutManager: (GridLayout new columns: 2; rows: 2; yourself).
4 timesRepeat: [ts view addSubView: ShellView new].
===============
It looks like it could be done.  I am not sure how well Dolphin lends itself
to MDI design.  Try experimenting with it and see what you get.

Chris


Reply | Threaded
Open this post in threaded view
|

Re: root window

Günther Schmidt
Dear Christopher,

yes, it was that MDI thingy I meant, thanks for reading my mind! :-)

Günther

Christopher J. Demers schrieb:

> "Günther Schmidt" <[hidden email]> wrote in message
> news:42092ac9$[hidden email]...
>
>>how do I create an application with one full screen *root* window and
>>other child windows within that root window?
>>
>>Similar to the view composer.
>
>
> I think what you are talking about is known as a MDI (Multiple Document
> Interface).  MS Word used to use that kind of interface.  This seems to do
> something like what you want:
> ===============
> ts := Shell show.
> ts view layoutManager: (GridLayout new columns: 2; rows: 2; yourself).
> 4 timesRepeat: [ts view addSubView: ShellView new].
> ===============
> It looks like it could be done.  I am not sure how well Dolphin lends itself
> to MDI design.  Try experimenting with it and see what you get.
>
> Chris
>
>


Reply | Threaded
Open this post in threaded view
|

Re: root window

Chris Uppal-3
In reply to this post by Christopher J. Demers
Christopher J. Demers wrote:

> ts := Shell show.
> ts view layoutManager: (GridLayout new columns: 2; rows: 2; yourself).
> 4 timesRepeat: [ts view addSubView: ShellView new].

Good Lord !

I hadn't realised you could do that.

That should make something of mine /much/ simpler.  Thanks!  (Of course it'll
need a fair bit of infrastructure still -- custom layout manager, and
what-not -- but that's just code...)

    -- chris


Reply | Threaded
Open this post in threaded view
|

Re: root window

Günther Schmidt
Chris Uppal schrieb:

> Christopher J. Demers wrote:
>
>
>>ts := Shell show.
>>ts view layoutManager: (GridLayout new columns: 2; rows: 2; yourself).
>>4 timesRepeat: [ts view addSubView: ShellView new].
>
>
> Good Lord !
>
> I hadn't realised you could do that.
>
> That should make something of mine /much/ simpler.  Thanks!  (Of course it'll
> need a fair bit of infrastructure still -- custom layout manager, and
> what-not -- but that's just code...)
>
>     -- chris
>

Chris,

you will keep us posted with a nice sample, right?

;-)

Günther