Gtk2_EntryDialog::new_simple | Gtk2_EntryDialog::run |
Gtk2_EntryDialog | |
PEAR Manual | |
require_once 'Gtk2/EntryDialog.php'; |
string
Gtk2_EntryDialog::get
(
string $message
,
string $default
,
GtkWindow $parent
)
Creates a dialog with the given parameters, runs it, and returns the text set. If the user cancelled the dialog, this method returns FALSE. In any other case (even when the text is empty), the a string with the text is returned.
|
Message to display.
Default text for the entry.
Parent window (can be null).
returns False if the user cancelled input, the text (string) otherwise.
Gtk2_EntryDialog::new_simple | Gtk2_EntryDialog::run |
Gtk2_EntryDialog | |
PEAR Manual | |