[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

extending DrawingArea

Frederick Salardi

2/26/2007 9:05:00 PM

Hi all,

I am going to overrive the Gtk::DrawingArea in such a way that it can
support a nice looking draggable graph with possibility to add by
clicking new edges and vertices. By egdes i mean a moveable and
extendible edges ,also those vertices have to be moveable by the user
etc.

I have some problems as i am new to ruby. I take part in the
http://sourceforge.net/projects/rubyr... which is a non profit
project.

I would like someone skilled enought to tell me some hints regarding the
way to implement it .

I began with the samle ~/ruby/ruby-gnome2/samples/gtk/misc/drag-move as
well as the solution of draggable labels that i found in one of th
etoppics.

My main question is if the DrawingArea is the right widget to extend. Or
I should extend some other widget like EventBox , Image etc.

All ideas and hints are wellcome. Btw if any of u would like to help my
team (4 students new to ruby ;) ... u're welcome

--
Posted via http://www.ruby-....