Re: how to add both image background and label to button
- From: Ralf Stephan <ralf ark in-berlin de>
- To: "c.y.liu" <cyliu7 gmail com>
- Cc: gtk-list gnome org
- Subject: Re: how to add both image background and label to button
- Date: Sun, 12 Nov 2006 17:01:08 +0100
> what i want is text will flow on image. how can achieve such result. any
> suggestion will be greatly appreciated
I'd use pango and cairo for it, starting with gdk_create_cairo_context()
on the widget.
See GdkDrawable and Common Questions #6.x for using cairo with gtk+.
Alternatively, it could be possible using the canonical gdk_drawable_...
functions, as they use pango/cairo internally.
] [Thread Prev