On Mon, Jun 23, 2008 at 10:15 AM, Terry Brown [EMAIL PROTECTED]
wrote:
Minor nit - insert-file to load a file into a node, text appears in the
body pane. Without doing anything else to the body pane click on
another node. Inserted text is lost - body for node is empty. As long
as you move
On Mon, Jun 23, 2008 at 11:20 AM, Terry Brown [EMAIL PROTECTED]
wrote:
c.beginUpdate()
try:
add / change icons on some nodes
c.setChanged(True)
finally:
c.endUpdate()
seems not to give a redraw *after* a script button is pressed.
It does give one before the action is taken, so
Minor nit - insert-file to load a file into a node, text appears in the
body pane. Without doing anything else to the body pane click on
another node. Inserted text is lost - body for node is empty. As long
as you move the cursor into the body frame and press a key after
inserting the
c.beginUpdate()
try:
add / change icons on some nodes
c.setChanged(True)
finally:
c.endUpdate()
seems not to give a redraw *after* a script button is pressed.
It does give one before the action is taken, so pressing the button
twice shows the change.