ruby pastebin

Posted by pbr on Sat 26th Dec 05:00 (modification of post by view diff)
View followups from pbr | download | new post

  1.   NGlue::GappX.run(:frame,:size=>[400,400],:title=>"Demo") {
  2.     label("baz")
  3.     vsplit() {
  4.       fills 1,true
  5.       tree() {
  6.         fills 1,true
  7.         self[0]='test'
  8.         on_activate() {|e|
  9.           SubApp.build {
  10.             label("foobar")
  11.           }
  12.         }
  13.       }
  14.       notebook() {
  15.         fills 1,true
  16.         for pg in 0..3
  17.           add_page('foo'+pg.to_s) {
  18.             list() {
  19.               fills 1,true
  20.               columns(:Tree)
  21.               self[0] = ["foo"]
  22.             }
  23.           }
  24.         end
  25.       }
  26.       split!(110)
  27.     }
  28.   }

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


I'm Human
Remember me



Captcha required for posting