Re: events description
- From: wallace owen l-3com com
- To: giovanni gherdovich <g_gherdovich yahoo it>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: events description
- Date: Fri, 08 Dec 2006 14:26:31 -0800
On Fri, 2006-12-08 at 22:57 +0100, giovanni gherdovich wrote:
Hello.
Where can I find a description for each event I can
handle with Gtk?
example:
the "configure_event" occurs when widget changes size,
the "expose_event" occurs when a widget ...
and so on.
gtk widgets handle expose and configure events pretty much
automatically. But if you're using a DrawingArea widget you can catch
those signals so you know when you have to re-render. See:
http://developer.gnome.org/doc/API/2.0/gtk/GtkDrawingArea.html
The Description section tells that you can capture expose and config
signals, and below that is an example of an expose handler.
The signals are now all live in GObject instead of Gtk. See:
http://www.gtk.org/tutorial/x159.html
for help with signals in general.
// Wally
Best regards,
Giovanni Gherdovich
__________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file
e i messaggi
http://mail.yahoo.it
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
--
Wallace Owen L-3Com com
Office: 619.278.2084
Cell: 619.990.2286
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]