Tray: Add drag-entered and drag-exited events
This commit is contained in:
parent
5b0ea5bd46
commit
818892d474
6 changed files with 27 additions and 0 deletions
|
@ -78,6 +78,14 @@ void Tray::OnDropFiles(const std::vector<std::string>& files) {
|
|||
Emit("drop-files", files);
|
||||
}
|
||||
|
||||
void Tray::OnDragEntered() {
|
||||
Emit("drag-entered");
|
||||
}
|
||||
|
||||
void Tray::OnDragExited() {
|
||||
Emit("drag-exited");
|
||||
}
|
||||
|
||||
bool Tray::IsDestroyed() const {
|
||||
return !tray_icon_;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue