Hello, I have a fairly good background in programming (scientific computing) but I'm completely ignorant when it comes to writing GUIs and I wondered if it was easy to draw a shape with Cairo and use it as a button. That is;
1. I draw a shape, e.g.; the rectangle in the cookbook (http://www.mono-project.com/Mono.Cairo_Cookbook) 2. The color of the shape change when the mouse pointer is moved over it. 3. You can click on the shape to do an event X. Also I wondered if it was possible; 4. To write a GUI with Mono/Cairo and using the code for Linux/Mac versions, but creating a windows .exe using Visual C# Express without modification to the code (that is, I take the mono project, open it with visual C# express and try to compile it). 5. To create complex shapes like regions in a map, and still to be able to click in one of these complex regions to do an event X. I only need to know these things are possible. If a better option than Cairo is available I'm also interested, but I really like the idea of using a vector-based library as it allows to resize images easily (well, in theory). The other alternative is using C++ with Qt, but I'm not a big fan of C++ and if Mono can do what Qt can do, I'd prefer Mono ! Thank you -- View this message in context: http://www.nabble.com/Buttons---Cairo-graphics-tp23216207p23216207.html Sent from the Mono - Gtk# mailing list archive at Nabble.com. _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
