K
Krisztian VASAS
Hello all...
I have a big problem with Gtk2 and POE (or I'm too stupid to the POE)...
Between the POE examples, there is a Gtk Interface (small counter)...
I've tried to rewrite it in Gtk2, but didn't want to work.
Neither the $kernel->yield("state_name"), nor the
$session->postback("state_name") works...
The Gtk2 interface starts, but if I press the button, nothing happens.
If I close the window, perl writes this:
"POE::Kernel's run() method was never called."
I can't understand this, because the first part of the script hasn't
changed:
POE::Session->create( inline_states =>
{
_start => \&ui_start,
ev_count => \&ui_count,
ev_clear => \&ui_clear,
});
But when I press the button, the signal_connect doesn't want to run the
$session->postback("ev_clear") command...
Can anyone tell me, why?
IroNiQ
I have a big problem with Gtk2 and POE (or I'm too stupid to the POE)...
Between the POE examples, there is a Gtk Interface (small counter)...
I've tried to rewrite it in Gtk2, but didn't want to work.
Neither the $kernel->yield("state_name"), nor the
$session->postback("state_name") works...
The Gtk2 interface starts, but if I press the button, nothing happens.
If I close the window, perl writes this:
"POE::Kernel's run() method was never called."
I can't understand this, because the first part of the script hasn't
changed:
POE::Session->create( inline_states =>
{
_start => \&ui_start,
ev_count => \&ui_count,
ev_clear => \&ui_clear,
});
But when I press the button, the signal_connect doesn't want to run the
$session->postback("ev_clear") command...
Can anyone tell me, why?
IroNiQ