It works fine as a standalone executable. No errors until IupPopup() of the FontDlg occurs. Could I be missing something in my extension module make?
On Thu, 2019-07-04 at 21:05 -0300, Antonio Scuri wrote: > Don't know. Seems to be something inside GTK. If you take a look at > iup/src/gtk/iupgtk_fontdlg.c you will see that the IUP code is quite > simple, GTK does all the work. > Maybe something in GTK was not initialized correctly when running > the script. Missing IupOpen? > > Best, > Scuri > > > > Em qui, 4 de jul de 2019 às 20:17, John Spikowski < > supp...@scriptbasic.org> escreveu: > > Hi Antonio, > > > > > > > > I'm trying to reproduce your simple editor tutorial using the > > > > ScriptBasic IUP extension module on the Raspberry Pi 3 B which I > > > > compiled an IUP distribution for. Everything seems to be working > > fine > > > > other than those wierd warning messages you told me to ignore. I > > just > > > > cant seem to get the FontDlg to show. > > > > > > > > I get this error when trying to use IupPopup for the font dialog. > > > > > > > > pi@RPi3B:~/sbrt/examples $ scriba iup_edit.sb > > > > > > > > (scriba:2717): Gtk-WARNING **: Unknown type PangoFontFamily > > specified > > > > in treemodel model > > > > > > > > (scriba:2717): Gtk-WARNING **: Unknown type PangoFontFace specified > > in > > > > treemodel model > > > > > > > > (scriba:2717): Gtk-WARNING **: /home/pi/gtk+3.0- > > > > 3.22.11/./gtk/gtkliststore.c:516: Invalid type (null) > > > > > > > > (scriba:2717): Gtk-WARNING **: /home/pi/gtk+3.0- > > > > 3.22.11/./gtk/gtkliststore.c:516: Invalid type (null) > > > > > > > > (scriba:2717): GLib-GObject-CRITICAL **: > > g_value_type_transformable: > > > > assertion 'G_TYPE_IS_VALUE (src_type)' failed > > > > > > > > (scriba:2717): GLib-GObject-CRITICAL **: > > g_value_type_transformable: > > > > assertion 'G_TYPE_IS_VALUE (src_type)' failed > > > > > > > > (scriba:2717): GLib-GObject-WARNING **: /build/glib2.0- > > F5w919/glib2.0- > > > > 2.50.3/./gobject/gtype.c:4264: type id '0' is invalid > > > > > > > > (scriba:2717): GLib-GObject-WARNING **: can't peek value table for > > type > > > > '<invalid>' which is not currently referenced > > > > Segmentation fault > > > > pi@RPi3B:~/sbrt/examples $ > > > > > > > > > > > > The weird thing is I don't get this error running the tutorial edit > > > > project as a standalone C program on the same Raspberry Pi 3 B. > > > > > > > > The Open and SaveAs dialogs work as expected. What could be causing > > > > this? > > > > > > > > Any advice would be appreciated. > > > > > > > > John > > > > > > > > > > > > > > > > _______________________________________________ > > > > Iup-users mailing list > > > > Iup-users@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/iup-users > > > > _______________________________________________Iup-users mailing > listiup-us...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/iup-users
_______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users