Newbie Question about Navigating API doco



Hi All,

I am just starting out and going through the tutorial.  I was
wondering where I could find other signal strings like "delete_event"
in the api?

I noticed that it is defined in gtkwidget.c

Do I need to know this kind of stuff?

Sorry about the vague question, don't know enough to ask about it
properly.  The point is, if say in the helloWorld program in the
tutorial I change all instances of the string "delete_event" to
"monkey" the program still compiles.  When I run it though I get:

$ ./helloWorld
(helloWorld:9999): GLib-GObject-WARNING **:
/build/buildd/glib2.0-2.14.1/gobject/gsignal.c:1669: signal `monkey'
is invalid for instance `0x8077000'

I can't find a reference to "delete_event" in the API.  But possibly
not looking in the right place.  Can someone point me to it and others
like it for other widgets?

Many thanks,

Peter.


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