Horizontal box not hidding

Ok! In the old version you just do it with reference to widget of specified class. But in the last comment your custom event has no params. Where is the part, that is calling whis event from widget object?