Hi

(I'm missing Gtk3 documentation.)

How do I translate constants to Perl? Like:

https://developer.gnome.org/gtk3/3.0/GtkFileChooserDialog.html

if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_ACCEPT)

would be something like

if ($dialog->run == Gtk::RESPONSE_ACCEPT)

or dunno; the Gtk::RESPONSE_ACCEPT thing is what I'm missing. (Also, is it
correct that the run method still translates to such values, and not say a
boolean?)

Christian.
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to