From be4350ca94914c887626512ecba858b46e658640 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 20 Feb 2005 00:09:25 +0000 Subject: *** empty log message *** --- doc/embed-tk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 doc/embed-tk 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; -- cgit v1.2.3