Re: problem with two modal windows
- From: John Cupitt <john cupitt ng-london org uk>
- To: Ottavio Campana <ottavio campana vi it>
- Cc: gtk-list gnome org
- Subject: Re: problem with two modal windows
- Date: Thu, 10 Jun 2004 11:04:01 +0000
Ottavio Campana wrote:
I'm having a problem with a little program, when I'm showing two modal
windows.
The problem is the following:
The user selects the file for saving his data with a modal
gtkfileselection. When he clicks on "ok" my callback checks if he can
create the desidered file (check on write right and so on). If the user
hasn't got the right to write the file I'd like to show him a modal
gnomemessagebox with the error.
The problem is that the second modal messagebox appers under the
gtkfileselection, and it's hard to see. How I make apper as the nearest
to the user?
gtk_window_present() will try to show a window to the user
http://developer.gnome.org/doc/API/2.0/gtk/GtkWindow.html#gtk-window-present
But it should be at the front anyway. Are you creating the messagebox as a child of the fileselection?
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]