wxColourData(3erl)

πŸŽ€ wxColourData(3erl) β€” Erlang Module Definition πŸŽ€

okay bestie, welcome to wxColourData(3erl), the Erlang module definition page for the wxColourData class. it's literally the little info-holder for colour dialogs, and we're gonna go through every export together, no cap πŸ’…βœ¨

🌈 NAME 🌈

wxColourData β€” Functions for wxColourData class. that's the name and the whole vibe, periodt 🫢

πŸ’– DESCRIPTION πŸ’–

This class holds a variety of information related to colour dialogs. like, it's the settings bundle a colour dialog carries around πŸŽ¨πŸ’–

See: wx_color(), wxColourDialog, Overview cmndlg

wxWidgets docs: wxColourData

🧚 DATA TYPES 🧚

wxColourData() = wx:wx_object()

so a wxColourData() is a wx:wx_object() β€” that's the type, bestie πŸ’œ

✨ EXPORTS ✨

buckle up, here's every exported function, with all the types and defaults intact πŸ‘‘

  • new() -> wxColourData() β€” Constructor. Initializes the custom colours to wxNullColour, the data colour setting to black, and the choose full setting to true. fresh object, default vibes, slay ✨
  • destroy(This :: wxColourData()) -> ok β€” Destructor. bye-bye object, cleanup time 🫢
  • getChooseFull(This) -> boolean() β€” Under Windows, determines whether the Windows colour dialog will display the full dialog with custom colour selection controls. Types: This = wxColourData(). Has no meaning under other platforms. The default value is true. windows-only behavior, iykyk πŸͺŸ
  • getColour(This) -> wx:wx_colour4() β€” Gets the current colour associated with the colour dialog. Types: This = wxColourData(). The default colour is black. πŸ–€
  • getCustomColour(This, I) -> wx:wx_colour4() β€” Returns custom colours associated with the colour dialog. Types: This = wxColourData(), I = integer().
  • setChooseFull(This, Flag) -> ok β€” Under Windows, tells the Windows colour dialog to display the full dialog with custom colour selection controls. Types: This = wxColourData(), Flag = boolean(). Under other platforms, has no effect. The default value is true. so windows gets the full treatment, other platforms just vibe 😌
  • setColour(This, Colour) -> ok β€” Sets the default colour for the colour dialog. Types: This = wxColourData(), Colour = wx:wx_colour(). The default colour is black. πŸ–€
  • setCustomColour(This, I, Colour) -> ok β€” Sets custom colours for the colour dialog. Types: This = wxColourData(), I = integer(), Colour = wx:wx_colour().

and that's the page, bestie! footer sign-off: wxWidgets team., version wx 2.2.2.1, page wxColourData(3erl) β€” source/version/date footer handled, mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from