Re: A Gtk2 Chat Client

2008-01-07 Thread Jamie Lahowetz
$buffer->insert(($buffer->get_end_iter), "$input\n"); }, Disconnected => sub { $buffer->insert(($buffer->get_end_iter), "Disconnected\n"); $_[KERNEL]->delay( reconnect => 10 ); } ); } ### $poe_kernel-

Re: A Gtk2 Chat Client

2008-01-05 Thread Jamie Lahowetz
; wrote: > This is a straight forward Perl syntax error. Look at the arguments > you are passing to the constructor of Client::TCP. > > You are essentially passing a hash made up of coderefs to use as > callbacks, yet you don't separate entries with a comma. > > Just because it

Re: A Gtk2 Chat Client

2008-01-04 Thread Jamie Lahowetz
int $input. "\n"; $heap->{buffer}->set_text($input); } ); } ### $poe_kernel->run(); exit 0; On Jan 4, 2008 10:02 AM, Mike Schroeder <[EMAIL PROTECTED]>

A Gtk2 Chat Client

2008-01-04 Thread Jamie Lahowetz
I would like to create a Gtk2 based Chat client that can be used with the chat server on the POE cookbook. To do this I have to sort of reteach myself on using Gtk2 in the POE loop. Currently I am trying to get the program to create a simple window. I'm having trouble with this, the window seems to

Chat Serve/Client

2007-12-23 Thread Jamie Lahowetz
I am trying to understand/create a chat server/client for a project. I noticed that there is a chat server on POE Cookbook and I have been using it as a guide as I try to understand how POE works. The problem that I'm having is how to get the client to work. Currently I have used this code, which i