wxPython TextCtrl overwriting

Chris Liechti cliechti at gmx.net
Sat Jul 27 16:52:01 EDT 2002


Chris <h_j_fong at hotmail.com> wrote in 
news:res5ku4e8agpfikcscrv872s67lu1bng4g at 4ax.com:

> In my GUI I'm using a fairly standard dirDialog to get a path, with a
> line for manual entry or the browse button beneath.  How do I write
> the selected path *over* the default text currently in the box.  Seems
> like it should be a one-liner (.replace, .erase, .clear,
> .overwrite???).  Currently I am using .write, which appends it.

.SetValue() and .GetValue() should help

chris

-- 
Chris <cliechti at gmx.net>




More information about the Python-list mailing list