Code
Results 1 - 10 of about 545,000. (0.88 seconds)
     5: # hello --
        # Simple Tk script to create a button that prints "Hello, world".
        # Click on the button to terminate the program.
    17: button .hello -text "Hello, world" -command {
            puts stdout "Hello, world"; destroy .
        }
github.com/das/tk.git - Unknown - Shell
     5: # hello --
        # Simple Tk script to create a button that prints "Hello, world".
        # Click on the button to terminate the program.
    15: button .hello -text "Hello, world" -command {
            puts stdout "Hello, world"; destroy .
        }
    14: $hello = $MW->Button(
            -text    => 'Hello, world',
            -command => sub {print STDOUT "Hello, world\n"; exit;},
        );
        $hello->pack;
     5: # hello --
        # Simple Tk script to create a button that prints "Hello, world".
        # Click on the button to terminate the program.
    15: button .hello -text "Hello, world" -command {
            puts stdout "Hello, world"; destroy .
        }
     1: #!/usr/local/bin/wish -f
        # Simple Tk script to create a button that prints "Hello, world".
        # Click on the button to terminate the program.
    11: button .hello -text "Hello, world" -command {
            puts stdout "Hello, world"; destroy .
        }
     5: (define (hello-world)
          (let* ((dpy (open-display))
     8:   (font (open-font dpy "*-new century schoolbook-bold-r*24*"))
          (text (translate-text "Hello world!"))
          (width (+ 2 (text-width font text '1-byte)))
    32: (hello-world)
     1: #!/usr/local/bin/wish -f
        # Simple Tk script to create a button that prints "Hello, world".
        # Click on the button to terminate the program.
     9: button .hello -text "Hello, world" -command {
            puts stdout "Hello, world"; destroy .
        }
    12: tmpfiles="hello-test1.ok"
        cat <<EOF > hello-test1.ok
        Hello, world!
        EOF
    17: tmpfiles="$tmpfiles hello-test1.out"
        : ${HELLO=hello}
     8: TkButton.new(nil,
                'text'=>"Hello Ruby world!",
                'font'=>TkFont.new('k14'),
                'command'=>proc{print "Hello Ruby world!\n"; exit}
        ).pack
     5:   "This view is a basic 'hello world' example in HTML."
          return HttpResponse('<h1>Hello, world.</h1>')
     9:     "This view is a basic 'hello world' example in plain text."
            return HttpResponse('Hello, world.', mimetype='text/plain')
        
        def hello_write(request):
github.com/brosner/django.git - BSD - Python - More from django.git »


Google Home - Google Code - Discuss - Terms of Service - Help - Submit Your Code

©2009 Google - Privacy