Re: Getting a pointer to a dialog's 'Cancel' button
- From: "A. da Mek" <a da_mek0 ufoni cz>
- To: "gtk-app-devel-list" <gtk-app-devel-list gnome org>
- Subject: Re: Getting a pointer to a dialog's 'Cancel' button
- Date: Wed, 4 May 2011 13:20:38 -0000
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]