mframe_get_prop(3m17n)

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

✨ NAME ✨

mframe_get_prop β€” bestie it literally has no description in the original and we respect that energy πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void* mframe_get_prop (MFrame * frame, MSymbol key)

πŸ’– DESCRIPTION πŸ’–

@brief Return property value of frame.

okay so here's the tea β˜• β€” mframe_get_prop() hands you back the value of the property called key that belongs to the frame called frame. That's it, that's the whole job, and she does it flawlessly, no cap. 🫢

The keys that are valid and the return values they give you back are as follows, and yes I'm listing every single one because we don't do gatekeeping here:

  • Mface β€” type: MFace * β€” meaning: the default face. πŸ’„
  • Mfont β€” type: MFont * β€” meaning: the default font. πŸ”€
  • Mfont_width β€” type: int β€” meaning: width of the default font. πŸ“
  • Mfont_ascent β€” type: int β€” meaning: ascent of the default font. ⬆️
  • Mfont_descent β€” type: int β€” meaning: descent of the default font. ⬇️

🌸 the m17n-X bonus round 🌸

In the m17n-X library, the followings are also accepted β€” she's flexible like that, main character energy fr fr:

  • Mdisplay β€” type: Display * β€” meaning: Display associated with the frame. πŸ–₯️
  • Mscreen β€” type: int β€” meaning: screen number of a screen associated with the frame. πŸ”’
  • Mcolormap β€” type: Colormap β€” meaning: Colormap of the frame. 🎨
  • Mdepth β€” type: unsigned β€” meaning: depth of the frame. 🌈
ngl bestie, if you're on plain m17n and not m17n-X, those last four are just not gonna show up for you. the vibe check is real. πŸ’€

  • Copyright (C) 2001 Information-technology Promotion Agency (IPA)
  • Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>.


and that's the whole page, bestie!! πŸŽ€βœ¨ this was Version 1.8.4, dated Mon Sep 25 2023, and honestly she ate. go forth and get those props. πŸ¦‹πŸ’–

πŸ“¦ where this page comes from