🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x.pex
Article #5

Re: Drawing into DrawingArea widget

#5
From: Rich Thomson
Date: Wed, 04 Nov 1992 23:48
14 lines
1038 bytes
In article <100607@bu.edu>
	kiki@bass.bu.edu (Keith Baccki) writes:

>      gc = XCreateGC(display,XtWindow(iondrawable),GCForeground | GCBackground, &gcvalues);

Don't use XCreateGC when using the Intrinsics; always use XtCreateGC.
This helps sharing of GCs between widgets and the application.

						-- Rich
-- 
	Repeal the personal income tax; vote Libertarian in 1992.
Disclaimer: I speak for myself, except as noted; Copyright 1992 Rich Thomson
UUCP: ...!uunet!dsd.es.com!rthomson			Rich Thomson
Internet: rthomson@dsd.es.com	IRC: _Rich_		PEXt Programmer
Technical Details
Message-ID: <1992Nov4.234844.25188@dsd.es.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!orca!mesa!rthomson
References: <100607@bu.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.x.pex
Path: arc1-ca.pugleaf.net!sparky!uunet!orca!mesa!rthomson
From: rthomson@mesa.dsd.es.com (Rich Thomson)
Subject: Re: Drawing into DrawingArea widget
Message-ID: <1992Nov4.234844.25188@dsd.es.com>
Sender: usenet@dsd.es.com
Nntp-Posting-Host: 130.187.85.21
Reply-To: rthomson@dsd.es.com (Rich Thomson)
Organization: Design Systems Division, Evans & Sutherland, SLC, UT
References: <100607@bu.edu>
Date: Wed, 4 Nov 92 23:48:44 GMT
Lines: 14