some gtk2 code

Miscellaneous Forums/Linux Discussion/some gtk2 code

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.

In an effort to make it look like I've done something useful (for a change), I'm posting the current WIP GTK2 module for people to have a play with.
It's by no means complete, but it gives an idea of what it will be like to have pretty GTK apps from Max.

You can Download the alpha release via this link.

You will need the following packages installed to be able to create apps with GTK:

libgtk-2.0-dev
libgnomecanvas-2.0-dev
libgtkhtml-3.8-dev

(Selecting these in your favourite package manager should also get you the *many* other required packages that these ones use)
Remember, the dev packages are only required for building stuff. You use the standard libs for running the apps.

Things still missing :
Accelerator key handling
Canvas
Radio Button

and I'm sure there's a whole load of Free() gadgets I've missed along the way.

Only constructive comments please, or code snippets for testing. "It doesn't work" type comments are pointless and boring.

<WARNING>
Oh yeah... if you are not comfortable with the fact that the app (and IDE) might crash in a big, crunchy-sounding way, I wouldn't try this YET. (no skid, that doesn't include you ;-)
</WARNING>