The python functions take the same number of arguments as their event counterparts. So events are the reference.
If the argument in events is a color then in python it is in this form:
so to set the filter of Sprite to red:
Sprite.SetFilter( System.rgb(255,0,0) )
If the argument in events is a object then in python it is the OID of that object.
If the argument in events is a combo box then in python it is the index of the list, starting from zero.