Re: Custom widget draw



On Sat, 2008-11-01 at 11:04 +0300, Yuriy Rusinov wrote:
> Hello !
> 
> >
> > Hi,
> >
> > I didn'n clearly understand what you mean. Do you call show_all() or show() on
> > added widgets? How are you doing your drawing?
> >
> OK, here is my expose event slot

a GtkFrame has no window of its own. if you want to draw in a window,
derive from either GtkEventBox or GtkDrawingArea.

do not call *show_all() functions from an expose handler. it may not
cause any harm, but its just wrong.

--p




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