Re: How to draw a text in widget?
- From: Filip Van Raemdonck <mechanix debian org>
- To: gtk-app-devel-list gnome org
- Subject: Re: How to draw a text in widget?
- Date: Tue, 23 Sep 2003 12:24:51 +0200
On Mon, Sep 22, 2003 at 02:09:19PM -0400, Tom Liu wrote:
I still don't know how to clips the text.
Set a clipping rectangle on your gc.
Also gdk_draw_string and gdk_font_unref are all deprecated.
Use Pango and gdk_draw_layout instead.
/* Amuse the user. */
\|/ ____ \|/
"@'/ ,. \`@"
/_| \__/ |_\
] [Thread Prev