[AG-DEV] Create Filter for QueryMatchingFiles
Eric Olson
eolson at mcs.anl.gov
Wed May 23 11:23:32 CDT 2007
Hi Eddy,
You can pass a python list to QueryMatchingFilesMultiple() like this:
files = dsc.QueryMatchingFilesMultiple(["*.jpg", "*.JPG"])
Eric
Eddy Diaz wrote:
> Hi every body.
>
>
> I'm trying to make a filter for the files in VenueDataStore, but this pattern
> does't work. The list in the dialog does't show any file.
>
> def populateList(self, venueUrl, connectionId):
> self.remote_files.Clear()
> dsc = GetVenueDataStore(venueUrl, connectionId)
> files = dsc.QueryMatchingFiles("*.jpg|*.JPG|*.gif|*.GIF")
> self.remote_files.InsertItems(files, 0)
>
> Could someone help me?.
>
> Thanks.
More information about the ag-dev
mailing list