|
|
|
|
|
by dosinga
1219 days ago
|
|
Home/End : Oh that feels like a bug. Stop propagate that event already! > The handlers like "on_dropdown_change" should receive an argument for the cell it's coming from They do! If you define a function that does not take a parameter it is all fine, but we introspect if you do and if so, pass on an event object: def on_dropdown_change(value, event):
event.cell.set_background_color(value * 50 + 100, 100, 100) would change the cell with the drop down's background color based on the value selected |
|