mail-archives/gtk-sharp-list/2009-February/009466.html

67 строки
2.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Gtk-sharp-list] Drawing - Mouse Input
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20Drawing%20-%20Mouse%20Input&In-Reply-To=1235827907.6043.8.camel%40Einstein">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="009465.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Gtk-sharp-list] Drawing - Mouse Input</H1>
<B>Adam Tauno Williams</B>
<A HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20Drawing%20-%20Mouse%20Input&In-Reply-To=1235827907.6043.8.camel%40Einstein"
TITLE="[Gtk-sharp-list] Drawing - Mouse Input">awilliam at whitemice.org
</A><BR>
<I>Sat Feb 28 09:54:20 EST 2009</I>
<P><UL>
<LI>Previous message: <A HREF="009465.html">[Gtk-sharp-list] Drawing - Mouse Input
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#9466">[ date ]</a>
<a href="thread.html#9466">[ thread ]</a>
<a href="subject.html#9466">[ subject ]</a>
<a href="author.html#9466">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>&gt;<i> I'm planning to create a simple tool for drawing mazes/labyrinth. Is
</I>&gt;<i> it possible for a gtk drawing area to receive mouse input? My idea is
</I>&gt;<i> to logically divide the drawing-area into a number of sqares. By
</I>&gt;<i> performing a click on the drawing area one should then be able to
</I>&gt;<i> blacken the square, creating a wall. Would a gtk drawing area work out
</I>&gt;<i> for this? Which widget would you use?
</I>
Yes, DrawingArea is the correct widget for drawing or building entirely
custom widgets.
--
OpenGroupware developer: <A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">awilliam at whitemice.org</A>
&lt;<A HREF="http://whitemiceconsulting.blogspot.com/">http://whitemiceconsulting.blogspot.com/</A>&gt;
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="009465.html">[Gtk-sharp-list] Drawing - Mouse Input
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#9466">[ date ]</a>
<a href="thread.html#9466">[ thread ]</a>
<a href="subject.html#9466">[ subject ]</a>
<a href="author.html#9466">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">More information about the Gtk-sharp-list
mailing list</a><br>
</body></html>