Re: Could someone please run this script on a nix box & report back?
| From: | Henning Sprang | Date: | Thu, 07 Feb 2002 10:25:28 +0000 |
| Subject: | Re: Could someone please run this script on a nix box & report back? | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1180@lists.php.net to get a copy of this message | ||
if I understood your question right, you wanna know what happens when the
line number goes beyond 100?
here it is:
the first number of the three before the comma do _not_ show good.
When first coming above 100 it is, say, crippled.
aftrer resizing to the right a bit and going back it shows right, but one can
resize the window so much that the first number is hidden and the second
number is half hidden. i can provide you with a screenshot if you wish.
henning
On Thu, Feb 07, 2002 at 02:33:18AM -0000, Steph wrote:
> <?
> 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.
>
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
Henning Sprang, henning@sprang.de, http://www.sprang.de/