Browse CVS Repository
Contents of /exerb/exerbtk/test/treeview.rb
Parent Directory
| Revision Log
| Revision Graph
Revision 1.5 -
( show annotations)
( download)
Fri Feb 13 15:05:04 2004 UTC
(20 years, 2 months ago)
by yuya
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
* etk/etk.rb経由でetklib.soを読み込むように変更
| 1 |
#! /usr/bin/ruby |
| 2 |
|
| 3 |
#==============================================================================# |
| 4 |
|
| 5 |
require 'etk/etk' |
| 6 |
|
| 7 |
#==============================================================================# |
| 8 |
|
| 9 |
class MyForm < Etk::Form |
| 10 |
|
| 11 |
def initialize |
| 12 |
self.set_client_size(300, 200) |
| 13 |
self << Etk::TreeView.new(:treeview, "", 10, 10, 280, 180) |
| 14 |
end |
| 15 |
|
| 16 |
end |
| 17 |
|
| 18 |
#==============================================================================# |
| 19 |
|
| 20 |
Etk.main(MyForm.new) |
| 21 |
|
| 22 |
#==============================================================================# |
| 23 |
#==============================================================================# |
|