# Re: Selecting appropriate widgets -- advice please

**URL:** <https://www.ruby-forum.com/t/re-selecting-appropriate-widgets-advice-please/77008>\
**Category:** Ruby-Gnome 2\
**Created:** [November 23, 2006, 11:51am UTC](https://www.ruby-forum.com/t/re-selecting-appropriate-widgets-advice-please/77008 "2006-11-23T11:51:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike\_Wilson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/c5a1d2/32.png) [@Mike\_Wilson](https://www.ruby-forum.com/u/Mike_Wilson)\
**Post date:** [November 23, 2006, 11:51am UTC](https://www.ruby-forum.com/t/re-selecting-appropriate-widgets-advice-please/77008/1 "2006-11-23T11:51:30Z")

</div>

In the gtk/ruby source dist I found the file drag-move.rb which is a  
very useful example of how to do pretty much what I want to do. I  
recommend anyone interested in high-ish level drawing, moving & dragging  
have a look at this.

* * *

Mike Wilson, Coedpoeth, Wrexham, North Wales  
[www.whisperingwind.co.uk](http://www.whisperingwind.co.uk)

----- Original Message ----  
From: Detlef R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
To: removed\_email\_address@domain.invalid  
Sent: Sunday, 19 November, 2006 9:54:15 AM  
Subject: Re: [ruby-gnome2-devel-en] Selecting appropriate widgets –  
advice please

On So, 2006-11-19 at 09:08 +0000, Mike Wilson wrote:

> D&D myself the hard way? And all my drawing, with everything in DrawingAreas?

Hi,

most programs use the Gnome::Canvas for tasks like this. But the  
Gnome::Canvas in ruby-gnome is not documented at all.

An other possibility is to use Gtk::Layout. On this you can place other  
widgets and you can also draw grafics on it. I did it this way from C  
for a similar program and it worded well.

Cheers  
detlef

* * *

Take Surveys. Earn Cash. Influence the Future of IT  
Join [SourceForge.net](http://SourceForge.net)’s Techsay panel and you’ll get the chance to share  
your  
opinions on IT & business topics through brief surveys - and earn cash  
[http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV](http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV)

* * *

ruby-gnome2-devel-en mailing list  
removed\_email\_address@domain.invalid

> **[ruby-gnome2-devel-en List Signup and Options](https://sourceforge.net/projects/ruby-gnome2/lists/ruby-gnome2-devel-en)**
>
> This project is a set of Ruby language bindings for the various application development libraries included with the GNOME/GTK+ environment.
> This…

Send instant messages to your online friends

> **[Yahoo | Mail, Weather, Search, Politics, News, Finance, Sports & Videos](https://www.yahoo.com/)**
>
> Latest news coverage, email, free stock quotes, live scores and video are just the beginning. Discover more every day at Yahoo!

* * *

Take Surveys. Earn Cash. Influence the Future of IT  
Join [SourceForge.net](http://SourceForge.net)’s Techsay panel and you’ll get the chance to share  
your  
opinions on IT & business topics through brief surveys - and earn cash  
[http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV](http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV)
