RE: [gtk-list] GtkClist not scrolling
- From: Lars Hamann <lars gtk org>
- To: gtk-list redhat com
- Subject: RE: [gtk-list] GtkClist not scrolling
- Date: Wed, 18 Nov 1998 09:09:54 +0100 (CET)
On 17-Nov-98 Marcus Brito wrote:
> I've got a really annoying problem here. It seems that GtkClist is not
> scrolling, neither vertical, nor horizontal. The scrollbars simple don't
> appear.
>
> I'm using GTK from CVS, grabbed 2 days ago. I've checked the gtkclist.c
> source file, and found that the method gtk_clist_set_policy is nearly
> empty. Take a look:
>
> void
> gtk_clist_set_policy (GtkCList *clist,
> GtkPolicyType vscrollbar_policy,
> GtkPolicyType hscrollbar_policy)
> {
> g_return_if_fail (clist != NULL);
> g_return_if_fail (GTK_IS_CLIST (clist));
> }
>
> How could I fix this?
CList has lost the scrollbars. You have to create a scrolled_window
and put the clist into the scrolled_window. You can use
gtk_scrolled_window_set_policy as replacement of
gtk_clist_set_policy then.
bye,
Lars
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]