comp.lang.ada
 help / color / mirror / Atom feed
* gtk ada colormaps
@ 2002-03-15 10:26 tony
  2002-03-15 10:44 ` tony
  0 siblings, 1 reply; 3+ messages in thread
From: tony @ 2002-03-15 10:26 UTC (permalink / raw)



I'm adding some text to a textbox in Gtk,  to do this I need to define
the colours black and white using the system colormap (hhhmmmmm) and now
I have a storage error does any one know the size of these colormaps ?
so I can add a pragma storage ?



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gtk ada colormaps
  2002-03-15 10:26 gtk ada colormaps tony
@ 2002-03-15 10:44 ` tony
  2002-03-15 11:03   ` tony
  0 siblings, 1 reply; 3+ messages in thread
From: tony @ 2002-03-15 10:44 UTC (permalink / raw)



Even more to the point where would you stick a storage pragma in a
gtkada application. I have put this in the first screen_pkg of my
application and had to take it out for compilation.

Is there a dynamic allocation within gdk or gtk ?



tony wrote:
> 
> I'm adding some text to a textbox in Gtk,  to do this I need to define
> the colours black and white using the system colormap (hhhmmmmm) and now
> I have a storage error does any one know the size of these colormaps ?
> so I can add a pragma storage ?



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gtk ada colormaps
  2002-03-15 10:44 ` tony
@ 2002-03-15 11:03   ` tony
  0 siblings, 0 replies; 3+ messages in thread
From: tony @ 2002-03-15 11:03 UTC (permalink / raw)



problem solved, the colormaps have to be set during intialisation of the
screen.

sorry about the use of space as a notebook..........



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-03-15 11:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-15 10:26 gtk ada colormaps tony
2002-03-15 10:44 ` tony
2002-03-15 11:03   ` tony

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox