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
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
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
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
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
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
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