nanogui: Thread: Query: How to create a window with title bar, close button


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Query: How to create a window with title bar, close button
From: "Bipin T S" ####@####.####
Date: 20 Feb 2001 13:09:21 -0000
Message-Id: <3A926C34.8115F778@lgsi.co.in>

Hi,
        I have compiled Nano-X. It is running successfully over X
Window. I want to create a window with the title bar along with close
button ..... I tried using different styles in GR_WM_PROPERTIES. But it
was not working.
        Pls let me know how to solve this problem. Thanks in advance!!!
Bipin

Subject: Re: Query: How to create a window with title bar, close button
From: Gary James ####@####.####
Date: 20 Feb 2001 14:14:27 -0000
Message-Id: <3A927CE1.6020809@criticallink.com>

You need to run a window manager (such as nanowm) between nano-X and your 
application. Take a look at the examples here.

http://home.twcny.rr.com/embedded/microwin/install/index.html

Gary



Bipin T S wrote:

> Hi,
>         I have compiled Nano-X. It is running successfully over X
> Window. I want to create a window with the title bar along with close
> button ..... I tried using different styles in GR_WM_PROPERTIES. But it
> was not working.
>         Pls let me know how to solve this problem. Thanks in advance!!!
> Bipin
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####


-- 

Gary A James, Critical Link, LLC
Voice:  315.425.4045 x218
Fax:    315.425.4048
E-Mail: ####@####.####
WEB:    http://www.criticallink.com

Subject: Re: Query: How to create a window with title bar, close button
From: Jordan Crouse ####@####.####
Date: 20 Feb 2001 15:01:59 -0000
Message-Id: <3A928828.3819BCF7@censoft.com>

You are using the nanowm, correct?  The Nano-X server itself does not
handle any window decorations or any management that would normally be
associated with a window manager, but it does provide a standard method
for applications to communicate with the window manager through the WM
properties calls.  Normally, an application would set the window
properties that it wants, and then the window manger would check those
properties when the window is redrawn.  I don't know if the current
window manager supports the WM properties, but I think that it does
(Alex, thats your bag, please correct me if I am wrong).  Note that the
window manager properties are a friendly reminder, there is nothing that
says that a window manager is required to pay attention to them.

Jordan

Bipin T S wrote:
> 
> Hi,
>         I have compiled Nano-X. It is running successfully over X
> Window. I want to create a window with the title bar along with close
> button ..... I tried using different styles in GR_WM_PROPERTIES. But it
> was not working.
>         Pls let me know how to solve this problem. Thanks in advance!!!
> Bipin
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
Subject: Re: Query: How to create a window with title bar, close button
From: "Bipin T S" ####@####.####
Date: 20 Feb 2001 15:51:52 -0000
Message-Id: <3A92923C.AD0DC038@lgsi.co.in>

Hi,
        Thanks for the reply. Its working perfectly when i have a seperate
nano-X server.
But when i used the LINK_APP_INTO_SERVER  = Y option, i am not getting the
nanowm functionality. In particular, i tried running the nanowm after
launching the application. Its not working...Any solutions????

Gary James wrote:

> You need to run a window manager (such as nanowm) between nano-X and your
> application. Take a look at the examples here.
>
> http://home.twcny.rr.com/embedded/microwin/install/index.html
>
> Gary
>
> Bipin T S wrote:
>
> > Hi,
> >         I have compiled Nano-X. It is running successfully over X
> > Window. I want to create a window with the title bar along with close
> > button ..... I tried using different styles in GR_WM_PROPERTIES. But it
> > was not working.
> >         Pls let me know how to solve this problem. Thanks in advance!!!
> > Bipin
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: ####@####.####
> > For additional commands, e-mail: ####@####.####
>
> --
>
> Gary A James, Critical Link, LLC
> Voice:  315.425.4045 x218
> Fax:    315.425.4048
> E-Mail: ####@####.####
> WEB:    http://www.criticallink.com

Subject: Re: Query: How to create a window with title bar, close button
From: Jordan Crouse ####@####.####
Date: 20 Feb 2001 16:12:26 -0000
Message-Id: <3A9298AC.D9C46ED1@censoft.com>

Well, the problem is that you are linking the server into the
application.  Basically, the nanowm works by getting root window events
from the server, and reparenting the new client windows as it own.  This
of course assumes that there is a single server handling multiple
events.  When you link the sever into the application, that "server"
only "talks" to that one application, so there is no way for the nanowm
to intercept the events.

Jordan

 Bipin T S wrote:
> 
> Hi,
>         Thanks for the reply. Its working perfectly when i have a seperate
> nano-X server.
> But when i used the LINK_APP_INTO_SERVER  = Y option, i am not getting the
> nanowm functionality. In particular, i tried running the nanowm after
> launching the application. Its not working...Any solutions????
> 
> Gary James wrote:
> 
> > You need to run a window manager (such as nanowm) between nano-X and your
> > application. Take a look at the examples here.
> >
> > http://home.twcny.rr.com/embedded/microwin/install/index.html
> >
> > Gary
> >
> > Bipin T S wrote:
> >
> > > Hi,
> > >         I have compiled Nano-X. It is running successfully over X
> > > Window. I want to create a window with the title bar along with close
> > > button ..... I tried using different styles in GR_WM_PROPERTIES. But it
> > > was not working.
> > >         Pls let me know how to solve this problem. Thanks in advance!!!
> > > Bipin
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: ####@####.####
> > > For additional commands, e-mail: ####@####.####
> >
> > --
> >
> > Gary A James, Critical Link, LLC
> > Voice:  315.425.4045 x218
> > Fax:    315.425.4048
> > E-Mail: ####@####.####
> > WEB:    http://www.criticallink.com
Subject: Re: Query: How to create a window with title bar, close button
From: "Greg Haerr" ####@####.####
Date: 20 Feb 2001 16:19:46 -0000
Message-Id: <00ce01c09b59$5937d600$15320cd0@gregh>

: But when i used the LINK_APP_INTO_SERVER  = Y option, i am not getting the
: nanowm functionality. In particular, i tried running the nanowm after
: launching the application. Its not working...Any solutions????

Currently, window manager window dressing is not supported
when LINK_APP_INTO_SERVER=Y.  This is because we
don't support communications between multiple apps in this
mode.  I was thinking of adding a server WM api that switched
those requests out when linked together, but never got around to it.

I would suggest using the Win32 api when linked together, all 
the window frame drawing code is linked in an works well.

Regards,

Greg


[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.