While working on ShowCaret I decided to do SetCursor because I stumbled upon the code. :-)
I started it. It's not perfect yet (what is?) and there is an issue. It seems like each pgtkwidget has a pgdkwindow. If it doesn't have a pgdkwindow then widget^.window points to it's Parent's pgdkWindow. So, when I set the cursor (say for mwedit) it actaully set's it's parent's cursor. If it's parent is a form and the form has buttons on it, it seems to change the cursor for the buttons too.
For example, run lazarus, press the TESTFORM button and press the SETTEXT button on the test form. The text "Lazarus test code" appear in the mwedit. Then I change the cursor to the IBeam and now the entire form uses that cursor........see the problem? I haven't looked into it yet too much. Just wanted to get something working with the cursors.
Shane
