Re: GtkFontSelectionDialog fields



Andrei Zmievski <andrei ispi net> writes:
> I'm writing language bindings for GTK+. In GtkFontSelectionDialog, are
> all the following fields considered publicly accessible?
> 
>   GtkWidget *fontsel;
> 
>   GtkWidget *main_vbox;
>   GtkWidget *action_area;
>   GtkWidget *ok_button;
>   /* The 'Apply' button is not shown by default but you can show/hide
>  * it. */
>   GtkWidget *apply_button;
>   GtkWidget *cancel_button;
> 
>   /* If the user changes the width of the dialog, we turn auto-shrink
>  * off. */
>   gint dialog_width;
>   gboolean auto_resize;
> 
> The manual says they are private, but you'd need access to ok_button and
> others to connect the signals, right?
> 

Probably so. It looks to me like you have to access the struct fields.

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]