Re: GtkDialog

From: Date: Mon, 16 Jul 2001 16:06:39 +0000
Subject: Re: GtkDialog
References: 1  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-2204@lists.php.net to get a copy of this message
It works fine for me.. outputs: object(gtkvbox)(1) { [0]=> int(3) } On Mon, 16 Jul 2001, Rich Payne wrote: > > Can anybody tell me what's wrong with this? Am I not understanading the > docs on a GtkDialog properly? > > Class password_dialog extends GtkDialog { > function password_dialog($server) { > GtkDialog::GtkDialog(); > > $this->set_title("Enter Password for $server"); > > var_dump($this->vbox); > > $this->set_modal(TRUE); > $this->show_all(); > > } > } > > The problem is that $this->vbox (and $this->action_area) return NULL, > where as per the GTK docs it should be a GtkVBox. > > this is being created from antoher class, something like: > $passwd_dialog = &new password_dialog($mailhost); > $passwd_dialog->show(); > > ?? > > --rdp > > -- > Rich Payne > rpayne@alphalinux.org www.alphalinux.org > > > -- > PHP GTK Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net > For additional commands, e-mail: php-gtk-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > -Andrei Nobody tried to design Windows - it just grew in random directions without any kind of thought behind it.

« previous php.gtk (#2204) next »