Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!ccut!wnoc-tyo-news!ascwide!ascgw!fgw!pfrad!ace!melby From: melby@daffy.yk.Fujitsu.CO.JP (John B. Melby) Newsgroups: comp.windows.x Subject: Re: Changing the name of an already created widget Message-ID: Date: 16 Dec 90 23:44:45 GMT References: <1990Dec12.182623.1365@uvm.edu> <9012131826.AA12950@excess.lcs.mit.edu> Sender: news@ace.yk.fujitsu.co.jp Organization: Open Systems Dept. Div. 2 Sect. 1, FUJITSU LTD. Lines: 17 Nntp-Posting-Host: daffy In-reply-to: converse@EXPO.LCS.MIT.EDU's message of 14 Dec 90 03:26:23 JST >> 1. Will changing the name of an already created widget have any ill effects? >Yes >> 2. Is there a way that I can change the resource settings for a widget to >> reflect a name change? > There is no way to change the name of an existing widget. Sure there is... w->core.name = s; w->core.xrm_name = XrmStringToQuark(s); Of course, this will not be sufficient if you're looking for a way to modify the defaults. ----- John B. Melby Fujitsu Limited, Machida, Japan melby%yk.fujitsu.co.jp@uunet