a chain of events, not quite sure what you mean. can you elaborate?
if you mean, just do things in a certain order, just code it. as in,
doThis();
doThat();
doThisOtherThing();
are you new to programming in c++, or programming in gerneral? i recomend www.cprograming.com for tips on this language. also, in the program files, there is some documentation, but it is a little dated. if you are truely new to programming, think of dark gdk as a set of machines that you put in values and get values out, as well as doing tasks. dbLoadImage for example takes an image file from your computer and stores it in the program, and you can use dbSprite to set its position and dbMoveSprite to move it around. dbMouseX will return a value for where on the x axis the mouse cursor is at.
-to the optimist, the glass is half full. to the pessimist, it is half empty, to the engineer, it is twice as big as it needs to be.