Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » filedialog extension filter
filedialog extension filter [message #451004] Mon, 21 February 2005 06:34 Go to next message
Eclipse UserFriend
Originally posted by: akan.aiqa.com

Hi,
Under linux

fileDialog.setFilterExtensions(new String[]{"*.xls", "*.doc"});

does not seem to work. Am I right or doing something wrong?

thanks,
aiqa
Re: filedialog extension filter [message #451022 is a reply to message #451004] Mon, 21 February 2005 17:06 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Depending on the platform, multiple file extensions are not support. It's a
native limitation that we can't work around.

"aiqa" <akan@aiqa.com> wrote in message news:cvbvd9$skf$1@www.eclipse.org...
> Hi,
> Under linux
>
> fileDialog.setFilterExtensions(new String[]{"*.xls", "*.doc"});
>
> does not seem to work. Am I right or doing something wrong?
>
> thanks,
> aiqa
Re: filedialog extension filter [message #451069 is a reply to message #451022] Tue, 22 February 2005 15:23 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
This will work on linux iff you're running with a gtk version >= 2.4.10.

"Steve Northover" <steve_northover@ca.ibm.com> wrote in message
news:cvd4e9$rtb$1@www.eclipse.org...
> Depending on the platform, multiple file extensions are not support. It's
a
> native limitation that we can't work around.
>
> "aiqa" <akan@aiqa.com> wrote in message
news:cvbvd9$skf$1@www.eclipse.org...
> > Hi,
> > Under linux
> >
> > fileDialog.setFilterExtensions(new String[]{"*.xls", "*.doc"});
> >
> > does not seem to work. Am I right or doing something wrong?
> >
> > thanks,
> > aiqa
>
>
Re: filedialog extension filter [message #451871 is a reply to message #451069] Thu, 10 March 2005 05:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: akan.aiqa.com

I am working with gtk2-2.4.13 and also tried to use one extension. But
it did not worked. I am updating to gtk2-2.4.14. Maybe this can help.

thanks for the answers,

aiQa

Grant Gayed wrote:
> This will work on linux iff you're running with a gtk version >= 2.4.10.
>
> "Steve Northover" <steve_northover@ca.ibm.com> wrote in message
> news:cvd4e9$rtb$1@www.eclipse.org...
>
>>Depending on the platform, multiple file extensions are not support. It's
>
> a
>
>>native limitation that we can't work around.
>>
>>"aiqa" <akan@aiqa.com> wrote in message
>
> news:cvbvd9$skf$1@www.eclipse.org...
>
>>>Hi,
>>>Under linux
>>>
>>>fileDialog.setFilterExtensions(new String[]{"*.xls", "*.doc"});
>>>
>>>does not seem to work. Am I right or doing something wrong?
>>>
>>>thanks,
>>>aiqa
>>
>>
>
>
Re: filedialog extension filter [message #451983 is a reply to message #451871] Fri, 11 March 2005 19:55 Go to previous message
Eclipse UserFriend
Originally posted by: Lamont_Gilbert.rigidsoftware.com

what does it not do? I find that in windows for some reason when i
change the extension with the dialog, it takes a second or two for the
contents to show up. sometimes i waits till i enter text in the name box.

How is your dialog failing you expectations?

CL


aiQa wrote:
> I am working with gtk2-2.4.13 and also tried to use one extension. But
> it did not worked. I am updating to gtk2-2.4.14. Maybe this can help.
>
> thanks for the answers,
>
> aiQa
>
> Grant Gayed wrote:
>
>> This will work on linux iff you're running with a gtk version >= 2.4.10.
>>
>> "Steve Northover" <steve_northover@ca.ibm.com> wrote in message
>> news:cvd4e9$rtb$1@www.eclipse.org...
>>
>>> Depending on the platform, multiple file extensions are not support.
>>> It's
>>
>>
>> a
>>
>>> native limitation that we can't work around.
>>>
>>> "aiqa" <akan@aiqa.com> wrote in message
>>
>>
>> news:cvbvd9$skf$1@www.eclipse.org...
>>
>>>> Hi,
>>>> Under linux
>>>>
>>>> fileDialog.setFilterExtensions(new String[]{"*.xls", "*.doc"});
>>>>
>>>> does not seem to work. Am I right or doing something wrong?
>>>>
>>>> thanks,
>>>> aiqa
>>>
>>>
>>>
>>
>>
Previous Topic:[ANN] Non-native InternalShell implementation for SWT
Next Topic:SWT application that use DB
Goto Forum:
  


Current Time: Thu Apr 25 15:12:45 GMT 2024

Powered by FUDForum. Page generated in 0.03366 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top