Re: font usage / selection in text fields
| From: | Andrei Zmievski | Date: | Mon, 05 Mar 2001 20:17:20 +0000 |
| Subject: | Re: font usage / selection in text fields | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-321@lists.php.net to get a copy of this message | ||
On Mon, 05 Mar 2001, jasonr@argia.net wrote:
> $cmap = &new gdkcolormap(); results in a "Class gdkcolormap cannot be constructed
> directly"
Try, $cmap = Gdk::colormap_get_system();
> same for $fixed_font = &new
> gdkfont("-misc-fixed-medium-r-*-*-*-140-*-*-*-*-*-*");
Try, $fixed_font = Gdk::font_load("-misc-fixed-medium-r-*-*-*-140-*-*-*-*-*-*");
HTH,
-Andrei
"The day Microsoft makes something that doesn't suck,
is probably the day Microsoft starts making vacuum cleaners."
- Ernst Jan Plugge