[pygtk] Apply button behavior with GtkDialog

2008-02-27 Thread Mitko Haralanov
In the application that I am working on, I have a GtkDialog with three action buttons: Apply, Cancel, and OK. All three buttons return a GTK_RESPONSE when clicked (I am using the GtkDialog's run method). When the user presses the OK or CANCEL buttons everything is fine, since on those button

Re: [pygtk] Apply button behavior with GtkDialog

2008-02-27 Thread John Dennis
Mitko Haralanov wrote: In the application that I am working on, I have a GtkDialog with three action buttons: Apply, Cancel, and OK. All three buttons return a GTK_RESPONSE when clicked (I am using the GtkDialog's run method). When the user presses the OK or CANCEL buttons everything is fine,

Re: [pygtk] Check if value-changed signal is emitted by user action

2008-02-27 Thread Dominic Sacré
On Tuesday 26 February 2008 17:09:25 Seltzer wrote: I had the same poblem for a long time. Right now we let the backend change the value normaly, and dont activate a value changed callback. For user interaction, we catch both the button-press-event and the button-release-event from the

[pygtk] Dynamically adding glade widgets?

2008-02-27 Thread Mitko Haralanov
I used glade to design my GUI and in one of the dialogs I have a HBox with only one cell. In that cell, I have a tree of widgets which form the content of the cell. What I want to have is a button, which the user can click and the action would be that a new tree of widgets (identical to the