| View previous topic :: View next topic |
| Author |
Message |
dnfeitosa
Joined: 13 Dec 2005 Posts: 2 Location: SP/Brasil
|
Posted: Sun May 07, 2006 7:27 am Post subject: FileChooserDialog |
|
|
Hi all,
I'm trying to create a GtkFileChooserDialog, but the 'Cancel' and 'Open' buttons aren't present... I'm using the following code:
| Code: |
<?php
$fd = new GtkFileChooserDialog('Test dialog');
$fd->set_action(Gtk::FILE_CHOOSER_ACTION_SAVE);
$fd->connect_simple('destroy', array('gtk', 'main_quit'));
$filter = new GtkFileFilter();
$filter->add_pattern("*.php");
$fd->add_filter($filter);
$fd->show();
gtk::main();
?>
|
I got from CVS and compiled PHP-GTK2 15 min. ago...
Thanks |
|
| Back to top |
|
 |
N!cKY
Joined: 19 Apr 2006 Posts: 12 Location: Mosbach/Germany
|
|
| Back to top |
|
 |
dnfeitosa
Joined: 13 Dec 2005 Posts: 2 Location: SP/Brasil
|
Posted: Sun May 07, 2006 3:25 pm Post subject: |
|
|
Thanks!  |
|
| Back to top |
|
 |
|