Source for file normal.php
Documentation is available at normal.php
* Normal Gtk2_EntryDialog example
* @author Christian Weiske <cweiske@php.net>
require_once 'Gtk2/EntryDialog.php';
0 , //flags (GtkDialogFlags)
Gtk ::MESSAGE_QUESTION , //type of message
Gtk ::BUTTONS_OK_CANCEL , //which buttons shall be there
'What\'s your name?', //the message
'Don\'t know' //The default text
if ($answer == Gtk ::RESPONSE_OK ) {
echo "You cancelled\r\n";
Documentation generated on Mon, 11 Mar 2019 14:48:47 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|