Re: help with gdk_draw_string




> Can someone give me a snippet of code that allows me to open up a window
> and be able to print a text out using gdk_draw_string?  I'm having a
> frustrating time trying to get this working.  From the tutorials and
> everything it seems that I should be able to get this but it's not
> happening and I'm not sure why.  

What exactly are you trying to do?

You probably want to create a GtkDrawingArea widget (or create your
own widget) because you need to get expose/draw notifications.  And
you would paint in response to those notifications.

Best wishes,
Miguel.



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