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



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]