User Guide

10.4.3.2.7. textwindow:get_text()
Get the text of the window
10.4.3.2.7.1. Returns
The TextWindow's text.
10.4.3.2.7.2. Errors
cannot be called for something not a TextWindow
10.4.3.2.8. textwindow:set_editable([editable])
Make this window editable
10.4.3.2.8.1. Arguments
editable (optional) A boolean flag, defaults to true
10.4.3.2.8.2. Returns
The TextWindow object.
10.4.3.2.8.3. Errors
cannot be called for something not a TextWindow
10.4.3.2.9. textwindow:add_button(label, function)
10.4.3.2.9.1. Arguments
label The label of the button
function The function to be called when clicked
10.4.3.2.9.2. Returns
The TextWindow object.
10.4.3.2.9.3. Errors
cannot be called for something not a TextWindow
10.4.3.3. Non Method Functions
10.4.3.3.1. gui_enabled()
Checks whether the GUI facility is enabled.
10.4.3.3.1.1. Returns
A boolean: true if it is enabled, false if it isn't.
Lua Support in Wireshark
203