I am using GTK3 and trying to use the GtkDrawingArea widget. When I try and connect the "draw" signal to the widget, the compiler says that the "draw" signal is not recognized by the class. Something is wrong here since I am trying to run an example out of the GTK3 documentation. I have tried to locate the problem in the headers but have not found the location yet. Anyone know where I should look to find the problem? I suspect a misspelling or something in the header file.
Linux specific questions.
2 posts • Page 1 of 1
I think I figured out the problem. It appears that the Freebasic GTK3 bindings are a hodge podge of GTK3 and GTK2. The GtkDrawingArea is still basically defined as GTK2. In GTK2, the "expose_event" signal will handle redrawing the contents of the widget whereas this changed in GTK3 to "draw". I think I will stick to GTK2 in my Freebasic GTK endeavors.
Who is online
Users browsing this forum: No registered users and 11 guests