PHP-GTK
Friday, September 19, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkDialog::response
GtkDialog::set_default_responsenext

Last updated: Sun, 12 May 2013
view this page in English

GtkDialog::run

This is the method that allows you to analyze the response generated by the dialog. When you call this method on a GtkDialog, the main GTK loop is blocked until the dialog is either destroyed or emits a response signal.

The dialog is also automatically set as the modal type, and the show method is also called automatically. However, you need to show any child widgets yourself.

It is highly recommended to generate a response signal to exit from the run loop. If you destroy the dialog when the loop is being run, then your post-run code will not know whether the dialog was actually destroyed or not.

The function will return the response ID as soon as one is generated and exit itself. Note that you need to destroy the dialog manually when you have processed the response.


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


previousGtkDialog::response
GtkDialog::set_default_responsenext

Last updated: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:50:57 2013 CEST