User Guide

Lua Support in Wireshark
173
11.7.2.1.2. Returns
The newly created TextWindow object.
11.7.2.1.3. Errors
GUI not available
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
GUI not available
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
GUI not available
Cannot be called for something not a TextWindow
Expired 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.