1

I read about the removing of border from this GTK widget (you can see it in this image http://developer.gnome.org/gtk/2.24/scrolledwindow.png) in Python or C#

How to do that if I'm working in ANSI C? How can I set the "famous" border style property?

Community
  • 1
  • 1
TheUnexpected
  • 3,077
  • 6
  • 32
  • 62

1 Answers1

1

I think I figured out by myself. My scrollable window is scrollable_component, the trick is to get its child, that's the viewport, and set its shadow property.

gtk_viewport_set_shadow_type(GTK_VIEWPORT(gtk_bin_get_child(scrollable_component)), GTK_SHADOW_NONE);
TheUnexpected
  • 3,077
  • 6
  • 32
  • 62