Re: GtkFileSelection
| From: | Frank M. Kromann | Date: | Tue, 06 Mar 2001 16:46:56 +0000 |
| Subject: | Re: GtkFileSelection | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-410@lists.php.net to get a copy of this message | ||
The answer is:
function CloseDialog() {
Gtk::main_quit();
return true;
}
function SaveFile() {
...
return true;
}
function CanselDialog() {
return true;
}
$filedialog = &new GtkFileSelection("Save Query to file", "closedialog",
"savefile", "canceldialog");
- Frank
> hi,
>
> I'm playing around with GtkFileSelection, but can't see how to connect a function to
> the OK and Cancel buttons.
>
> I've searched through gtk.defs and the docs at gtk.org but have had no luck.
>
> thanks,
>
> barry.
>
> --
> http://www.theshining.org
>
> current stats :
> 2:28pm up 5:03, 4 users, load average: 0.47, 0.41, 0.26
>
> --
> PHP GTK Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net
> For additional commands, e-mail: php-gtk-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>