[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Obtaining the number of the current color table

 Hi All,

  currently I am writing a package of software that for some reason has to keep track of the currently active colortable.  To give the user a chance to adjust this table,  I am calling (since it all has to be GUIfied these days...) xloadct - but xloadct itself does not give back the number of the loaded table.

  Does anybody know how to comfortably obtain this number?  I know there is XCOLORS which might help via an event,  but I'd rather rely on standard functions...


   M. Feldt

  /| '` |\   Markus Feldt          Voice:           +49 6221 528 262
 |_| `' |_|  Max-Planck-Institut   Fax:             +49 6221 528 246
  --------   fuer Astronomie       E-Mail:     mfeldt@mpia-hd.mpg.de
 |  MPIA  |  Koenigstuhl 17        Web: http://www.astro.uni-jena.de
 |________|  D-69117 Heidelberg, Germany        Si, !asi es la vida!