Job done. Why include this switch? Suppose a script has the following line of code, perhaps as part of a feeback process in which the text widget is only needed for feedback purposes:
Why not simply the process? to just:
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!
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!
Comments