Re: Windows like MessageBox() in gtk?

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

 



On Mon, 2007-05-14 at 16:14 +0000, 999alfred@xxxxxxxxxxx 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@xxxxxxxxx
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux