[Glade-users] Signal question.
- From: psilord at cs.wisc.edu (Peter Keller)
- Subject: [Glade-users] Signal question.
- Date: Mon, 13 Oct 2008 15:34:04 -0500
On Mon, Oct 13, 2008 at 03:29:30PM -0500, Alexey Kurochkin wrote:
I do not think GtkObject's "destroy" is the right signal. You might want
to try connecting gtk_widget_hide_on_delete() to "delete-event" signal
on the widget, or any custom function for that matter which would call
gtk_widget_hide() and return TRUE.
Ok, apparently I have found some bad info on the internet (really?), because
the examples I found for using glade-3 implied that the signal functions
had this prototype:
void some_func(GTKWidget *widget, gpointer user_data);
Is that not correct? If not, then what is the type and meaning of the
return value for these handler functions?
I'll try out your suggesstion when I get home, though.
Thank you.
-pete
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]