Re: GtkLayout and drawing?



>Could someone give me some tips on how to draw onto GtkLayout's
>background? For some reason, my expose handler says that the layout's
>bin_window is NULL. I looked through the gtk sourcecode, and it appears
>that bin_window gets setup in the gtk_layou_realize() call. Is there some
>common mistake I'm missing?
>
>I'm using gtk+-2.0.5, if that helps.

sounds like you might be making the ever-so-common but ever-so-basic
mistake of not limiting your drawing efforts to an expose signal
handler. 

--p



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