Re: Passing variables between functions

From: Date: Wed, 21 Mar 2001 20:18:06 +0000
Subject: Re: Passing variables between functions
References: 1 2 3  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-1062@lists.php.net to get a copy of this message
On Thu, 22 Mar 2001, Martin Cameron wrote: > Hi Andrei > > Thanks for your prompt response. > > I've tried changing create_list function by adding these lines: > > function create_list(){ > global $window, $vapned, $list, $text, $labeltext, $labelname, > $entry; > $vbox = & new GtkVbox(FALSE,10); > $vbox->set_border_width(10); > $scrolled_window = & new GtkScrolledWindow(NULL,NULL); > $scrolled_window->set_policy(GTK_POLICY_AUTOMATIC, > GTK_POLICY_AUTOMATIC); > $scrolled_window->set_usize(400,500); > $vbox->pack_start($scrolled_window, TRUE,TRUE,0); > $scrolled_window->show(); > ---> $entry = new GtkEntry(); > ---> $username = $entry->get_text; Umm, shouldn't it be $entry->get_text()? -Andrei "I think it would be a good idea." -- Mahatma Gandhi, when asked what he thought of Western civilization...

« previous php.gtk (#1062) next »