def setup_text(root)
Gnome::CanvasRect.new(root,
{:x1 => -90.0,
:y1 => -50.0,
:x2 => 110.0,
:y2 => 50.0,
:fill_color => "green",
:outline_color => "green"})
Gnome::CanvasRichText.new(root,
{:x => -90.0,
:y => -50.0,
:width => 200.0,
:height => 100.0,
:grow_height => true,
:text => "English is so boring because everyone uses it.\nHere is something exciting: \n\331\210\331\202\330\257 \330\250\330\257\330\243 \330\253\331\204\330\247\330\253 \331\205\331\206 \330\243\331\203\330\253\330\261 \330\247\331\204\331\205\330\244\330\263\330\263\330\247\330\252 \330\252\331\202\330\257\331\205\330\247 \331\201\331\212 \330\264\330\250\331\203\330\251 \330\247\331\203\330\263\331\212\331\210\331\206 \330\250\330\261\330\247\331\205\330\254\331\207\330\247 \331\203\331\205\331\206\330\270\331\205\330\247\330\252 \331\204\330\247 \330\252\330\263\330\271\331\211 \331\204\331\204\330\261\330\250\330\255\330\214 \330\253\331\205 \330\252\330\255\331\210\331\204\330\252 \331\201\331\212 \330\247\331\204\330\263\331\206\331\210\330\247\330\252 \330\247\331\204\330\256\331\205\330\263 \330\247\331\204\331\205\330\247\330\266\331\212\330\251 \330\245\331\204\331\211 \331\205\330\244\330\263\330\263\330\247\330\252 \331\205\330\247\331\204\331\212\330\251 \331\205\331\206\330\270\331\205\330\251\330\214 \331\210\330\250\330\247\330\252\330\252 \330\254\330\262\330\241\330\247 \331\205\331\206 \330\247\331\204\331\206\330\270\330\247\331\205 \330\247\331\204\331\205\330\247\331\204\331\212 \331\201\331\212 \330\250\331\204\330\257\330\247\331\206\331\207\330\247\330\214 \331\210\331\204\331\203\331\206\331\207\330\247 \330\252\330\252\330\256\330\265\330\265 \331\201\331\212 \330\256\330\257\331\205\330\251 \331\202\330\267\330\247\330\271 \330\247\331\204\331\205\330\264\330\261\331\210\330\271\330\247\330\252 \330\247\331\204\330\265\330\272\331\212\330\261\330\251. \331\210\330\243\330\255\330\257 \330\243\331\203\330\253\330\261 \331\207\330\260\331\207 \330\247\331\204\331\205\330\244\330\263\330\263\330\247\330\252 \331\206\330\254\330\247\330\255\330\247 \331\207\331\210 \302\273\330\250\330\247\331\206\331\203\331\210\330\263\331\210\331\204\302\253 \331\201\331\212 \330\250\331\210\331\204\331\212\331\201\331\212\330\247.\nAnd here is some more plain, boring English.\n"})
Gnome::CanvasEllipse.new(root,
{:x1 => -5.0,
:y1 => -5.0,
:x2 => 5.0,
:y2 => 5.0,
:fill_color => "white"})
Gnome::CanvasRect.new(root,
{:x1 => 100.0,
:y1 => -30.0,
:x2 => 200.0,
:y2 => 30.0,
:fill_color => "yellow",
:outline_color => "yellow"})
Gnome::CanvasRichText.new(root,
{:x => 100.0,
:y => -30.0,
:width => 100.0,
:height => 60.0,
:text => "The quick brown fox jumped over the lazy dog.\n",
:cursor_visible => true,
:cursor_blink => true,
:grow_height => true})
Gnome::CanvasRect.new(root,
{:x1 => 50.0,
:y1 => 70.0,
:x2 => 150.0,
:y2 => 100.0,
:fill_color => "pink",
:outline_color => "pink"})
Gnome::CanvasRichText.new(root,
{:x => 50.0,
:y => 70.0,
:width => 100.0,
:height => 30.0,
:text => "This is a test.\nI enjoy tests a great deal\nThree lines!",
:cursor_visible => true,
:cursor_blink => true})
end