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.

Please CC any responces to me, as I am not a subscriber.

Thanks in advance,
Nick Burlett
nrb23 cornell edu




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