[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: scrolled window ugliness (the answer)
- From: "Suing, Greg" <suing boystown org>
- To: "'Gtk App List'" <gtk-app-devel-list redhat com>
- Subject: RE: scrolled window ugliness (the answer)
- Date: Tue, 1 Jun 1999 10:28:54 -0500
I've resolved the 'ugliness' problem. The online GTK+ tutorial states:
"You can then place your object into the scrolled window using the
following function."
gtk_scrolled_window_add_with_viewport(
GtkScrolledWindow *scrolled_window, GtkWidget *child);
It's the gtk_scrolled_window_add_with_viewport() function that results
in the unwanted border around the clist control. If I instead use:
gtk_container_add(GTK_CONTAINER(my_scrolled_window), my_clist);
all is well. The border is gone and the clist can use the default
shadow type (GTK_SHADOW_IN). Thanks to everyone for their suggestions.
---
Greg Suing (suing@boystown.org)
Boys Town National Research Hospital
Omaha, Nebraska
402-498-6752
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]