some gtk2 code

Miscellaneous Forums/Linux Discussion/some gtk2 code

Hi Seb, thanks for the reports...

You might like to try running the crashing IDE in strace...
strace ./gtkMaxIDE

It will create a "stack" trace and may help pin down where it blows up. Unfortunately, Max doesn't create any useful symbols so if it crashes inside Max code (rather than in say, a gtk lib) it'll be a bit harder to track it down.
I've also used gdb (gnu debugger) on max code to track down some problems in the past, but it's not the easiest program to get to grips with.
If strace produces anything remotely coherent, you might want to post it in a codebox here...


The GADGET_ACTION event must be being raised by the SetButtonState... so I will wrap that so that it doesn't.

The ampersand thing... I only coded it for Menus - silly me - not thinking about buttons etc... I presume it is *only* buttons that need this?
Will sort that out too :-)

P.S... feedback is very much appreciated, and definitely required if improvements are to be made.
As Skid will tell you, I do post a lot of bug reports for MaxGUI...

Yeah, you tend to find a lot of bugs when writing a GUI editor, like I have with GED ;-)