Re: Getting a pointer to a dialog's 'Cancel' button



how do I obtain a pointer to the dialog's 'Cancel' button so that I can
connect a signal handler to it?

I think that you can also connect to the "response" signal of the dialog and
check the response ID.

I looked for functions like gtk_dialog_get_child() or
gtk_window_get_child_with_id() or something similar but I couldn't find
anything.

dialog->action_area is GtkHButtonBox,
so you can get GList of its childrens and browse through it with
g_list_foreach




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