[Gambas-user] gtk and qt error catching in our program?

Benoit Minisini benoit.minisini at gambas-basic.org
Sat Feb 11 18:30:48 CET 2023


Le 11/02/2023 à 01:56, Brian G a écrit :
> I have a question is there any way we can get these errors
> 
> (em6502:6108): Gtk-WARNING **: 16:40:24.636: for_size smaller than 
> min-size (15 < 16) while measuring gadget (node radio, owner GtkRadioButton)
> (em6502:6108): Gtk-WARNING **: 16:40:24.636: for_size smaller than 
> min-size (15 < 16) while measuring gadget (node radio, owner GtkRadioButton)
> 
> inside our programs from gtk or qt, so we can adjust the the control 
> size programatically?
> 
> "Failure is the key to success;
>   each mistake teaches us something"  .. Morihei Ueshiba
> Brian G
> 
> 
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----

These messages are warnings, not errors.

Recent versions of GTK+3 decide to write warnings as soon as it assumes 
that some internal part of a widget are too small. This is hardly 
predictable.

I implemented some hacks - how could GTK+3 be usable without hacks? - 
that prevent most of these messages, but I couldn't catch all of them.

Any sane toolkit adapt silently and gracefully to too small widgets.

Regards,

-- 
Benoît Minisini.



More information about the User mailing list