Re: Windows like MessageBox() in gtk?
- From: Emmanuele Bassi <ebassi gmail com>
- To: gtk-list gnome org
- Subject: Re: Windows like MessageBox() in gtk?
- Date: Mon, 14 May 2007 17:21:29 +0100
On Mon, 2007-05-14 at 16:14 +0000, 999alfred comcast net wrote:
> can anybody point me to widget that behaves like the Windows MessageBox() function. Puts a modal dialog up with the header and body set to the suppiled text nd an "Ok" button.
you want the GtkMessageDialog widget:
http://developer.gnome.org/doc/API/2.0/gtk/GtkMessageDialog.html
just create one and use gtk_dialog_run() with it (it will automatically
set modality).
ciao,
Emmanuele.
--
Emmanuele Bassi, E: ebassi gmail com
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]