PHP-GTK
Thursday, July 02, 2009 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkMenuToolButton::menu
GtkMessageDialog Constructornext

Last updated: Thu, 02 Jul 2009
view this page in English | Bulgarian | Japanese | Brazilian | Simplified Chinese

GtkMessageDialog

A convenient message window.

Object Hierarchy

Description

GtkMessageDialog presents a dialog with an image representing the type of message (Error, Question, etc.) alongside some message text. It's simply a convenience widget; you could construct the equivalent of GtkMessageDialog from GtkDialog without too much effort, but GtkMessageDialog saves typing.

The easiest way to do a modal message dialog is to use run() , though you can also pass in the Gtk::DIALOG_MODAL flag, run() automatically makes the dialog modal and waits for the user to respond to it. run() returns when any dialog button is clicked or the dialog is closed.

Constructors

GtkMessageDialog ( GtkWindow parent , GtkDialogFlags flags , GtkMessage type , GtkButtonsType buttons , string message);

-- Creates a new message dialog.

Methods

set_markup()
  Set pango-marked up text.

Fields

image:
  The image icon widget.
label:
  The label containing the text.


User Contributed Notes
gtk.gtkmessagedialog.php
add a note about notes
There are no user contributed notes for this page.


previousGtkMenuToolButton::menu
GtkMessageDialog Constructornext

Last updated: Thu, 02 Jul 2009
view this page in English | Bulgarian | Japanese | Brazilian | Simplified Chinese


credits 

PHP  Copyright © 2001-2009 The PHP Group
 All rights reserved.
Last updated: Thu Jul 2 01:47:45 2009 UTC