1 user_callback
= None # Invoked in a callback when a question box is displayed
4 def get_object(self
, service
, path
):
8 def get_object(self
, service
, path
):
12 def __init__(self
, obj
, iface
):
16 def GetCapabilities(self
):
19 def Notify(self
, *args
):
20 self
.boxes
.append(args
)
23 app
, replaces_id
, icon
, title
, message
, actions
, hints
, timeout
= args
26 user_callback(self
.callback
['ActionInvoked'], nid
, actions
)
31 return 3 # NM_STATUS_CONNECTED
33 def connect_to_signal(self
, signal
, callback
):
34 self
.callback
[signal
] = callback
37 def __init__(self
, value
):