Re: Getting a pointer to a dialog's 'Cancel' button
- From: Emmanuel Thomas-Maurin <manutm007 gmail com>
- To: John Emmas <johne53 tiscali co uk>
- Cc: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Re: Getting a pointer to a dialog's 'Cancel' button
- Date: Wed, 04 May 2011 13:30:41 +0200
Secondly, how do I obtain a pointer to the dialog's 'Cancel' button so that I can connect a signal handler
to it? 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.
You could add the cancel button after creating the dialog with
gtk-dialog-add-button:
http://developer.gnome.org/gtk/stable/GtkDialog.html#gtk-dialog-add-button
--
Emmanuel Thomas-Maurin <manutm007 gmail com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]