PHP-GTK2 Newsletter
|
Sample Code 230: How to setup a dialog box - Part 2 - simple yes no dialog? |
| Written by kksou | ||||||
| Thursday, 10 May 2007 | ||||||
|
Problem To understand GtkDialog a little better, we will look at our second example to produce exactly the same output as the GtkDialog constructor example in the offical PHP-GTK2 documentation. The example shows how to set up a simple yes-no dialog box as shown below:
Solution
Sample Code
Explanation Related Links
User reviews Average user ratings: 5.0 (from 2 users) Note: You have to be a registered member to leave a comment. Free registration here. |
||||||
| < Prev | Next > |
|---|






5.0 (from 2 users)
April 30, 2008 10:03am
September 17, 2008 1:53pm
excelent. just a litle mistake on note 7 . "Note that RESPONSE_YES has an integer value of -8. RESPONSE_YES has an integer value of -9." RESPONSE_YES is twice