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

On what Solaris release ?
What kind of popup ?

Solaris 10... and any sort of window that I can send messages through. I'm thinking something similar to a Windows Alert window in vbscript.

"Hello World"
with an OK button.

If there's an easy way to work with receiving input from that, that would be cool too.

Thanks again.

zenity --info --text="hello"
zenity --entry --text="Enter some text"

Before I attempt to compile this, isn't zenity more of a gnome tool? Can I use this without gnome dependencies? If gnome dependencies, is there anything else I could try? Like xmessage?

Thank you.

Why do you want to compile it ?

You wrote this is for Solaris 10 and zenity is already included with it, unless you have a stripped off installation.

Do you know what package zenity is included on the disk?

Thanks.

pkginfo | grep -i zenity ??

This won't work unless the package name includes the zenity string which isn't the case. Anyway, zenity is in the SUNWgnome-dialog package.