allywilson
November 26th, 2007, 07:32 PM
I'm developing just a little app for fun.
Basically, I'm using Ruby to open a gtk2 window with 3 buttons, one starts the webcam connected to the machine (/dev/video0), the other ends it and saves it to the desktop with a date_time name. The last button exits the application.
At the moment when the first button is clicked the video goes fullscreen. I'd like to keep this. But I would like the GTK window to stay on top.
Does anyone know how to pass 'Always On Top' to the window?
Any help appreciated :-)
Basically, I'm using Ruby to open a gtk2 window with 3 buttons, one starts the webcam connected to the machine (/dev/video0), the other ends it and saves it to the desktop with a date_time name. The last button exits the application.
At the moment when the first button is clicked the video goes fullscreen. I'd like to keep this. But I would like the GTK window to stay on top.
Does anyone know how to pass 'Always On Top' to the window?
Any help appreciated :-)