Re: gtk_widget_draw()



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


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