MESSAGE
DATE | 2004-08-22 |
FROM | Ruben Safir Secretary NYLXS
|
SUBJECT | Subject: [hangout] Re: GTK Documentation error
|
Yes
I just reread it. I was mixing up the callback function and the signal caller! That what I get for reading documentation at 3:30AM
Let me ask a more coherent question.
What is the difference between an event like 'button_press_event' and a signal like 'clicked'? If the events are unions, why is the tutorial listing all the second union members? Are they used in programming or just utilized internally in gtk_main?
Ruben
On Sun, Aug 22, 2004 at 10:20:45AM +0200, Sven Neumann wrote: > Hi, > > Ruben Safir Secretary NYLXS writes: > > > Is the documentation for GTk wrong in the tutorials > > > > It looks like this URL: > > > > http://www.gtk.org/tutorial/sec-events.html has an error when > > describing > > > > gint callback_func (GtkWidget *widget, > > GdkEvent *event, > > gpointer callback_data); > > > > Shouldn't there be 4 parameters, including the callback function? > > No, that's a misunderstanding on your side. Perhaps you want to reread > the chapter about signals once more. > > > Sven
-- __________________________ Brooklyn Linux Solutions
So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://fairuse.nylxs.com
http://www.mrbrklyn.com - Consulting http://www.inns.net <-- Happy Clients http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....
1-718-382-0585
----- End forwarded message -----
-- __________________________ Brooklyn Linux Solutions
So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://fairuse.nylxs.com
http://www.mrbrklyn.com - Consulting http://www.inns.net <-- Happy Clients http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....
1-718-382-0585 ____________________________ NYLXS: New Yorker Free Software Users Scene Fair Use - because it's either fair use or useless.... NYLXS is a trademark of NYLXS, Inc
|
|