User Guide

Lua Support in Wireshark
167
11.7.2.2. textwindow:set_atclose(action)
Set the function that will be called when the window closes
11.7.2.2.1. Arguments
action A function to be executed when the user closes the window
11.7.2.2.2. Returns
The TextWindow object.
11.7.2.2.3. Errors
Cannot be called for something not a TextWindow
11.7.2.3. textwindow:set(text)
Sets the text.
11.7.2.3.1. Arguments
text The text to be used.
11.7.2.3.2. Returns
The TextWindow object.
11.7.2.3.3. Errors
Cannot be called for something not a TextWindow
11.7.2.4. textwindow:append(text)
Appends text
11.7.2.4.1. Arguments
text The text to be appended
11.7.2.4.2. Returns
The TextWindow object.
11.7.2.4.3. Errors
Cannot be called for something not a TextWindow
11.7.2.5. textwindow:prepend(text)
Prepends text
11.7.2.5.1. Arguments
text The text to be appended