aboutsummaryrefslogtreecommitdiff
path: root/core/gui.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-01-12 22:59:59 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2012-01-12 22:59:59 -0500
commit884d8f5675bdd3c3c8d308e6f2df4f8497afa1a3 (patch)
tree9757abe329f363e979522b77e5107ad28c87067b /core/gui.lua
parent05646739578258cfbc19f4708d0bde97fb56a841 (diff)
downloadtextadept-884d8f5675bdd3c3c8d308e6f2df4f8497afa1a3.tar.gz
textadept-884d8f5675bdd3c3c8d308e6f2df4f8497afa1a3.zip
Create separate LuaDoc for module table fields.
Diffstat (limited to 'core/gui.lua')
-rw-r--r--core/gui.lua18
1 files changed, 15 insertions, 3 deletions
diff --git a/core/gui.lua b/core/gui.lua
index 03f021ca..4413c68e 100644
--- a/core/gui.lua
+++ b/core/gui.lua
@@ -10,13 +10,11 @@ module('gui')]]
-- ## Fields
--
-- * `title` [string]: The title of the Textadept window.
--- * `menubar` [table]: A table of GTK menus defining a menubar. (Write-only)
-- * `context_menu`: A GTK menu defining the editor's context menu.
-- * `clipboard_text` [string]: The text on the clipboard. (Read-only)
-- * `statusbar_text` [string]: The text displayed by the statusbar.
-- * `docstatusbar_text` [string]: The text displayed by the doc statusbar.
-- (Write-only)
--- * `size` [table]: The size of the Textadept window (`{ width, height }`).
local _L = _L
@@ -408,7 +406,21 @@ end)
events_connect(events.ERROR,
function(...) gui._print(_L['[Error Buffer]'], ...) end)
---[[ The functions below are Lua C functions.
+--[[ The tables below were defined in C.
+
+---
+-- A table of GTK menus defining a menubar. (Write-only)
+-- @class table
+-- @name menubar
+local menubar
+
+---
+-- The size of the Textadept window (`{ width, height }`).
+-- @class table
+-- @name size
+local size
+
+The functions below are Lua C functions.
---
-- Displays a gcocoadialog of a specified type with the given string arguments.