[Gtk-sharp-list] some enlightenment
Gonzalo Odiard
go@turix.com.ar
Tue, 09 Nov 2004 16:27:04 -0300
This is a multi-part message in MIME format.
--------------040801010609040406000100
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
You can try diacanvas# http://diacanvas.sourceforge.net/csharp.php
Paulo Pires wrote:
>Well, it's an approach, and that's what I'm looking for.
>
>My perspective is something like Visio. The road map is an image, the
>background of a "canvas" or a "grid", which I'll call map from now. Then
>I would have a toolbar with my buttons, each one representing some
>object. When drag n' dropped into that map, it would instantiate the
>connected object and store the coordinates in the map, and the variables
>I which to save.
>
>I'm splitting the problem in two: the app and the app gui! I'm
>developing the app "forgetting" the gui, but then I'll have to link the
>gui to the core, so there is the needed interaction.
>
>I'm trying to get as much different ideas as I can, so I can decide
>better which way to take. But my main issue is what GTK# widgets to use
>to get this going.
>
>
>Many thanks for your tip
>Paulo Pires
>
>
>Ter, 2004-11-09 às 12:54 -0500, Orlando Karam escreveu:
>
>
>>I think a simpler approach might work, but I may be wrong (happens all
>>the time :).
>>
>>The traffic lights, etc can (on screen) probably be simple widgets, like
>>buttons (they can have images). You create them, and can move them etc.
>>You may want to keep a list or something with all of them too.
>>
>>I'm not sure if you're getting the map as an already drawn figure, or as
>>one you draw. If it's already drawn, then displaying it is simple (again
>>a button or something). If you have to draw it, you may use DrawingArea,
>>or just a bunch of widgets again.
>>
>>How are you representing your map ? is there a grid ? if so, then you
>>can just use a widget per cell, and change the image depending on what
>>the widget is.
>>
>>Would something like this work ? is this too simple ?
>>On Tue, 2004-11-09 at 06:40, Paulo Pires wrote:
>>
>>
>>>Hi fellows!
>>>
>>>I am developing a Traffic Control Management System, which 1st version
>>>main goal is to be a design platform where I can drop a road map and
>>>then insert/delete/move traffic-lights and other traffic-control-systems
>>>(like speed-measurers) in image format. Each control (image) can be
>>>selected and deleted/moved at anytime and I must know which control is
>>>selected, since each one of them will have different configurations
>>>(such as timing, state, etc). After everything is configured, there
>>>should be a "simulator", which, following the configurations for the
>>>several controls, will demonstrate the "real" project behavior.
>>>
>>>The question here is that I'm willing to deploy it in GTK#, and I've
>>>never worked, at this level, with GTK (or other GUI besides VB :$). I'm
>>>following GTK# since September but I feel like it's not enough for my
>>>task.
>>>
>>>I've got Edd & Niel's book "Mono - A Developer's Notebook" and I think
>>>that my solution is probably around DrawingArea but I have serious
>>>issues, like i don't want to renderize my work into one single image. I
>>>want to work images (controls) independantly.
>>>
>>>I would really appreciate some enlightenment about which is the best
>>>approach, for you guys, to get this going.
>>>
>>>I really don't want to get back to VB to get this project on
>>>schedule :(.
>>>
>>>
>>>So many thanks in advance,
>>>Paulo Pires
>>>
>>>_______________________________________________
>>>Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com
>>>http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>>>
>>>
>
>_______________________________________________
>Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>
>
>
--------------040801010609040406000100
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
You can try diacanvas# <a class="moz-txt-link-freetext" href="http://diacanvas.sourceforge.net/csharp.php">http://diacanvas.sourceforge.net/csharp.php</a><br>
<br>
<br>
Paulo Pires wrote:
<blockquote cite="mid1100027805.3579.10.camel@localhost" type="cite">
<pre wrap="">Well, it's an approach, and that's what I'm looking for.
My perspective is something like Visio. The road map is an image, the
background of a "canvas" or a "grid", which I'll call map from now. Then
I would have a toolbar with my buttons, each one representing some
object. When drag n' dropped into that map, it would instantiate the
connected object and store the coordinates in the map, and the variables
I which to save.
I'm splitting the problem in two: the app and the app gui! I'm
developing the app "forgetting" the gui, but then I'll have to link the
gui to the core, so there is the needed interaction.
I'm trying to get as much different ideas as I can, so I can decide
better which way to take. But my main issue is what GTK# widgets to use
to get this going.
Many thanks for your tip
Paulo Pires
Ter, 2004-11-09 às 12:54 -0500, Orlando Karam escreveu:
</pre>
<blockquote type="cite">
<pre wrap="">I think a simpler approach might work, but I may be wrong (happens all
the time :).
The traffic lights, etc can (on screen) probably be simple widgets, like
buttons (they can have images). You create them, and can move them etc.
You may want to keep a list or something with all of them too.
I'm not sure if you're getting the map as an already drawn figure, or as
one you draw. If it's already drawn, then displaying it is simple (again
a button or something). If you have to draw it, you may use DrawingArea,
or just a bunch of widgets again.
How are you representing your map ? is there a grid ? if so, then you
can just use a widget per cell, and change the image depending on what
the widget is.
Would something like this work ? is this too simple ?
On Tue, 2004-11-09 at 06:40, Paulo Pires wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi fellows!
I am developing a Traffic Control Management System, which 1st version
main goal is to be a design platform where I can drop a road map and
then insert/delete/move traffic-lights and other traffic-control-systems
(like speed-measurers) in image format. Each control (image) can be
selected and deleted/moved at anytime and I must know which control is
selected, since each one of them will have different configurations
(such as timing, state, etc). After everything is configured, there
should be a "simulator", which, following the configurations for the
several controls, will demonstrate the "real" project behavior.
The question here is that I'm willing to deploy it in GTK#, and I've
never worked, at this level, with GTK (or other GUI besides VB :$). I'm
following GTK# since September but I feel like it's not enough for my
task.
I've got Edd & Niel's book "Mono - A Developer's Notebook" and I think
that my solution is probably around DrawingArea but I have serious
issues, like i don't want to renderize my work into one single image. I
want to work images (controls) independantly.
I would really appreciate some enlightenment about which is the best
approach, for you guys, to get this going.
I really don't want to get back to VB to get this project on
schedule :(.
So many thanks in advance,
Paulo Pires
_______________________________________________
Gtk-sharp-list maillist - <a class="moz-txt-link-abbreviated" href="mailto:Gtk-sharp-list@lists.ximian.com">Gtk-sharp-list@lists.ximian.com</a>
<a class="moz-txt-link-freetext" href="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">http://lists.ximian.com/mailman/listinfo/gtk-sharp-list</a>
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
_______________________________________________
Gtk-sharp-list maillist - <a class="moz-txt-link-abbreviated" href="mailto:Gtk-sharp-list@lists.ximian.com">Gtk-sharp-list@lists.ximian.com</a>
<a class="moz-txt-link-freetext" href="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">http://lists.ximian.com/mailman/listinfo/gtk-sharp-list</a>
</pre>
</blockquote>
</body>
</html>
--------------040801010609040406000100--