I try to draw something by use Pixmap and Drawing
area but I get some problem.What is cause of problem?How can I fix
it?Please tell me, thank you very much.
Poblem is
1) Gdk-CRITICAL **: file gdkdraw.c: line 90
(gdk_draw_rectangle): assertion `gc != NULL' failed.
error 1) occur when I
beer wrote:
I try to draw something by use Pixmap and Drawing area but I get some
problem.
What is cause of problem?
How can I fix it?
Please tell me, thank you very much.
Poblem is
1) Gdk-CRITICAL **: file gdkdraw.c: line 90 (gdk_draw_rectangle):
assertion `gc != NULL'
Hi,
Olexiy Avramchenko [EMAIL PROTECTED] writes:
You have to be sure that your widget (GtkDrawingArea) was realized.
If not - all gdk stuff inside it is not allocated.
The simpliest way is to call gtk_widget_show(area) after area creation
(before all your drawlings).
Olexiy is right here
I try to draw something by use Pixmap and Drawing
area but I get some problem.What is cause of problem?How can I fix
it?Please tell me, thank you very much.
Poblem is
1) Gdk-CRITICAL **: file gdkdraw.c: line 90
(gdk_draw_rectangle): assertion `gc != NULL' failed.
error 1) occur when I