MCPcopy Create free account
hub / github.com/audacity/audacity / TieCheckBox

Method TieCheckBox

src/commands/GetInfoCommand.cpp:277–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277wxCheckBox * ShuttleGuiGetDefinition::TieCheckBox(
278 const TranslatableString &Prompt,
279 const BoolSetting &Setting)
280{
281 StartStruct();
282 AddItem( Setting.GetPath(), "id" );
283 AddItem( Prompt.Translation(), "prompt" );
284 AddItem( "bool", "type" );
285 AddBool( Setting.GetDefault(), "default" );
286 EndStruct();
287 return ShuttleGui::TieCheckBox( Prompt, Setting );
288}
289
290wxCheckBox * ShuttleGuiGetDefinition::TieCheckBoxOnRight(
291 const TranslatableString &Prompt,

Callers 15

PopulateOrExchangeMethod · 0.80
PopulateUIMethod · 0.80
PopulateOrExchangeMethod · 0.80
PopulateOrExchangeMethod · 0.80
PopulateOrExchangeMethod · 0.80
PopulateOrExchangeMethod · 0.80
PopulateOrExchangeMethod · 0.80
PopulateOrExchangeMethod · 0.80
PopulateOrExchangeMethod · 0.80
PopulateOrExchangeMethod · 0.80
PopulateOrExchangeMethod · 0.80
PopulateOrExchangeMethod · 0.80

Calls 6

StartStructFunction · 0.85
AddItemFunction · 0.85
AddBoolFunction · 0.85
EndStructFunction · 0.85
TranslationMethod · 0.80
GetPathMethod · 0.45

Tested by 1

PopulateOrExchangeMethod · 0.64