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

RE: scrolled window ugliness (the answer)



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]