Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!hc!lll-winken!arisia!sgi!shinobu!odin!fudge!karlton From: karlton@fudge.sgi.com (Phil Karlton) Newsgroups: comp.windows.x Subject: Re: Variable length window properties Message-ID: <170@odin.SGI.COM> Date: 28 Jun 89 18:13:02 GMT References: <3517@ncar.ucar.edu> <1264@riscy.dec.com> <1028@cernvax.UUCP> Sender: news@odin.SGI.COM Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 16 In article <1028@cernvax.UUCP> jones@cernvax.UUCP (robert jones) writes: > >Does anyone know how to create a window property of varying length? >I want to collect a list of integers in a property by prepending each one >to the existing list. At the moment I define some maximum length and mark >the start of the list with a special value but this seems wasteful. I am having a little trouble understanding the question. All properties are inherently variable length. Successive calls of the form XChangeProperty(dpy, w, prop_atom, XA_INTEGER, 32, PropModePrepend, &value, 1) should (somewhat inefficiently) grow a property in the manner you wish. PK