Hi All, I have been trying to attach a scrollbar to a text widget. But I am facing problems doing so.I've figured out that Gtk_Text has a 'vadj' and 'hadj' of type Gtk_Adjustment. And so I need to give Gtk_VScrollBar the 'vadj' to get it to work. This is what I am doing: text = gtk_text_new (NULL, NULL); /* uses the newly-created adjustment for the scrollbar as well */ vscrollbar = gtk_vscrollbar_new (GTK_TEXT(text)->vadj); The error which I see is: invalid type argument of `->' invalid type argument of `->' please suggest.. Thanks in advance -hari _______________________________________________ Gimp-developer mailing list Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer