set msg [glob [pwd]/*.*]
set win [gnoc::window]
gnocl::window -child $win
$win insert end $msg
Why not simply the process? to just:
set msg [glob [pwd]/*.*]
gnocl::window -child [gnocl::text -text $msg]
In fact, when there's no need to use rich text formatting this is really useful as the underlying Gtk+ library function will delete the buffer contents too!
No comments:
Post a Comment