[382] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: Message Box?

daemon@ATHENA.MIT.EDU (Otto Hammersmith)
Mon Jun 23 11:37:13 1997

Date: Mon, 23 Jun 1997 11:28:00 -0400
From: Otto Hammersmith <otto@redhat.com>
To: gtk-list@redhat.com
In-Reply-To: <Pine.LNX.3.95.970623160200.31878A-100000@ferret.lmh.ox.ac.uk>; from Matthew Kirkwood on Mon, Jun 23, 1997 at 04:18:21PM +0100
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

On Mon, Jun 23, 1997 at 04:18:21PM +0100, Matthew Kirkwood wrote:
> Hi,
> 
> Simple question(s):
> 
> 1. Is there a gtk_messagebox() function, analagous<sp?> to the Windog
>    MessageBox() call?
> 
> 2. If not, why not? :-)  Seriously, although it's more of an application
>    framework thing, there can't be too much involved in:
> 
> gtk_messagebox("Title", "Message", bool wrap_msg, 

Absolutely trivial, up to here.  Make it your first gtk+ project... a
message box widget.

> int modality (0 - none,
> 				1 - caller, 2 - application));
> 
> especially if you get rid of the application modal bit, which might
> require a bit of abstraction-barrier changing.
> 
> Ideas?  Comments?  etc..? :-)

As far as I can tell, gtk+ has no support for modal dialogs (yet).
This shouldn't be too hard to add, but it would have to be somone more
familiar with the workings of gdk than I.

Is there anything in the works for this kind of support?  I know of at
least one person (read: Michael K. :) who -really- wants this feature. 

-- 
					-Otto.

--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post