Re: custom_widget example not working



On Thu, 2004-12-02 at 16:34 -0500, Paul Davis wrote:
> >Still, GtkLabel doesn't need to do that, so I'd like to figure out what
> >I'm not doing that GtkLabel is doing.
> 
> what window are you drawing on, and when?

I create a window in on_realize(), and draw on it in on_expose_event().
Please do take a look at examples/book/custom/custom_widget. It's very
simple.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com





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