Re: Descriptions
- From: Michael <space3000 gmail com>
- To: gtkmm-list gnome org
- Subject: Re: Descriptions
- Date: Mon, 17 May 2010 14:08:30 +0000 (UTC)
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'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> _______________________________________________ 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]