- 论坛徽章:
- 0
|
建议看看GTK+ Reference Manual,各种widget中针对每一个signal都有一个函数原型参考;
比如:以下是摘自该手册的GtkButton的 "active" signal
The "activate" signal
void user_function (GtkButton *widget,
gpointer user_data) : Run First / Action |
The ::activate signal on GtkButton is an action signal and emitting it causes the button to animate press then release. Applications should never connect to this signal, but use the "clicked" signal.
widget :
the object which received the signal.
user_data :
user data set when the signal handler was connected. |
|