Re: vertical or rotated gtk_label_new("TEXT") possible???
- From: Paul Davis <pbd Op Net>
- To: Chris Seberino <seberino spawar navy mil>
- Cc: gtk-list gnome org
- Subject: Re: vertical or rotated gtk_label_new("TEXT") possible???
- Date: Wed, 06 Feb 2002 10:02:55 -0500
>Is it possible to have gtk_label_new("TEXT")
>be vertical or rotated???
no. X (which GDK relies on in the version of GTK+ that you are almost
certainly using) provides no facilities for text rotation.
if you want to do this, you have to put each letter into a pixmap
using tricks that will be revealed in the file
gnome-canvas-text-item.c in the gnome canvas code in GNOME CVS. its
ugly, disgusting stuff. then you can pack the pixmaps into boxes or
whatever.
i don't know if Pango, which GTK+ 1.3/2.0 uses for text can do a
better job on this. i have a feeling it can, but i am not sure.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]