lights FAQ Forum github.com/luapower/winapi

Native OS APIs
winapi
winapi.wglpanel
winapi.cairopanel
objc
xlib

checkboxclass

checkboxes


require'winapi.checkboxclass'

This module implements the CheckBox class for creating checkboxes.

Button

Hierarchy

Initial fields and properties

NOTE: in the table below i means initial field, r means property which can be read, w means property which can be set.

field/property irw description default reference
text irw checkbox's label 'Option' Get/SetWindowText
w, h irw size 100, 24
box_align irw 'left', 'right' 'left' BS_LEFTTEXT
pushlike irw push-like appearance false BS_PUSHLIKE
checked irw true, false, 'indeterminate' false BST_UNCHECKED, BST_CHECKED, BST_INDETERMINATE
type irw 'twostate', 'threestate', 'twostate_autocheck', 'threestate_autocheck' 'twostate_autocheck' BS_CHECKBOX, BS_3STATE, BS_AUTOCHECKBOX, BS_AUTO3STATE

Last updated: 2 years ago | Edit on GitHub

Pkg type:Lua+ffi
Version: r4-20-g96f2374
Last commit:
License: PD
Requires: glue  luajit 
Required by: cairo  cplayer  nw  winapi.cairopanel  winapi.wglpanel 

Top