GTK + Canvas: How to???

BlitzMax Modules Forums/Brucey's Modules/GTK + Canvas: How to???

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

yes and no. i had to import eventqueue in both of them. glcube.bmx does work for me, but it is using glgraphics and i want to use max2d. though i tried createcanvas.bmx and i did not work for me. it starts, outputs some debug info and thats all...:

...
TimerTick: data=480, mods=0, x=0, y=0, extra=""
GadgetPaint: data=0, mods=0, x=0, y=0, extra=""
TimerTick: data=481, mods=0, x=0, y=0, extra=""
GadgetPaint: data=0, mods=0, x=0, y=0, extra=""
TimerTick: data=482, mods=0, x=0, y=0, extra=""
GadgetPaint: data=0, mods=0, x=0, y=0, extra=""
TimerTick: data=483, mods=0, x=0, y=0, extra=""
GadgetPaint: data=0, mods=0, x=0, y=0, extra=""
TimerTick: data=484, mods=0, x=0, y=0, extra=""
GadgetPaint: data=0, mods=0, x=0, y=0, extra=""
TimerTick: data=485, mods=0, x=0, y=0, extra=""
...


and so on. it opens up a very very small "window" (it so small, that you cant even talk of a window), just 1x4 pixels or so.