Re: [gtk-list] gtk draw shadow ?
- From: Nicolas GEORGE <george clipper ens fr>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] gtk draw shadow ?
- Date: Thu, 16 Mar 2000 22:34:06 +0100 (CET)
Andreas Scherf, dans le message (.gtk.general:2243), a écrit :
> I have an eventbox with a preview inside, now i want to draw a shadow around
> this to make it look more nice ... But while running the app the following
> message appears :
>
> Gtk-CRITICAL **: file gtkstyle.c: line 1346 (gtk_default_draw_shadow): assertion `window != NULL' failed.
The gdk_* functions are functions that deal directly with the display. You
must draw the shadow when the widget gets displayed, that is when you catch
expose events. But here, I think you should try to add a gtk_frame around
your event box.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]