Re: which are the scrollable widgets




Frode Vatvedt Fjeld <frodef@acm.org> writes:

> Havoc Pennington <hp@redhat.com> writes:
> 
> > You can check whether this is true:
> > 
> > (GTK_WIDGET_CLASS(GTK_OBJECT(widget)->klass)->set_scroll_adjustments_signal != 0)
> 
> % grep -l set_scroll_adjustments_signal gtk*.c
> gtkclist.c
> gtklayout.c
> gtktext.c
> gtkviewport.c
> gtkwidget.c
> 
> Removing GtkWidget from this list, is it exhaustive?

Yes, this is complete for the stock GTK+ widgets.
Other collections of widgets may add addititional scrollable
widgets, of course. For instance, GnomeCanvas derives
from GtkLayout and is thus scrollable.

Regards,
                                        Owen



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