Menu for Display

Hi Oliver,
looking the example into your link I've understood how to pass the value :

  • from a menu to the variable

but I don't understand into example:

  • how pass the value from a variable to a menu ... :frowning:

when into the example call

"pwm_apply_user_input() "

inside

void pwd_fn_ok(m2_el_fnarg_p fnarg)
{
pwm_apply_user_input();
m2.setRoot(&top_el_pin_list);
}

so, if need to pass the value to my variable

[00][00] [00][00][00]
OK Cancel

how I can do ? this means that into ok function button I will fill my variable ? and then will be immediatly displayed ?

Could you kindly pass me a simple just to understand ?

thanks for the support,
gnux