lights FAQ Forum github.com/luapower/winapi

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

radiobuttonclass

Radio buttons


require'winapi.radiobuttonclass'

This module implements the RadioButton class for creating radio buttons.

RadioButton

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 false BST_(UN)CHECKED
autocheck irw automatic checking based on group true BS_(AUTO)RADIOBUTTON
dontclick w make not clickable (Vista+) BM_SETDONTCLICK

Last updated: 3 years ago | Edit on GitHub

Package:winapi
Pkg type:Lua+ffi
Version: 16101d6
Last commit:
License: Public Domain

Requires: +events  +glue  +luajit 

Required by: cairo  cplayer  hidapi  nw  proc  sock  winapi.cairopanel  winapi.wglpanel  dollar  opengl  testui  ui 


Top