Welp, I'm trying to mess around with Mac::TextEdit, and have gotten this
far. When I try to SetText, I get an error message about an HTE not being
accurate. I don't even know what an HTE is. Here is my current code. Don't
laugh and giggle until my back is turned...
#!/usr/bin/perl
use Mac::Controls;
use Mac::Events;
use Mac::Menus;
use Mac::QuickDraw;
use Mac::TextEdit;
use Mac::Windows;
$win = MacWindow->new( Rect->new(50, 50, 550, 290),
"AmphetaDesk Console", 1,
floatProc, 1);
$list= $win->new_textedit_style(
new Rect(15, 15, 485, 195),
new Rect(10, 10, 490, 200));
$list->TESetText("Bob!", $list);
How do I send text to the textedit window I have created?
--
Morbus Iff
Disobey has been mentioned in The Netly News, Internet World, ABC News,
Bruce Sterling's Dead Media Notes and many more. Microsoft and 3Com
ripped us off also... that's GOTTA mean we're important. And hell, we
got a rise out of Playboy! With sections that have nothing to do with
the others, you'll like at least one thing. No, really. Go there.
-07--- <\/> ---- <http://www.disobey.com/> ------- Bad Ego, Any Notice ----