Re: Gtk3::MessageDialog - missing methods
- From: Torsten Schoenfeld <torsten schoenfeld gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: Gtk3::MessageDialog - missing methods
- Date: Fri, 8 Jan 2021 19:08:08 +0100
On 08.01.21 02:15, Thomas Funk via gtk-perl-list wrote:
---|--------------|--------------------------------------------
OK | GtkWidget * | gtk_message_dialog_new ()
FF | GtkWidget * | gtk_message_dialog_new_with_markup ()
OK | void | gtk_message_dialog_set_markup ()
OK | void | gtk_message_dialog_set_image ()
?? | GtkWidget * | gtk_message_dialog_get_image ()
FF | void | gtk_message_dialog_format_secondary_text ()
FF | void | gtk_message_dialog_format_secondary_markup ()
?? | GtkWidget * | gtk_message_dialog_get_message_area ()
Indeed, it looks like we're missing overrides for the ones you marked as
missing, except for get_image() which should work. The other ones are
not available automatically, and are therefor shown as "NOT
INTROSPECTABLE" in perli11ndoc, because they use the varargs mechanism.
In Gtk2, they are handled in XS code:
<https://gitlab.gnome.org/GNOME/perl-gtk2/-/blob/master/xs/GtkMessageDialog.xs>.
In Gtk3, we would need Perl overrides that accompany
Gtk3::MessageDialog::new, which already exists:
<https://gitlab.gnome.org/GNOME/perl-gtk3/-/blob/master/lib/Gtk3.pm#L1408>.
Could you be bothered to write them?
-Torsten
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]