Re: [Xpert]popup windows

2001-12-04 Thread Dr Andrew C Aitchison

On Tue, 4 Dec 2001, Daniel Secrieru wrote:

 No one knows how to make popup windows with Xlib? Please...

Others have given you several hints.
I think the point is that Xlib doesn't distinguish between popups and 
other windows. Some higher level libraries are likely to make that
distinction.

If whatever window it pops up over takes a while to draw, you might 
consider checking to see if the hardware supports overlays, and putting
the popup in the overlay, so that the main winow doesn't need to be
redrawn when the popup finishes.
Lots of hardware doesn't support this, so it wont always help,
and I can't point you at any code to do it.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]popup windows

2001-12-04 Thread Daniel Secrieru


   XCreateWindow.  A window is a window.  I don't see what's so
 special about popup windows.
They don't have a title bar.

Dany.



_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]popup windows

2001-12-04 Thread Derrik Pates

On Tue, 4 Dec 2001, Daniel Secrieru wrote:

 They don't have a title bar.

And that's why there are WM hints, so you can tell the WM hey, don't
decorate me!

Derrik Pates  |   Sysadmin, Douglas School   |#linuxOS on EFnet
[EMAIL PROTECTED] | District (dsdk12.net)|#linuxOS on OPN

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]popup windows

2001-12-03 Thread Daniel Secrieru

No one knows how to make popup windows with Xlib? Please...

Dany Secrieru,
LFC - The X-Platform
http://www.lfc2.net/


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]popup windows

2001-12-03 Thread Mark Vojkovich

On Tue, 4 Dec 2001, Daniel Secrieru wrote:

 No one knows how to make popup windows with Xlib? Please...

  XCreateWindow.  A window is a window.  I don't see what's so
special about popup windows.


Mark.

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]popup windows

2001-12-03 Thread Kevin Brosius

Daniel Secrieru wrote:
 
 
 No one knows how to make popup windows with Xlib? Please...
 

Simple example of a window in the first sample here:
http://www.user1.netcarrier.com/~kbrosius/pages/elibs1.html.  Cut out
the Imlib2 parts for Xlib only.  (It's based on Enlightenment E17
development code.)

Just about everything you want to know about X is linked from:
http://www.rahul.net/kenton/xsites.framed.html

And you looked at 'man XCreateWindow', right?

-- 
Kevin
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert