Re: What are map_event and unmap_event?

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

 



 --- Paul Davis <paul@xxxxxxxxxxxxxxxxxxxxx> wrote: > > --- Paul Davis 
> >So you are saying as long as the drawing_area_widget is on the
> screen,
> >it will emit the map_event? 
> 
> no. it is emitted once per mapping-onto-screen. this
> mapping-onto-screen occurs after it has been realized+shown, and then
> might occur again if it is hidden and then shown again.
> 
> >So say if I want to display animation with the drawing_area_widget,
> I
> >don't need to set the gtk_idle function to the rendering function.
> >Instead I just create the rendering function as the callback
> function
> >for the map_event, since map_event is constantly being emitted by
> the
> >widget as long as it's visible. Correct?
> 
> no. you would need to use a timer function or an idle function or
> both
> depending on how you want to approach it. map_event has nothing to do
> with this.
> 
> --p 

So to put it in plain words what you said was that map_event is emitted
if the window was first minimized and then brought back to the screen.
Right?

JC

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux