MCPcopy Create free account
hub / github.com/TypesettingTools/Aegisub / Set

Method Set

src/validators.cpp:179–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179void EnumBinderBase::Set(int value) {
180 if (auto rb = dynamic_cast<wxRadioBox*>(GetWindow()))
181 rb->SetSelection(value);
182 else if (auto rb = dynamic_cast<wxComboBox*>(GetWindow()))
183 rb->SetSelection(value);
184 else
185 throw agi::InternalError("Control type not supported by EnumBinder");
186}
187
188bool StringBinder::TransferFromWindow() {
189 wxWindow *window = GetWindow();

Callers 12

UpdateSizeMethod · 0.45
TransformTimeTagsMethod · 0.45
OnActivateMethod · 0.45
PopulateListMethod · 0.45
OnPaintMethod · 0.45
ProcessTagMethod · 0.45
OnApplyMethod · 0.45
PaintLabelsMethod · 0.45
PaintTrackCursorMethod · 0.45
resample_tagsFunction · 0.45
set_tagMethod · 0.45
LoadConfigMethod · 0.45

Calls 1

SetSelectionMethod · 0.45

Tested by

no test coverage detected