php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31362 GtkFileSelection->complete more complete
Submitted: 2004-12-31 05:58 UTC Modified: 2005-03-30 08:59 UTC
From: ceo at l-i-e dot com Assigned:
Status: Not a bug Package: PHP-GTK related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
25 + 45 = ?
Subscribe to this entry?

 
 [2004-12-31 05:58 UTC] ceo at l-i-e dot com
Description:
------------
It would be Really Nifty (tm) if GtkFileSelection->complete took an optional second argument which would make the pattern matching 'pervasive'

IE, the dialog would continue to only present filenames that matched the given expression.

Providing the same functionality through some other mechanism would be fine, of course.

I suppose one could, in theory, dig down into the guts of the Widget, and find all the widgets inside that can affect the selection, and then connect() a function to each one that would call complete() repeatedly...

But it would be Really Hard for your mere mortal programmer to find *ALL* the possible circumstances that could change the selection....



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-01 23:44 UTC] jed@php.net
gtk_file_selection_complete() doesn't offer this in GTK. PHP-GTK is simply a wrap over GTK itself.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Feb 18 09:01:26 2020 UTC