Re: Re: a small plea
| From: | Steph | Date: | Mon, 28 Jan 2002 16:11:37 +0000 |
| Subject: | Re: Re: a small plea | ||
| References: | 1 2 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-340@lists.php.net to get a copy of this message | ||
0
175
175
17
4
end of one extents
text widget width being 181
Sneaky :)
----- Original Message -----
From: "Andrei Zmievski" <andrei@ispi.net>
To: "Steph" <steph.fox@btinternet.com>
Cc: "PHP-GTK dev" <php-gtk-dev@lists.php.net>
Sent: Monday, January 28, 2002 3:49 PM
Subject: [PHP-GTK-DEV] Re: a small plea
> Can't you just use GdkFont::extents()? (see php_gtk+_types.c).
>
> On Mon, 28 Jan 2002, Steph Fox wrote:
> > gdk::text_width() takes the GdkFont, the string, and the strlen($string) as arguments. It
> > returns the width of the string in pixels.
> >
> > We don't have that, or gdk::string_width(), or gdk::char_width(). Any or all would
> > be useful.
> >
> > Any chance?
>
>
>
> -Andrei
>
> "Tomorrow the sun will rise. And who knows what the tide will bring?"
> - Tom Hanks, in "Cast Away"
>
> --
> PHP-GTK Development Mailing List (http://gtk.php.net/)
> To unsubscribe, e-mail: php-gtk-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-gtk-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>