Re: Frame around client window using theme-engine



"Riswick, J.G.A. van" <J G A v Riswick tue nl> writes: 
> Unfortunately, it doesn't seem to work, nothing happens. 
> Maybe an experienced theme engine writer on this list knows an 
> easy way to do this.
> 

You probably want your engine to do something different based on the
"detail" field, e.g. in GTK 2 the window is drawn like this:

static void
gtk_window_paint (GtkWidget     *widget,
                  GdkRectangle *area)
{
  gtk_paint_flat_box (widget->style, widget->window, GTK_STATE_NORMAL,
                      GTK_SHADOW_NONE, area, widget, "base", 0, 0, -1,
-1);
}

Not sure about 1.2 but maybe the same possibility is there.

BTW if you patch Notif you might put the result in bugzilla, 
others could benefit from a nicer Notif engine.

Havoc



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