[Fwd: Re: [PHP-GTK] Opening and closing a window]
| From: | erbel@submedia.de | Date: | Wed, 13 Nov 2002 03:23:47 +0000 |
| Subject: | [Fwd: Re: [PHP-GTK] Opening and closing a window] | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-2610@lists.php.net to get a copy of this message | ||
-------- Ursprüngliche Nachricht --------
Betreff: Re: [PHP-GTK] Opening and closing a window
Datum: Wed, 13 Nov 2002 02:50:52 +0100
Von: "erbel@submedia.de" <erbel@submedia.de>
An: Roberto Villarreal <roberto.villarreal@funktiontech.com>
Referenzen: <3DD1AC0E.5090601@submedia.de> <20021112191935.0e222642.roberto.villarreal@funktiontech.com>
Oh, thanks, here is the code
function zeigew4() {
global $glade_app,$w4,$suchwort,$radio_kd_email,$radio_kd_name,$radio_kd_plz,$radio_kd_ort;
$w4->show_all();
}
//this is the hide function for that window
function versteckew4() {
global $glade_app,$w4,$suchwort,$radio_kd_email,$radio_kd_name,$radio_kd_plz,$radio_kd_ort;
$w4->hide();
}
//here I connect the window
$w4 = $glade_app->get_widget("suchen_kundenliste");
$w4->connect('destroy','versteckew4');
Hope its enough, I am a bl..dy beginner with phpgtk, but its fun stuff
Roberto Villarreal schrieb:
Maybe if you tell us how you hide and show that window (show us your code) we can help... :) On Wed, 13 Nov 2002 02:34:06 +0100 "erbel@submedia.de" wrote:Hi all, when I opened a Window with a search form in it and when I close it after the searchcriteria was found, I cannot reopen that window. phpgtk says: Gtk-CRITICAL **: file gtkstyle.c: line 520 (gtk_style_attach): assertion 'style != NULL' failed The same warning for line 1126 and line 3581 A window appears, the size would be good, but there is nothing in it. It stays black with no widgets. Anyone any idea? Thanks. Volker -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php