Re: gtk_widget_draw()



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]