On Mon, Aug 25, 2003 at 07:17:21PM -0400, Dan McCormick wrote:
>
[...]
> 
> Thus allowing the user to decide what gets handed back to Gtk could be
> handy.

I agree.  Have callbacks return whatever the call() does.

You also wrote in a previous message:
> I wasn't sure what to do with the various auxiliary bits, though.  Would
> you like me to create a CALLBACK_RETVAL, POE::Session::Callback::DESTROY
> method, and %callback_parent_id hash, and call refcount_increment with a
> 'callback' identifier, or just use the the postback versions of those?
> 
> Of course, since it's synchronous, I'm pretty sure inc'ing and dec'ing
> the refcounts shouldn't matter, so I could also just take those bits
> out.

I also agree with this.  Callbacks should therefore be pretty darned
simple.

-- 
Rocco Caputo - [EMAIL PROTECTED] - http://poe.perl.org/

Reply via email to