03-11-2010
Pop-up window using X11
Anyone know of a way to create a pop-up window using X11? I'm not to sure where to start. I just think it would be neat to do. So I was hoping someone out there had documentation on how to go about this, or if I was going to have to write/compile a program to do so.
Thank you!
Adelsin
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
At school, on an HP-UX or B.11.11 U 9000/785 system, my X11 root window is always set to 8-bit color, but all the child windows are 24-bit. The problem with this, is any background/wallpaper looks extremely ugly with the 8-bit color. Is there any way to make X starts with 24-bit color root window?... (0 Replies)
Discussion started by: ljfong
0 Replies
2. UNIX for Dummies Questions & Answers
Need help !
how do i compare 2 files and if there is a difference, output a massage in a pop up window?
the script meant to run using crontab. (2 Replies)
Discussion started by: hongsh
2 Replies
3. Windows & DOS: Issues & Discussions
Hello All.
Really a newbie to Linux/Unix. Trying to get into Linux. Using XP PE currently. Installed cygwin and trying to intall cygwin-x. Everything else is setup nice but i can't seem to install these two packages (without whom xwin won't start)
1. xorg-x11-f100
2. xorg-x11-fnts
Tried the... (1 Reply)
Discussion started by: binodbdrchand
1 Replies
4. Solaris
I can run xclock from root but not able to run in a user (oracle)
I am getting this error during installation of ORACLE-10g (10.2) in Solaris-10 (X86).............when I do ./runInstaller
when ever try, getting this error.......
DISPLAY not set. Please set the DISPLAY and try again. or... (2 Replies)
Discussion started by: gohappy
2 Replies
5. Solaris
Hi,
I have been tasked to migrate a test package my company developed from a Solaris 4 O/S to a new machine running Solaris 8. After many tweaks to paths etc we finally got it running but we have one problem which I am unable to solve.
While the application is running a user selected menu... (0 Replies)
Discussion started by: JustinPyfrom
0 Replies
6. UNIX Desktop Questions & Answers
Hello,
Is there a way to force each window to popup in the original desktop when using multiple desktops?
The problem is I work on one desktop, then move to another one, and some windows that are loaded in the original desktop pops at the new desktop.
Any idea?
Thanks!
Guy (1 Reply)
Discussion started by: guyov1
1 Replies
7. Solaris
While a search of the forums reveals a great deal of help for some one who wants to run a program on their Solaris box and have it display on their workstation I have a slightly different problem. I want to login via SSH and start a program that will display on the console of the machine I just... (5 Replies)
Discussion started by: saldon
5 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
Can anybody suggest a good resource to know about X/X-window/X11 etc in linux/unix. Introduction and useful commands. Its little confusing to me.
thanks in advance! (0 Replies)
Discussion started by: lramsb4u
0 Replies
9. Web Development
Dear Sir,
I have got a php mail form code.
Using this code, I want to use the JavaScript for " Thank You " pop-up window in the php form mail code.
Where do I add the pop-up JavaScript for "thank you" ?
My code is as follows:
<?php
//--------------------------Set these... (1 Reply)
Discussion started by: swapan
1 Replies
10. Solaris
I have a full screen top level window (application) on Solaris 10. We have a minimal window manager (DTWM), because of the critical nature of the app. On top of the first application, we have another application with a top level window, that covers the upper left area of the first application. Now,... (0 Replies)
Discussion started by: JenniferKuiper
0 Replies
LEARN ABOUT CENTOS
xcb-examples
xcb-examples(3) XCB examples xcb-examples(3)
NAME
xcb-examples - manpage examples
DESCRIPTION
Many of the XCB manpages contain example code. These examples intend to explain how to use one particular part of XCB. They almost never
represent a standalone (or even useful) program - X11 programs are relatively involved and thus beyond the scope of a manpage example.
ENVIRONMENT
Every example assumes you have an xcb_connection and possibly other variables at hand. For illustrating how xcb_get_property works, you
need the window of which you want to get the property, for example. To make it clear that these variables are your responsibility, these
examples consist of a single function which takes the necessary variables as parameters.
FLUSHING
Flushing means calling xcb_flush to clear the XCB-internal write buffer and send all pending requests to the X11 server. You don't explic-
itly need to flush before using a reply function (like xcb_query_pointer_reply), but you do need to flush before entering the event loop of
your program.
There are only two cases when XCB flushes by itself. The first case is when its write buffer becomes full, the second case is when you are
asking for the reply of a request which wasn't flushed out yet (like xcb_query_pointer_reply). This last point also includes
xcb_request_check(). Please note that waiting for an event does NOT flush.
Examples generally include the xcb_flush call where appropriate (for example after setting a property). Therefore, including these func-
tions and calling them in your application should just work. However, you might get better results when flushing outside of the function,
depending on the architecture of your program.
COMPILATION
If an example does not compile (without warnings) when using -std=c99, that is considered a documentation bug. Similarly, not handling
errors or leaking memory is also considered a documentation bug. Please inform us about it on xcb@lists.freedesktop.org.
CODING STYLE
Every example uses 4 spaces for indention.
Comments are in asterisks, like /* this */.
No line is longer than 80 characters (including indention).
SEE ALSO
xcb_connect(3), xcb_get_property(3), xcb_flush(3)
AUTHOR
Michael Stapelberg <michael+xcb at stapelberg dot de>
XCB
2011-12-11 xcb-examples(3)