Re: ScrolledWindow shadow type


Tim Janik wrote:

> On 21 Jul 2000, Owen Taylor wrote:

> > Currently, it is not possible to put a frame around a widget in a
> > GtkScrolledWindow, (such as a GnomeCanvas or GtkLayout), because the
> > scrollable widget must be the immediate child of the scrolled window.
> >
> > The following patch adds gtk_scrolled_window_get_shadow_type().
> >
> > The effect is similar to the Federico's gtkscrollframe in EOG,
> > but done from scratch.
> >
> > I'll commit this later today assuming no objections.

> this looks fine to me. i'm just reminded of the question, of whether
> we shouldn't introduce the shadow argument at the GtkWidget class, as
> more and more widgets use a shadow type.

Please: Introduce it :-)!

I hacked my own stuff to switch at chosen GtkButton to GTK_SHADOW_NONE.
It's a bad hack, i wish i could have the functionality to simply adjust
the shadow type value for any chosen GtkWidget.

Bye... SP.

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