Re: how to add both image background and label to button

> 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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]