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!
![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=514132ca-9b6b-4f0c-918d-731e1757f619)
No comments:
Post a Comment