From 54ce4ac81d315f75a520094b607a4163ee9b58b4 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 16 Apr 2020 23:48:49 -0400 Subject: Updated LuaDoc. --- core/.ui.dialogs.luadoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'core/.ui.dialogs.luadoc') diff --git a/core/.ui.dialogs.luadoc b/core/.ui.dialogs.luadoc index 08a810d1..ac5bb7b5 100644 --- a/core/.ui.dialogs.luadoc +++ b/core/.ui.dialogs.luadoc @@ -325,8 +325,8 @@ function filesave(options) end function textbox(options) end --- --- Displays a progressbar dialog defined by dialog options table *options* and --- updates from function *f*. +-- Displays a progressbar dialog, defined by dialog options table *options*, +-- that receives updates from function *f*. -- Returns "stopped" if *options*.`stoppable` is `true` and the user clicked the -- "Stop" button. Otherwise, returns `nil`. -- @param options Table of key-value option pairs for the progressbar dialog. @@ -342,9 +342,9 @@ function textbox(options) end -- @param f Function repeatedly called to do work and provide progress updates. -- The function is called without arguments and must return either `nil`, -- which indicates work is complete, or a progress percentage number in the --- range 0-100 and optional string text to display (GTK only). If the text --- is either "stop disable" or "stop enable" and *options*.`stoppable` is --- `true`, the "Stop" button is disabled or enabled, respectively. +-- range 0-100 and an optional string to display (GTK only). If the text is +-- either "stop disable" or "stop enable" and *options*.`stoppable` is `true`, +-- the "Stop" button is disabled or enabled, respectively. -- @return nil or "stopped" -- @usage ui.dialogs.progressbar({stoppable = true}, -- function() if work() then return percent, status else return nil end end) -- cgit v1.2.3