Trusted Solaris Developer's Guide

ModLabelData Structure

The ModLabelData structure contains information on the state of the Label builder interface created in the call to tsol_lbuild_create(3TSOL). The following table describes the ModLabelData fields. All fields except the widgets and callback are accessible by specifying the listed extended operation and a valid value in a call to tsol_lbuild_set(3TSOL) and/or tsol_lbuild_get(3TSOL). See "Extended Operations" for descriptions of the extended operations.

Table 15-1 ModLabelData Structure

Data Type 

Field 

Extended Operation/Description 

Comments 

int

mode

LBUILD_MODE 

 

int

check_ar

LBUILD_CHECK_AR 

 

int

view

LBUILD_VIEW 

 

Bool

show

LBUILD_SHOW 

 

char

*userfield

LBUILD_USERFIELD 

 

char

*lbuild_title

LBUILD_TITLE  

 

Position

x

LBUILD_X 

 

Position

y

LBUILD_Y 

 

bslabel_t

sl

LBUILD_VALUE_SL 

 

bclabel_t

cmw

LBUILD_VALUE_CMW 

 

bclear_t

clr

LBUILD_VALUE_CLR 

 

bslabel_t

sl_work

LBUILD_WORK_SL 

Not valid for tsol_lbuild_set()

or 

tsol_lbuild_create().

bclabel_t

cmw_work

LBUILD_WORK_CMW 

bclear_t

clr_work

LBUILD_WORK_CLR 

brange_t

range

LBUILD_UPPER_BOUND, LBUILD_LOWER_BOUND 

 

Widget

lbuild_dialog

Label builder dialog box 

 

Widget

ok

OK pushbutton 

 

Widget

cancel

Cancel pushbutton 

 

Widget

reset

Reset pushbutton 

 

Widget

help

Help pushbutton 

 

void

(*event_handler)()

Callback passed to tsol_lbuild_create()