tk_chooseColor − pops up a dialog box for the user to select a color.


tk_chooseColor ?option value ...? ___________________________


The procedure tk_chooseColor pops up a dialog box for the user to select a color. The following option−value pairs are possible as command line arguments:

Specifies the color to display in the color dialog when it pops up. color must be in a form acceptable to the Tk_GetColor function.

−parent window

Makes window the logical parent of the color dialog. The color dialog is displayed on top of its parent window.

−title titleString

Specifies a string to display as the title of the dialog box. If this option is not specified, then a default title will be displayed.

If the user selects a color, tk_chooseColor will return the name of the color in a form acceptable to Tk_GetColor. If the user cancels the operation, both commands will return the empty string.


button .b −bg [tk_chooseColor −initialcolor gray −title "Choose color"]


color, color selection, dialog

More Linux Commands

URI::_punycode(3pm) - encodes Unicode string in Punycode....
URI::_punycode is a module to encode / decode Unicode strings into Punycode, an efficient encoding of Unicode for use with IDNA . This module requires Perl 5.6.

jpico(1) - Joe's Own Editor (Commands - Linux man page).....
JOE is a powerful ASCII-text screen editor. It has a mode-less user interface which is similar to many user-friendly PC editors. Users of Micro-Pros WordStar or

hwinfo.8 - 301 Moved Permanently.......................

FcStrDowncase(3) - create a lower case translation of a stri
Allocates memory, copies s, converting upper case letters to lower case and returns the allocated buffer. VERSION Fontconfig version 2.8.0 FcStrDowncase.3 (Libr

pom_add_plugin(7) add plugin invocation to POM file.........
This macro patches specified POM file adding plugin invocation of given groupId and artifactId. groupId and artifactId are identifiers of Maven plugin artifact

XkbSelectEventDetails(3) - Selects or deselects for a specif
XkbSelectEventDetails.3 - Xkb events are selected using an event mask, much the same as normal core X events are selected. However, unlike selecting core X even

rpmqpack(8) - check for installed rpm packages (Man Page)...
rpmqpack checks if packages given as arguments are installed in the system. It prints each installed package to stdout. If no arguments are given all installed

DPMSQueryExtension(3) - queries the X server to determine th
The DPMSQueryExtension function queries the X server to determine the availability of the Display Power Management Signaling (DPMS) Extension. If the extension

wcsncmp(3) - compare two fixed-size wide-character strings
The wcsncmp() function is the wide-character equivalent of the strncmp(3) function. It compares the wide-character string pointed to by s1 and the wide-characte

ucs2any(1) - generate BDF fonts containing subsets of ISO 10
ucs2any allows one to generate from an ISO 10646-1 encoded BDF font other BDF fonts in any possible encoding. This way, one can derive from a single ISO 10646-1

gnutls_dtls_cookie_send(3) - API function - Linux man page
This function can be used to prevent denial of service attacks to a DTLS server by requiring the client to reply using a cookie sent by this function. That way

form_post(3form) - write or erase forms from associated subw
form_post.3form - The function post_form displays a form to its associated subwindow. To trigger physical display of the subwindow, use refresh or some equivale

We can't live, work or learn in freedom unless the software we use is free.