interactions between php-gtk windows

From: Date: Mon, 03 Feb 2003 15:22:54 +0000
Subject: interactions between php-gtk windows
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2999@lists.php.net to get a copy of this message
Hallo, i'm new with gtk-php an have basic problem. there is the following class: class NewWindow { var $window; var $field; var $button; //Constructor function NewWindow() { $this->window = new GtkWindow(); $this->button = new GtkButton("Do something"); $table = &new GtkTable(2,2); .... and so on } added some functions ...attach the widgets to the table.. $this->window->show_all(); } //for creating an instance of NewWindow via button click in my toplevel window function MyNewWindow() { $mywindow = &new NewWindow(); } then i connect MyNewWindow() with a button in the toplevel window. so far it works fine. i can create so many instances of NewWindow as i want. for my example two "child"-windows are enough :) Now MY QUESTION: how can interacte these new "child"-windows with each other. for example, how can i copy the content of a entry of one window into the entry of the other window via click or how can i transfering data from the "child"-window to the toplevel window via click i think i need a window handle to identify the window i want to use. in any case - it's a basic technique. i searched the web - nothing ! the php-gtk manual is a joke, no book to buy world wide. its very hard to learn this stuff ! can anybody help me. Thanx 1000 times Daniel (germany) __________________________________________________________________ Gesendet von Yahoo! Mail - http://mail.yahoo.de Bis zu 100 MB Speicher bei http://premiummail.yahoo.de

« previous php.gtk.general (#2999) next »