scorninpc / php-gtk3

GTK3 extension for PHP
https://andor.com.br/
GNU Lesser General Public License v3.0
118 stars 13 forks source link

How to work with GtkFileChooserDialog #119

Closed d47081 closed 4 months ago

d47081 commented 4 months ago

Trying to create new object according to it's constructor:

$dialog = new \GtkFileChooserDialog(
    'test',
    new \GtkWindow
);

and get error

/usr/bin/php-gtk3: line 2:  6814 Segmentation fault      /opt/php/php-8.3.9/bin/php -dextension=php-gtk3.so $@

Is any example how to create dialog with PHP properly?

Thanks

scorninpc commented 4 months ago

Look if this can help

https://andor.com.br/php-gtk/cook/open-a-file-chooser-with-gtkfilechooserdialog

d47081 commented 4 months ago

Thank you!