Re: Frame around client window using theme-engine
- From: Havoc Pennington <hp redhat com>
- To: "Riswick, J.G.A. van" <J G A v Riswick tue nl>
- Cc: "'gtk-devel-list gnome org'" <gtk-devel-list gnome org>
- Subject: Re: Frame around client window using theme-engine
- Date: 02 Jun 2002 22:42:10 -0400
"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]