Re: border style in Containers



On Tue, 18 Jul 2000, Fabiano Fantini Vitale wrote:

> hello,
> I want to know if exists border styles in GtkContainers.
> this, to have visual effect of layers when a container is upper of the other
> (the same in Delphi - bevel in, bevel out) 

 Hi, 

 Use GtkFrame for it with empty label. You can set the "border style" using 
gtk_frame_set_shadow_type(frame,shadow), where shadow can be one of the
following:

  GTK_SHADOW_NONE,
  GTK_SHADOW_IN,
  GTK_SHADOW_OUT,
  GTK_SHADOW_ETCHED_IN,
  GTK_SHADOW_ETCHED_OUT

> thanks
> -- 
> Fabiano Fantini Vitale <ffv@conectiva.com.br>
> Conectiva S.A.
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-list
> 

 Best regards,
  -Vlad





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