Manual Pages for UNIX Darwin command on man AddOption
MyWebUniversity

Manual Pages for UNIX Darwin command on man AddOption

TkAddOption(3) Tk Library Procedures TkAddOption(3)

NAME

TkAddOption - Add an option to the option database

SYNOPSIS

##iinncclluuddee <>

void

TkAddOptiontwn nm, au, roiy

AARRGGUUMMEENNTTSS TkWindow tkwin (in) Token for window.

CONST char *name (in) Multi-element name of option.

CONST char *value (in) Value of option. int priority (in) Overall priority level to use for option.

DESCRIPTION

This procedure is invoked to add an option to the database associated with tkwin's main window. Name contains the option being specified and consists of names and/or classes separated by asterisks or dots, in the usual X format. Value contains the text string to associate with name; hs au wl b rtre i cls o TkGetOption Pirt sei fies the priority of the value; when options are queried using

TkGetOption te au wt te ihs pirt i rtre. ro-

ity must be between 0 and TKMAXPRIO. Some common priority values are:

20 Used for default values hard-coded into widgets.

40 Used for options specified in application-specific startup

files.

60 Used for options specified in user-specific defaults files, such

as ..XXddeeffaauullttss, resource databases loaded into the X server, or

user-specific startup files.

80 Used for options specified interactively after the application starts running. KKEEYYWWOORRDDSS class, name, option, add

Tk TkAddOption(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™