Unix Programming - Pop-up window in daemon

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > January 2004 > Pop-up window in daemon





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Pop-up window in daemon
Jeff

2004-01-23, 5:00 pm

Hi,

I've written a daemon in C and I'd like that daemon to create a
pop-up window on a certain condition in the console using a windowing
toolkit of my choice. The problem is once the daemon is detached to
the background, it is detached from the console. How can I have a
background process open a window in the console? If it matters, I'd
like to do this in GTK. A simple solution is to create the popup
window as a separate program with a main function. Then the daemon
can spawn a new process and launch the window. But I'd prefer to
include the window in the daemon.

TIA,
Jeff

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com