Re: pixmap doesn´t show in drawing_area

2002-03-24 Thread der . gilb
Hi, [EMAIL PROTECTED] schrieb am 24.03.2002, 02:22:28: [stupid problem] I found a solution by myself; it was a really beginner´s mistake :o The error occurred because I had no expose_event for my drawing_area. I thought you don´t need it if you just want to draw a single item without moving

RE: pixmap doesn´t show in drawing_area

2002-03-24 Thread hunchback
I found a solution by myself; it was a really beginner´s mistake :o The error occurred because I had no expose_event for my drawing_area. I thought you don´t need it if you just want to draw a single item without moving your window and so on. that's right, i think that it is a silly

RE: pixmap doesn´t show in drawing_area

2002-03-24 Thread hunchback
oh... just one more thing, for C++ there is a wrapper for GTK+, GTKmm (aka GTK--). http://sourceforge.net/gtkmm i didn't manage to install it on my pc... there must be something wrong here... but it is much more pleasant to work with than GTK+.. Afonso

Re: pixmap doesn?t show in drawing_area

2002-03-24 Thread rsteinke
From: [EMAIL PROTECTED] And when you include C librarys in C++ do it in this way: extern C{ #include gtk/gtk.h #include gdk/gdk.h } This shouldn't be necesarry with gtk, because the headers include the 'extern C' stuff, wrapped in '#ifdef __cplusplus'. Ron Steinke

RE: pixmap doesn´t show in drawing_area

2002-03-24 Thread Murray Cumming
le dim 24-03-2002 à 14:15, [EMAIL PROTECTED] a écrit : oh... just one more thing, for C++ there is a wrapper for GTK+, GTKmm (aka GTK--). http://sourceforge.net/gtkmm The correct link is http://gtkmm.sourceforge.net i didn't manage to install it on my pc... there must be something wrong

RE: pixmap doesn´t show in drawing_area

2002-03-24 Thread hunchback
The correct link is http://gtkmm.sourceforge.net sorry, my mistake.. i didn't manage to install it on my pc... there must be something wrong here... Don't report problems without giving us details so that we can help you. That's just disinformation. The problem must be a problem when i

pixmap doesn´t show in drawing_area

2002-03-23 Thread der . gilb
Hello, I´d like my programm to open a window and draw some boxes (or what ever) into it. I came to the conclusion that a drawing_area and a pixmap should do this. So I created a drawing_area and a pixmap. Then I tried to draw someting onto the pixmap and put it on the drawing_area. But nothing