Re: mapping of Gtk3::main_iteration

On 15.05.21 09:20, Juergen Harms via gtk-perl-list wrote:
When I run

if (Gtk3:::event_spending () ) { Gtk3->main_iteration (); }

to get my display updated while waiting for piped input, this loop does
what I expect it to do, but also produces the following error message

Gtk3::main_iteration: passed too many parameters (expected 0, got 1);
ignoring excess at ...

Gtk3::main_iteration is meant to be called as a function, not as a
static method: Gtk3::main_iteration().  The warning stems from
Gtk3->main_iteration() being equivalent to Gtk3::main_iteration('Gtk3').


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]