Re: Descriptions



On Wed, 12 May 2010 12:06:09 -0400, Talguy wrote:

> I'm still pretty new at gtkmm and gui program and have been working with
> cairo and gtk::drawingarea to do some animations.  I was going through
> the drawing area docs and notices some virtual functions I've never
> heard of before so I was wondering if someone could explain to me what
> they do.  The functions in question are on_map and on_unmap.  Also
> accelerator keys/groups are used if I want to build short cuts into my
> application i.e. ctr+w would close the current window.
> <p>I&#39;m still pretty new at gtkmm and gui program and have been
> working with cairo and gtk::drawingarea to do some animations.  I was
> going through the drawing area docs and notices some virtual functions
> I&#39;ve never heard of before so I was wondering if someone could
> explain to me what they do.  The functions in question are on_map and
> on_unmap.  Also accelerator keys/groups are used if I want to build
> short cuts into my application i.e. ctr+w would close the current
> window.</p> _______________________________________________ gtkmm-list
> mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list

on_map and on_unmap are called when the window/widget is shown/hidden.
If you're doing some animation, and have some idle function, or timer
function running, you can disconnect it when you get on_unmap, and 
connect it back, when you get on_map.



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