GtkDialog
| From: | Rich Payne | Date: | Mon, 16 Jul 2001 14:36:56 +0000 |
| Subject: | GtkDialog | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-2198@lists.php.net to get a copy of this message | ||
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