Tk_GetOption(3tk)
β¨ NAME β¨
okay so this is Tk_GetOption(3tk), a Tk Library Procedures page, and it's literally about retrieving an option from the option database. bestie, it's giving "lookup girlie" energy and I'm obsessed. π
π SYNOPSIS π
#include <tk.h>
Tk_Uid
Tk_GetOption(tkwin, name, class)
π ARGUMENTS π
Tk_Window tkwin(in) β token for window. πconst char *name(in) β name of desired option. β¨const char *class(in) β class of desired option.Nullmeans there is no class for this option; do lookup based on name only. π«Ά
π DESCRIPTION π
This procedure is invoked to retrieve an option from the database associated with tkwin's main window. If there is an option for tkwin that matches the given name or class, then it is returned in the form of a Tk_Uid. If multiple options match name and class, then the highest-priority one is returned. If no option matches, then NULL is returned. π
Tk_GetOption caches options related to tkwin so that successive calls for the same tkwin will execute much more quickly than successive calls for different windows. no cap, that cache is lowkey iconic. π¦
π KEYWORDS π
class, name, option, retrieve
Source/version: Tk; manual: Tk_GetOption(3tk); date: not listed on the page, bestie. periodt. π
β¨
π¦ where this page comes from
- debian trixie: tk9.0-doc 9.0.1-3
- ubuntu questing: tk9.0-doc 9.0.2-1
- ubuntu resolute: tk9.0-doc 9.0.3-1
- ubuntu stonking: tk9.0-doc 9.0.4-1
- Copyright (c) 1990 The Regents of the University of California
- Copyright (c) 1994-1996 Sun Microsystems, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms