Re: [gtk-list] Gtk_FileSelection




On Sun, 7 Jun 1998, Some Guy wrote:
> 
> But the problem arrises when someone kills the fileselection with a
> destroy/delete event (like clicking on an "X" button in the titlebar).
> When this happens, the filesel is deleted and the next time around it
> shows up as a black box.
> 

You should connect a function to delete_event which hides the dialog and
returns TRUE. This will block the default delete_event handler, which
destroys the widget. 

Havoc Pennington ==== http://pobox.com/~hp



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]