I’m making a RubyGtk application. I wanted to popup a customized modal
dialog to display an error message, or a confirmation to the user. The
application will be run in a touchscreen monitor, and will always be
displayed in fullscreen at a fixed resolution of 1024x768pixels. I
put a slightly transparent background behind the dialog. The effect is
http://jquery.com/demo/thickbox/), or Lightbox (
I’ve managed to do it using a Gtk::Fixed container with elements, in
I’ve added a Gtk::Image, in (0,0) position to the fixed container before
displaying the dialog (and removed the image after the dialog returns).
image has 1024x768, so it covers the entire main window.
It worked out with most widgets, but there are some that stays in front
the Gtk::Image. Gtk::Label and Gtk::Button stayed behind the image, but
Gtk::Entry and Gtk::ProgressBar stayed in front of the image.
Is there a better way to create this effect? What could have caused the
issue with Gtk::Entry and Gtk::ProgressBar?
The ‘gksu’ creates an overlay over the entire screen. Is it possible to
something like this with RubyGtk?