Is there a way to force the wx.FileDialog to show as default the
thumbnails vie in stead of list view?
thanks, janwillem 8 3574
2008/2/9, Janwillem <jw******@xs4all.nl>:
Is there a way to force the wx.FileDialog to show as default the
thumbnails vie in stead of list view?
thanks, janwillem
-- http://mail.python.org/mailman/listinfo/python-list
You should be using wx.lib.imagebrowser.ImageDialog instead of
wx.FileDialog for that purpose.
--
-- Guilherme H. Polo Goncalves
Guilherme Polo wrote:
2008/2/9, Janwillem <jw******@xs4all.nl>:
>Is there a way to force the wx.FileDialog to show as default the thumbnails vie in stead of list view? thanks, janwillem
-- http://mail.python.org/mailman/listinfo/python-list
You should be using wx.lib.imagebrowser.ImageDialog instead of
wx.FileDialog for that purpose.
Thanks for the hint, very neat widget. However, it seems not to support
multiple selection. My application selects from a series of low light
photographs of the same subject the sharpest one (like BSS on Nikon
Coolpix). So I need multiple selection and thumbnails. It works with
wx.FileDialog style=FD_MULTIPLE but I have to select thumbnail view
every time.
Janwillem
2008/2/10, Janwillem <jw******@xs4all.nl>:
Guilherme Polo wrote:
2008/2/9, Janwillem <jw******@xs4all.nl>:
Is there a way to force the wx.FileDialog to show as default the
> thumbnails vie in stead of list view?
> thanks, janwillem
>>
>--
> http://mail.python.org/mailman/listinfo/python-list
>>
>
You should be using wx.lib.imagebrowser.ImageDialog instead of
wx.FileDialog for that purpose.
>
>
Thanks for the hint, very neat widget. However, it seems not to support
multiple selection. My application selects from a series of low light
photographs of the same subject the sharpest one (like BSS on Nikon
Coolpix). So I need multiple selection and thumbnails. It works with
wx.FileDialog style=FD_MULTIPLE but I have to select thumbnail view
every time.
Janwillem
-- http://mail.python.org/mailman/listinfo/python-list
Unfortunately that is not possible with imagebrowser because it sets
the listbox for single selection in the code. A patch will fix this.
Now continuing on FileDialog.. I don't have the option to change to
thumbnail view here, I guess you are using Windows, so it is not
cross-platform. imagebrowser is cross-platform because it is all done
by wxPython.
--
-- Guilherme H. Polo Goncalves
Guilherme Polo wrote:
2008/2/10, Janwillem <jw******@xs4all.nl>:
>Guilherme Polo wrote:
> 2008/2/9, Janwillem <jw******@xs4all.nl>:
>>>Is there a way to force the wx.FileDialog to show as default the thumbnails vie in stead of list view? thanks, janwillem
-- http://mail.python.org/mailman/listinfo/python-list
>>You should be using wx.lib.imagebrowser.ImageDialog instead of wx.FileDialog for that purpose.
Thanks for the hint, very neat widget. However, it seems not to support multiple selection. My application selects from a series of low light photographs of the same subject the sharpest one (like BSS on Nikon Coolpix). So I need multiple selection and thumbnails. It works with wx.FileDialog style=FD_MULTIPLE but I have to select thumbnail view every time.
Janwillem -- http://mail.python.org/mailman/listinfo/python-list
Unfortunately that is not possible with imagebrowser because it sets
the listbox for single selection in the code. A patch will fix this.
Now continuing on FileDialog.. I don't have the option to change to
thumbnail view here, I guess you are using Windows, so it is not
cross-platform. imagebrowser is cross-platform because it is all done
by wxPython.
The application is meant to become x-platform; prefarably linux osX and
win. I use:
dialog=wx.FileDialog(None,'Choose picture file',defDir,\
style=wx.OPEN | wx.FD_MULTIPLE,wildcard=wcard)
and supposed that the wx dialog would work on linux. I did not yet test
this because the app depends on a lib (dll) which I have not yet made to
work in Linux (it's pascal and freepascal has a problem I have to dive
into).
On Feb 10, 6:41 am, Janwillem <jwevd...@xs4all.nlwrote:
Guilherme Polo wrote:
2008/2/10, Janwillem <jwevd...@xs4all.nl>:
Guilherme Polo wrote:
2008/2/9, Janwillem <jwevd...@xs4all.nl>:
>>Is there a way to force the wx.FileDialog to show as default the
> thumbnails vie in stead of list view?
> thanks, janwillem
>--
> http://mail.python.org/mailman/listinfo/python-list
>You should be using wx.lib.imagebrowser.ImageDialog instead of
wx.FileDialog for that purpose.
Thanks for the hint, very neat widget. However, it seems not to support
multiple selection. My application selects from a series of low light
photographs of the same subject the sharpest one (like BSS on Nikon
Coolpix). So I need multiple selection and thumbnails. It works with
wx.FileDialog style=FD_MULTIPLE but I have to select thumbnail view
every time.
Janwillem
-- http://mail.python.org/mailman/listinfo/python-list
Unfortunately that is not possible with imagebrowser because it sets
the listbox for single selection in the code. A patch will fix this.
Now continuing on FileDialog.. I don't have the option to change to
thumbnail view here, I guess you are using Windows, so it is not
cross-platform. imagebrowser is cross-platform because it is all done
by wxPython.
The application is meant to become x-platform; prefarably linux osX and
win. I use:
dialog=wx.FileDialog(None,'Choose picture file',defDir,\
style=wx.OPEN | wx.FD_MULTIPLE,wildcard=wcard)
and supposed that the wx dialog would work on linux. I did not yet test
this because the app depends on a lib (dll) which I have not yet made to
work in Linux (it's pascal and freepascal has a problem I have to dive
into).
What is your application supposed to do? In the meantime, I recommend
looking at this control: http://xoomer.alice.it/infinity77/ma...bnailCtrl.html
You can probably get what you need from it. I also highly recommend
posting to the wxPython user's group where you'll get more wx-specific
help. See below: http://wxpython.org/maillist.php
If you download the venerable wxPython Demo from wxPython.org, you can
check out other related widgets such as wx.ImageBrowser or the
wx.BitmapComboBox.
HTH
Mike
2008/2/11, Mike Driscoll <ky******@gmail.com>:
On Feb 10, 6:41 am, Janwillem <jwevd...@xs4all.nlwrote:
Guilherme Polo wrote:
2008/2/10, Janwillem <jwevd...@xs4all.nl>:
>Guilherme Polo wrote:
> 2008/2/9, Janwillem <jwevd...@xs4all.nl>:
>>>Is there a way to force the wx.FileDialog to show as default the
> > thumbnails vie in stead of list view?
> > thanks, janwillem
> >--
> > http://mail.python.org/mailman/listinfo/python-list
>>You should be using wx.lib.imagebrowser.ImageDialog instead of
> wx.FileDialog for that purpose.
>Thanks for the hint, very neat widget. However, it seems not to support
> multiple selection. My application selects from a series of low light
> photographs of the same subject the sharpest one (like BSS on Nikon
> Coolpix). So I need multiple selection and thumbnails. It works with
> wx.FileDialog style=FD_MULTIPLE but I have to select thumbnail view
> every time.
>Janwillem
> --
> http://mail.python.org/mailman/listinfo/python-list
Unfortunately that is not possible with imagebrowser because it sets
the listbox for single selection in the code. A patch will fix this.
Now continuing on FileDialog.. I don't have the option to change to
thumbnail view here, I guess you are using Windows, so it is not
cross-platform. imagebrowser is cross-platform because it is all done
by wxPython.
The application is meant to become x-platform; prefarably linux osX and
win. I use:
dialog=wx.FileDialog(None,'Choose picture file',defDir,\
style=wx.OPEN | wx.FD_MULTIPLE,wildcard=wcard)
and supposed that the wx dialog would work on linux. I did not yet test
this because the app depends on a lib (dll) which I have not yet made to
work in Linux (it's pascal and freepascal has a problem I have to dive
into).
What is your application supposed to do? In the meantime, I recommend
looking at this control:
http://xoomer.alice.it/infinity77/ma...bnailCtrl.html
You can probably get what you need from it. I also highly recommend
posting to the wxPython user's group where you'll get more wx-specific
help. See below:
http://wxpython.org/maillist.php
If you download the venerable wxPython Demo from wxPython.org, you can
check out other related widgets such as wx.ImageBrowser or the
wx.BitmapComboBox.
wx.ImageBrowser and wx.BitmapComboBox are non-existent widgets. There
are demos named like that but the actual widgets are
wx.lib.imagebrowser and wx.combo.BitmapComboBox
>
HTH
Mike
-- http://mail.python.org/mailman/listinfo/python-list
--
-- Guilherme H. Polo Goncalves
On Feb 11, 2008 12:14 PM, Guilherme Polo <gg****@gmail.comwrote:
2008/2/11, Mike Driscoll <ky******@gmail.com>:
On Feb 10, 6:41 am, Janwillem <jwevd...@xs4all.nlwrote:
Guilherme Polo wrote:
2008/2/10, Janwillem <jwevd...@xs4all.nl>:
Guilherme Polo wrote:
2008/2/9, Janwillem <jwevd...@xs4all.nl>:
>
>>Is there a way to force the wx.FileDialog to show as default the
> thumbnails vie in stead of list view?
> thanks, janwillem
>
<snip>
What is your application supposed to do? In the meantime, I recommend
looking at this control: http://xoomer.alice.it/infinity77/ma...bnailCtrl.html
You can probably get what you need from it. I also highly recommend
posting to the wxPython user's group where you'll get more wx-specific
help. See below: http://wxpython.org/maillist.php
If you download the venerable wxPython Demo from wxPython.org, you can
check out other related widgets such as wx.ImageBrowser or the
wx.BitmapComboBox.
wx.ImageBrowser and wx.BitmapComboBox are non-existent widgets. There
are demos named like that but the actual widgets are
wx.lib.imagebrowser and wx.combo.BitmapComboBox
Whoops! My bad! Still, I think the OP might find them useful for
creating his own custom image dialog.
Cheers,
Mike
>
HTH
Mike
-- http://mail.python.org/mailman/listinfo/python-list
--
-- Guilherme H. Polo Goncalves
2008/2/11, Mike Driscoll <ky******@gmail.com>:
On Feb 11, 2008 12:14 PM, Guilherme Polo <gg****@gmail.comwrote:
2008/2/11, Mike Driscoll <ky******@gmail.com>:
On Feb 10, 6:41 am, Janwillem <jwevd...@xs4all.nlwrote:
Guilherme Polo wrote:
2008/2/10, Janwillem <jwevd...@xs4all.nl>:
>Guilherme Polo wrote:
> 2008/2/9, Janwillem <jwevd...@xs4all.nl>:
>>>Is there a way to force the wx.FileDialog to show as default the
> > thumbnails vie in stead of list view?
> > thanks, janwillem
<snip>
>
What is your application supposed to do? In the meantime, I recommend
looking at this control:
> http://xoomer.alice.it/infinity77/ma...bnailCtrl.html
>
You can probably get what you need from it. I also highly recommend
posting to the wxPython user's group where you'll get more wx-specific
help. See below:
> http://wxpython.org/maillist.php
>
If you download the venerable wxPython Demo from wxPython.org, you can
check out other related widgets such as wx.ImageBrowser or the
wx.BitmapComboBox.
wx.ImageBrowser and wx.BitmapComboBox are non-existent widgets. There
are demos named like that but the actual widgets are
wx.lib.imagebrowser and wx.combo.BitmapComboBox
Whoops! My bad! Still, I think the OP might find them useful for
creating his own custom image dialog.
Cheers,
Mike
It is ok ;) I mentioned imagebrowser on my first email, but he needs
to selection several images at once and imagebrowser lacks this right
now. An easy patch fix this, the widget would take another argument to
specify the style of the listbox it uses and it needs to store all the
selected images using listbox.GetSelections() if the user opts for
multiple selection.
I suggest posting this at wx maillist as feature request so you don't
need to wait for me to submit a patch.
>
>
HTH
>
Mike
-- http://mail.python.org/mailman/listinfo/python-list
>
--
-- Guilherme H. Polo Goncalves
--
-- Guilherme H. Polo Goncalves This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: max4 |
last post by:
hello
i would like to know if there is a good tutorial about how to do this
or if someone could explain
thank you
|
by: Anand |
last post by:
I am calling a python script from LabVIEW. This is achieved by making
a dll call to python22.dll. It works perfectly well for most of my
code. I now want to throwup dialog boxes from python. It...
|
by: Christoph Lehmann |
last post by:
Hi
I am a newbie and have a very simple python code, doing some calculations.
maybe there is one already having a code snippet in wxPython for what I need:
(i) simple dialog box, where the...
|
by: Grant Edwards |
last post by:
Can anybody recommend a good book on wxPython? Are there any
books on wxPython?
I've been trying to learn wxPython and/or wax for a few weeks,
and I'm just not getting it.
wxWindows seems...
|
by: flupke |
last post by:
Hi,
i'm trying to convert my java console app to a python gui.
Now, the only problem i seem to have at the moment are the resizers
for the layout. It seems that for the purpose of what i'm...
|
by: Alain Paschoud |
last post by:
Hi all,
I made a small dialog in WxPython. I can run the python script with a
double-click or through command line, and everything goes fine (dialog
appears, which means that wx module has been...
|
by: Stefanie Wagner |
last post by:
Hello, I am fighting with EVT_KILL_FOCUS for quite a time now and I
don't succeed at all.
Situation:
If a user leaves a textfield the entered information should be checked
and an additional...
|
by: Tyler |
last post by:
Hello All:
I am currently working on a project to create an FEM model for school.
I was thinking about using wxPython to gather the 12 input variables
from the user, then, after pressing the...
|
by: Iain King |
last post by:
Hi. I have a modal dialog whcih has a "Browse..." button which pops
up a file selector. This all works fine, but the first thing the user
has to do when they open the dialog is select a file, so...
|
by: Kemmylinns12 |
last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
|
by: Naresh1 |
last post by:
What is WebLogic Admin Training?
WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
|
by: antdb |
last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine
In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
|
by: WisdomUfot |
last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
|
by: Oralloy |
last post by:
Hello Folks,
I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA.
My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
|
by: BLUEPANDA |
last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
|
by: Rahul1995seven |
last post by:
Introduction:
In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
|
by: jack2019x |
last post by:
hello, Is there code or static lib for hook swapchain present?
I wanna hook dxgi swapchain present for dx11 and dx9.
|
by: DizelArs |
last post by:
Hi all)
Faced with a problem, element.click() event doesn't work in Safari browser.
Tried various tricks like emulating touch event through a function:
let clickEvent = new Event('click', {...
| |