action_attach

@accepts(GObject.Object)
@returns(none)
def action_attach(action)

Attaches a RB.SourceSearch to a UI action so that the search implementation will be used when the action is active.

action :

UI action to associate the search with