problem of set_arrow_direction
| From: | jack | Date: | Tue, 18 Nov 2003 14:42:08 +0000 |
| Subject: | problem of set_arrow_direction | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-4175@lists.php.net to get a copy of this message | ||
Hi, all
As the following, it will cause an error, Fatal error: Call to undefined
function, on set_arrow_direction. Why?
Jack
<?php
dl('php_gtk.dll');
$gx = &new gladeXML('D:\Program Files\wGLADE-0.2\test\gtkcombo.glade');
$gx->signal_autoconnect();
$ar['label']= $gx->get_widget('label1');
$ar['entry']= $gx->get_widget('combo-entry1');
$ar['combo']= $gx->get_widget('combo1');
$ar['combo']->set_arrow_direction(GTK_ARROW_RIGHT);
function onDelete(){
return false;
}
function onDestroy(){
Gtk::main_quit();
}
function on_button3_clicked(){
global $ar;
$s1 =$ar['entry']->get_text();
$ar['label']->set_text($s1);
$ar['entry']->grab_focus();
}
Gtk::main();
?>