Tk_NameOfImage(3tk)

πŸ“¦
version 9.0.4 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

Tk_NameOfImage β€” bestie, this one hands you back the name of an image πŸ’–


🌸 SYNOPSIS 🌸

#include <tk.h>

const char *
Tk_NameOfImage(imageModel)

πŸŽ€ ARGUMENTS πŸŽ€

  • Tk_ImageModel imageModel (in) β€” the token for the image, okay? And like, specifically the one that got passed to the image manager's createProc back when the image was first created. That exact token. Not a lookalike. πŸ‘‘

πŸ’… DESCRIPTION πŸ’…

So here's the tea πŸ«– β€” this procedure gets called by image managers when they're like "wait, what was this image even called again??" 😭 You hand it the token for the image, and it returns the string name for that image. That's it. That's the whole thing. Short, sweet, iconic, no notes. ✨


πŸ”₯ KEYWORDS πŸ”₯

  • image manager
  • image name

okay periodt, that's the whole page, no cap πŸ¦‹ This lil gem lives in the Tk Library Procedures section and it's been holding it down since Tk 4.0 β€” fr fr, ancient but still serving πŸ’œπŸ‘‘

πŸ“¦ where this page comes from