Could someone please run this script on a nix box & report back?
| From: | Steph | Date: | Thu, 07 Feb 2002 02:33:18 +0000 |
| Subject: | Could someone please run this script on a nix box & report back? | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-1179@lists.php.net to get a copy of this message | ||
<?
dl("php_gtk." . (strstr(PHP_OS, "WIN") ? "dll" : "so"));
$window = &new GtkWindow();
$window->set_position(GTK_WIN_POS_CENTER);
$window->connect_object("destroy", array("gtk", "main_quit"));
$box = &new GtkHBox();
$window->add($box);
$text = &new GtkText();
$text->set_editable(true);
$box->pack_start($text, false);
$text->show();
$scale = &new GtkVScale();
$scale->set_adjustment($text->vadj);
$box->pack_end($scale, false);
$scale->show();
$window->show_all();
gtk::main();
?>
- The question is, where the numbers are reported do they show fully as they go into treble figures?
- which they should do as you either write text or bung more than ten returns in.
Thanks.