Re: [gtk-list] Re: Graphic Contexts
- From: Guillaume Laurent <glaurent worldnet fr>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Graphic Contexts
- Date: 14 Mar 2000 00:31:32 +0100
Owen Taylor <otaylor@redhat.com> writes:
> You seem to be using C++, in which case you'll need an explicit
> cast:
>
> (GdkGCValuesMask) GDK_GC_FOREGROUND | GDK_GC_BACKGROUND
Nitpick - this is usually written like this :
GdkGCValuesMask(GDK_GC_FOREGROUND | GDK_GC_BACKGROUND)
It reads a bit more nicely.
--
Guillaume.
http://www.telegraph-road.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]