[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
drawing with no realized/visible widget at hand.
- From: Manuel Estrada <ranty atdot org>
- To: gtk-app-devel <gtk-app-devel-list redhat com>
- Subject: drawing with no realized/visible widget at hand.
- Date: Sun, 31 Oct 1999 18:37:06 +0100 (CET)
I am trying to create a pixmap and draw into it to dump it
into a "drawing area" when requested, but I have to set things up and
even draw before the "drawing area" is realized.
Fact 1: I need to have a gdkwindow or know some color depth.
Problem 1: A non realized widget has no gdkwindow.
Fact 2: I need some GdkGC to have colors to draw with.
Problem 2.1: A non realized widget doesn't seam to have them.
Problem 2.2: I need a gdkwindow to create a GdkGC (see Problem 1)
Thanks in advance
Ranty
-------------------------------------------------
Manuel Estrada
Ranty@atdot.org
-------------------------------------------------
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]