2010-12-03 10 views
1

시니 화의 제목을 변경할 수 있습니까? 알림? 그렇다면 사용하는 메소드 호출은 무엇입니까?알림 제목을 변경할 수 있습니까?

또한 set_hint_string('append', '')을 사용하여 알림을 병합 할 수도 있습니다. 제목을 변경하고 병합을 유지하는 것이 가능합니까?

나는 다음 (진짜 코드, 효과의 단지 설명) 같은 것을 원하는이 발생합니다 :

import pynotify 
import time 

pynotify.init('app name') 
n=pynotify.Notification("title","Something is happening") 
n.show() 
time.sleep(2) 
n.update("new title","2 things are happening") 
n.show() 
:
Notification("Something is happening") + Notification("Something is happening") -> Notification("2 things are happening") 

답변

1

는 아마도 update 방법을 사용
관련 문제