Opened 6 years ago

Closed 6 years ago

#14832 closed enhancement (fixed)

wxFileSystemWatcher: Implement watching individual types of event in wxGTK

Reported by: dghart Owned by:
Priority: normal Milestone: 2.9.5
Component: base Version: stable-latest
Keywords: wxFileSystemWatcher event Cc:
Blocked By: Blocking:
Patch: yes


Currently, a wxFileSystemWatcher watch receives all types of native event. The API is there to restrict this to one or more types but this is not actually implemented on any platform.

The attached patch does so for wxGTK, and tests and documents it.

Attachments (1)

fswatcher.diff download (5.5 KB) - added by dghart 6 years ago.

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by dghart

comment:1 Changed 6 years ago by VZ

  • Resolution set to fixed
  • Status changed from new to closed

(In [72961]) Support monitoring only some events in wxGTK wxFileSystemWatcher.

Call inotify() with the appropriate flags instead of always using IN_ALL_EVENTS.

Closes #14832.

Note: See TracTickets for help on using tickets.