gdk_draw_layout isn't working for some widgets

2004-08-26 Thread Viraj Chatterjee
I'm using gdk_draw_layout to draw certain text on some widgets in my application, It works for most widgets, however, the text doesn't render atall for a few widgets. For the above cases where gdk_draw_layout fails to render, XDrawString works well. The problem is since XDrawString doesn't

Re: gdk_draw_layout isn't working for some widgets

2004-08-26 Thread Sven Neumann
Hi. Viraj Chatterjee [EMAIL PROTECTED] writes: I'm using gdk_draw_layout to draw certain text on some widgets in my application, It works for most widgets, however, the text doesn't render atall for a few widgets. Here's a snippet of code I'm using: PangoLayout *layout =