Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
TK packing
Austin
3/8/2006 3:20:00 AM
How can I pack this so it looks like this.
[New Sprite [-][+][x]]
-------------------------
| Width: [ ] |
| Height: [ ] |
- - - - - - - - - - - -
dialogBox = TkToplevel.new('title'=>'New Sprite')
frame = TkFrame.new(dialogBox).pack('fill'=>'both')
widthLabel = TkLabel.new(frame, 'text'=>'Width: ')
widthEntry = TkEntry.new(frame)
widthEntry.value = 32
heightLabel = TkLabel.new(frame, 'text'=>'Height: ')
heightEntry = TkEntry.new(frame)
heightEntry.value = 32
--
Posted via
http://www.ruby-...
.
1 Answer
Hidetoshi NAGAI
3/8/2006 2:37:00 PM
0
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
TK packing
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password