Why don't you want to draw the text you need in your "expose" function?
You simply redefine the GtkWidgetClass "expose-event" and draw there.
On Mon, 2008-04-14 at 12:55 +0200, Francesco Sepic wrote:
> On Mon, Apr 14, 2008 at 12:31 PM, Alexander Semenov <[EMAIL PROTECTED]> wrote:
> > Hi.
> >
> >
On Mon, Apr 14, 2008 at 12:31 PM, Alexander Semenov <[EMAIL PROTECTED]> wrote:
> Hi.
>
> What about drawing GdkPixbuf and then your text on GdkWindow?
>
I'm drawing a scale bar on a map and I'd like to have different types
of scale bar.
The position of the text that i have to draw (for example "5
Hi.
What about drawing GdkPixbuf and then your text on GdkWindow?
On Mon, 2008-04-14 at 12:05 +0200, Francesco Sepic wrote:
> Hello,
> is it possible to draw text on a GdkPixbuf using Pango?
> gdk_draw_text () takes a GdkDrawable as the destination on which draw
> text. Is it possible to get a Gd
Hello,
is it possible to draw text on a GdkPixbuf using Pango?
gdk_draw_text () takes a GdkDrawable as the destination on which draw
text. Is it possible to get a GdkDrawable from a GdkPixbuf?
Thanks.
--
Francesco Sepic <[EMAIL PROTECTED]>
___
gtk-app-d