diff options
author | root <root> | 2005-02-20 00:09:25 +0000 |
---|---|---|
committer | root <root> | 2005-02-20 00:09:25 +0000 |
commit | be4350ca94914c887626512ecba858b46e658640 (patch) | |
tree | ab1f14fa36f948b4702ef3fe67a0b4e7004788ea | |
parent | 3234802df86a281f484ea4dd870e5473b48c2379 (diff) |
*** empty log message ***
-rwxr-xr-x | doc/embed-tk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/embed-tk b/doc/embed-tk new file mode 100755 index 0000000..e502314 --- /dev/null +++ b/doc/embed-tk @@ -0,0 +1,16 @@ +#!/usr/bin/perl + +# sample script to illustrate the -embed option +# using Tk +# resizes do not work yet. + +use Tk; + +my $mw = new MainWindow; + +my $frame = $mw->Frame (width => 700, height => 400, container => 1) + ->pack (fill => "both", expand => 1); + +system "rxvt -embed " . ($frame->id) . " &"; + +MainLoop; |