Re: gtk_widget_draw()
- From: Alexander Larsson <alexl redhat com>
- To: Matthias Clasen <matthias clasen gmail com>
- Cc: Federico Mena Quintero <federico ximian com>, gtk-devel-list <gtk-devel-list gnome org>, Benjamin Otte <otte gnome org>
- Subject: Re: gtk_widget_draw()
- Date: Wed, 18 Aug 2010 15:14:52 +0200
On Wed, 2010-08-18 at 07:58 -0400, Matthias Clasen wrote:
> On Wed, Aug 18, 2010 at 3:37 AM, Alexander Larsson <alexl redhat com> wrote:
>
> >
> > There are all sorts of ways you can hack it into GtkButton or any
> > specific widget, I'm sure. However, its hard to do in a more generic way
> > for a theme. I was thinking the theme could just set a style property to
> > have the widget enlarge its border, and then the theme just draws a bit
> > outside in its normal rendering operation. No hacks, no special code,
> > works for all widgets.
> a solution.
>
> We are just about to remove that style property, called
> GtkWidget::draw-border, since it has some overhead, and nobody ever
> used it.
>
> See bug http://bugzilla.gnome.org/show_bug.cgi?id=426924
Seems to not be very interesting then.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alexander larsson gmail com
He's a Nobel prize-winning native American matador on a mission from God.
She's a supernatural thirtysomething angel from beyond the grave. They fight
crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]