Re: Win32 modal support

From: Date: Sat, 27 Aug 2005 19:19:52 +0000
Subject: Re: Win32 modal support
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-6182@lists.php.net to get a copy of this message
I'd prefer not to hide it, just deactivate it. I tried using $frame->set_sensitive(false), but that didn't work. My program is a "dropbox" for PDF files. In my UI, I have a frame set up to receive the drag-n-dropped files, using Christian Weiske's GtkFileDrop PEAR class (which is great, by the way). When the user drops some files over the frame, a GtkDialog is opened, giving the user the chance to confirm the list of files to process. While this window is open, I want the main window to stop receiving more file drops, but remain visible. Hiding it is the only thing that seems to work, however. ----- Original Message ----- From: "Benjamin Smith" <lists@benjamindsmith.com> To: "Jeff Beidler" <jeff@greenbirdweb.com> Sent: Friday, August 26, 2005 2:49 PM Subject: Re: [PHP-GTK] Win32 modal support
Set_Modal() works fine. Set_Transient_For is what doesn't work. I'd suggest using $window->hide() for the primary window. It's a bit perplexing, but is often better than having a program appear "frozen" because a modal window is hiding behind it. -Ben On Friday 26 August 2005 12:09, Jeff Beidler wrote:
Hello, Does anyone know of a workaround for set_modal() and set_transient_for() not working on Windows platforms? Thanks, Jeff -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- "The best way to predict the future is to invent it." - XEROX PARC slogan, circa 1978


« previous php.gtk.general (#6182) next »