User Tools

Site Tools


Sidebar

Introduction

* Home

Documentation & help

LibreCAD Community

Help on DokuWiki

Temporary shorcuts

dev:v3:gui_api:dialog:inputgui1

This is an old revision of the document!


Input GUI Widgets I


Input GUI Class


Github Link

 namespace lc::ui::api 

The Input GUI class is the parent class of all input gui widgets (except button and checkbox) which is added to the dialog widget. This is an abstract class.


Label


Description

Get and set label for the Input GUI widget.

Examples

  •  message(input1:label()) 
  •  input1:setLabel("New Input GUI")

Enable and Disable


Description

Enable or disable the input gui widget.

Examples

  •  input1:enable() 
  •  input1:disable() 

Angle GUI Class


Github Link

 namespace lc::ui::api 

The Angle GUI class is used to enter an angle. Angle can be toggled between radians and degrees by clicking on the Rad/Deg button or by using the appropriate functions.


Label


Description

Get and set label for the Input GUI widget.

Examples

  •  message(input1:label()) 
  •  input1:setLabel("New Input GUI")

Enable and Disable


Description

Enable or disable the input gui widget.

Examples

  •  input1:enable() 
  •  input1:disable() 
dev/v3/gui_api/dialog/inputgui1.1594270614.txt.gz · Last modified: 2020/07/09 04:56 by jedi18