[pygtk] GtkAssistant ending with a custom button

Gian Mario Tagliaretti gianmt at gnome.org
Tue Oct 16 18:49:41 WST 2007


2007/9/11, Peter Clifton <pcjc2 a cam.ac.uk>:

Hi Peter,

a bit late but...

> The GTK C API exposes the buttons in its instance structure:
>
>
> struct _GtkAssistant
> {
>   GtkWindow  parent;
>
>   GtkWidget *cancel;
>   GtkWidget *forward;
>   GtkWidget *back;
>   GtkWidget *apply;
>   GtkWidget *close;
>   GtkWidget *last;
>
>   /*< private >*/
>   GtkAssistantPrivate *priv;
> };
>
> So if they were exposed in the Python binding, we could grab the buttons
> and alter them presumably.


I guess it does make sense, if they are public fields in gtk, should
be the same for pygtk, would you mind to file a bug?

cheers
-- 
Gian Mario Tagliaretti


More information about the pygtk mailing list