QuestionQ43

VerifiedGUI Programming

Which two statements are true regarding the unbind() method?

Choose two
Explanation

The unbind() method belongs to a widget's object and is called on that widget instance to remove an event handler previously registered with bind(). Because it removes a specific event binding, it requires the name of the event as its argument so the framework knows which handler to detach. It is not called from the event object, nor does it require passing in another widget's object as a parameter.

Community Discussion

No comments yet. Be the first to start the discussion!