MCPcopy Create free account
hub / github.com/TASEmulators/fceux / setCheckbox

Function setCheckbox

src/drivers/sdl/gui.cpp:120–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120void setCheckbox (GtkWidget * w, const char *configName)
121{
122 int buf;
123 g_config->getOption (configName, &buf);
124 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (w), buf);
125}
126
127// This function configures a single button on a gamepad
128//int configGamepadButton (GtkButton * button, gpointer p)

Callers 4

openPaletteConfigFunction · 0.85
openVideoConfigFunction · 0.85
openSoundConfigFunction · 0.85
openGamepadConfigFunction · 0.85

Calls 1

getOptionMethod · 0.80

Tested by

no test coverage detected