IBM developerWorks: GNOMEnclature: Graphics made easy using the GNOME CanvasJan 30, 2000, 16:31 (0 Talkback[s])
(Other stories by George Lebl)
No-Size-Fits-All! An Application-Down Approach for Your Cloud Transformation REGISTER >
"GNOME Canvas is a powerful graphics tool that can help you present data, build games, and much more. Following up his previous columns in which he showed you how to build the code and a GUI for a basic genealogy program, developerWorks columnist George Lebl introduces you to GNOME Canvas by constructing a simple graphical game in this tutorial."
"Last month you learned how to store things on disk with XML....In this month's installment, we look at how to present your data graphically using the GNOME Canvas. But the canvas doesn't have to be used for graphics only; if the standard widgets don't fit your needs, you may want to use the canvas."
"For example, the gnumeric spreadsheet uses the canvas instead of a widget to draw the actual spreadsheet. However, we will work with a slightly more fun example: a game called Piskvorky. OK, that's not fair -- that's the Czech name. In English it's usually called Gomoku. It's basically tic-tac-toe played on a larger board, and you have to connect 5 of your marks to win. We will not put any intelligence into the code, and we'll let the user play both sides."
0 Talkback[s] (click to add your comment)