- From: faboo <eca xpres net>
- To: <gtk-app-devel-list gnome org>
- Subject: Re: Output
- Date: Sun, 3 Jun 2001 22:27:39 -0400
On Sunday 03 June 2001 01:36 pm, gd001 wrote:
How does one make the buttons do something. For example, I've been
exploring the Glade packages which came with the Linux distribution. Now
it all looks wonderful, but after studing GTK I can't figure out how to
attache an event to these graphics. Should I write a C program function
and can it be called by pushing a button?
You need to connect the "clicked" signal to some function, like this:
Pennington's book, GTK+/Gnome Application Development, covers this. It's a
free book (as in speech, and as in beer), and is available from
developer.gnome.org. It's a good intro. You can check the gtk+ api reference
at www.gtk.org for more on button signals (or anything else about gtk).
"and fuck moments "If there's another life,
I want an hour to once again be And if I get to choose,
a long time." I'd like to be a daisy."
-Out Loud, -Greening of America,
Tim Mason Counting Crows
] [Thread Prev