Hi there,
As I know, Windows and Gnome both have a dialog which allows users to customize the icon of a shortcut file.
I wonder if wxPython also has one alike ? All I could find is just a ImageBrowser.
Thanks.
Hi there,
As I know, Windows and Gnome both have a dialog which allows users to customize the icon of a shortcut file.
I wonder if wxPython also has one alike ? All I could find is just a ImageBrowser.
Thanks.
Hi,
On Mar 31, 2010, at 1:44 AM, Lenin Lee wrote:
Hi there,
As I know, Windows and Gnome both have a dialog which allows users to customize the icon of a shortcut file.
I wonder if wxPython also has one alike ? All I could find is just a ImageBrowser.
You can use the wx.ListCtrl with either LC_ICON or LC_SMALL_ICON style flag.
Cody
Not like that, I’d have taken ImageBrowser for it’s easier that ListCtrl.
What I really mean is that I wonder whether there is a widget just like which the Windows OS or Gnome has, you can right click on any shortcut and open the property dialog, then customize the icon to see what it is like.
2010/3/31 Cody Precord codyprecord@gmail.com
Hi,
On Mar 31, 2010, at 1:44 AM, Lenin Lee wrote:
Hi there,
As I know, Windows and Gnome both have a dialog which allows users to customize the icon of a shortcut file.
I wonder if wxPython also has one alike ? All I could find is just a ImageBrowser.
You can use the wx.ListCtrl with either LC_ICON or LC_SMALL_ICON style flag.
Cody
–
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
–
初从文,三年不第。遂习武,校场发一矢,中鼓吏,逐之出。后学医,有所成,自撰一良方,服之,卒。
When you right-click an shortcut on Windows, you do NOT edit the icon,
but the properties of the shortcut, such as what program the shortcut
opens. If you want to edit an icon, then you'll need something like
Paint.NET or the GIMP. If instead you are talking about creating a
right-click menu, wxPython has those. See the wxPython demo. wxPython
also allows you to create your own dialogs with wx.Dialog.
On Mar 31, 7:59 pm, Lenin Lee <lenin....@gmail.com> wrote:
Not like that, I'd have taken ImageBrowser for it's easier that ListCtrl.
What I really mean is that I wonder whether there is a widget just like
which the Windows OS or Gnome has, you can right click on any shortcut and
open the property dialog, then customize the icon to see what it is like.
-------------------
Mike Driscoll
I would bet that on Windows at least that is implemented with the same
native control that wx.ListCtrl uses. But to answer your question, no,
there isn't a ready-made solution that will do everything for you.
You'll need to put together the components wxPython gives you to build
what you want.
On 3/31/10 5:59 PM, Lenin Lee wrote:
Not like that, I'd have taken ImageBrowser for it's easier that ListCtrl.
What I really mean is that I wonder whether there is a widget just like
which the Windows OS or Gnome has, you can right click on any shortcut
and open the property dialog, then customize the icon to see what it is
like.
--
Robin Dunn
Software Craftsman
May be I didn’t express my question accurately, I just need a icon-picking dialog like what Windows or Gnome has.
2010/4/1 Mike Driscoll kyosohma@gmail.com
On Mar 31, 7:59 pm, Lenin Lee lenin....@gmail.com wrote:
Not like that, I’d have taken ImageBrowser for it’s easier that ListCtrl.
What I really mean is that I wonder whether there is a widget just like
which the Windows OS or Gnome has, you can right click on any shortcut and
open the property dialog, then customize the icon to see what it is like.
When you right-click an shortcut on Windows, you do NOT edit the icon,
but the properties of the shortcut, such as what program the shortcut
opens. If you want to edit an icon, then you’ll need something like
Paint.NET or the GIMP. If instead you are talking about creating a
right-click menu, wxPython has those. See the wxPython demo. wxPython
also allows you to create your own dialogs with wx.Dialog.
Mike Driscoll
Blog: http://blog.pythonlibrary.org
–
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
To unsubscribe, reply using “remove me” as the subject.
–
初从文,三年不第。遂习武,校场发一矢,中鼓吏,逐之出。后学医,有所成,自撰一良方,服之,卒。
All right, I can not choose but use ImageBrowser.
2010/4/1 Robin Dunn robin@alldunn.com
On 3/31/10 5:59 PM, Lenin Lee wrote:
Not like that, I’d have taken ImageBrowser for it’s easier that ListCtrl.
What I really mean is that I wonder whether there is a widget just like
which the Windows OS or Gnome has, you can right click on any shortcut
and open the property dialog, then customize the icon to see what it is
like.
I would bet that on Windows at least that is implemented with the same
native control that wx.ListCtrl uses. But to answer your question, no,
there isn’t a ready-made solution that will do everything for you.
You’ll need to put together the components wxPython gives you to build
what you want.
–
Robin Dunn
Software Craftsman
–
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
–
初从文,三年不第。遂习武,校场发一矢,中鼓吏,逐之出。后学医,有所成,自撰一良方,服之,卒。
I had to look at a shortcut to see what you wanted to do (I'm on
Windows XP). The dialog should be easy to build. You need a file
picker control to select the directory, and the Ultimate List Control
should give you the grid-like list of icons you want.
http://xoomer.virgilio.it/infinity77/main/UltimateListCtrl.html
Josh
2010/4/1 Lenin Lee <lenin.lee@gmail.com>:
May be I didn't express my question accurately, I just need a icon-picking
dialog like what Windows or Gnome has.
Try having a look at the Demo image browser and the help file for wxTopLevelWindow::SetIcon.
Gadget/Steve
From: Lenin Lee
Sent: Friday, April 02, 2010 6:30 AM
To: wxpython-users@googlegroups.com
Subject: Re: [wxPython-users] Re: Is there a widget for picking icons ?
May be I didn’t express my question accurately, I just need a icon-picking dialog like what Windows or Gnome has.
2010/4/1 Mike Driscoll kyosohma@gmail.com
On Mar 31, 7:59 pm, Lenin Lee lenin....@gmail.com wrote:
Not like that, I’d have taken ImageBrowser for it’s easier that ListCtrl.
What I really mean is that I wonder whether there is a widget just like
which the Windows OS or Gnome has, you can right click on any shortcut and
open the property dialog, then customize the icon to see what it is like.
When you right-click an shortcut on Windows, you do NOT edit the icon,
but the properties of the shortcut, such as what program the shortcut
opens. If you want to edit an icon, then you’ll need something like
Paint.NET or the GIMP. If instead you are talking about creating a
right-click menu, wxPython has those. See the wxPython demo. wxPython
also allows you to create your own dialogs with wx.Dialog.
Mike Driscoll
Blog: http://blog.pythonlibrary.org
–
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
To unsubscribe, reply using “remove me” as the subject.
–
初从文,三年不第。遂习武,校场发一矢,中鼓吏,逐之出。后学医,有所成,自撰一良方,服之,卒。
–
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
Thanks, Josh, very useful .
2010/4/2 Josh English joshua.r.english@gmail.com
I had to look at a shortcut to see what you wanted to do (I’m on
Windows XP). The dialog should be easy to build. You need a file
picker control to select the directory, and the Ultimate List Control
should give you the grid-like list of icons you want.
http://xoomer.virgilio.it/infinity77/main/UltimateListCtrl.html
Josh
2010/4/1 Lenin Lee lenin.lee@gmail.com:
May be I didn’t express my question accurately, I just need a icon-picking
dialog like what Windows or Gnome has.
–
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
To unsubscribe, reply using “remove me” as the subject.
–
初从文,三年不第。遂习武,校场发一矢,中鼓吏,逐之出。后学医,有所成,自撰一良方,服之,卒。
Good idea, I’ll try.
在 2010年4月2日 下午4:33,GadgetSteve gadgetsteve@live.co.uk写道:
Try having a look at the Demo image browser and the help file for wxTopLevelWindow::SetIcon.
Gadget/Steve
From: Lenin Lee
Sent: Friday, April 02, 2010 6:30 AM
Subject: Re: [wxPython-users] Re: Is there a widget for picking icons ?
May be I didn’t express my question accurately, I just need a icon-picking dialog like what Windows or Gnome has.
2010/4/1 Mike Driscoll kyosohma@gmail.com
On Mar 31, 7:59 pm, Lenin Lee lenin....@gmail.com wrote:
Not like that, I’d have taken ImageBrowser for it’s easier that ListCtrl.
What I really mean is that I wonder whether there is a widget just like
which the Windows OS or Gnome has, you can right click on any shortcut and
open the property dialog, then customize the icon to see what it is like.
When you right-click an shortcut on Windows, you do NOT edit the icon,
but the properties of the shortcut, such as what program the shortcut
opens. If you want to edit an icon, then you’ll need something like
Paint.NET or the GIMP. If instead you are talking about creating a
right-click menu, wxPython has those. See the wxPython demo. wxPython
also allows you to create your own dialogs with wx.Dialog.
Mike Driscoll
Blog: http://blog.pythonlibrary.org
–
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
To unsubscribe, reply using “remove me” as the subject.
–
初从文,三年不第。遂习武,校场发一矢,中鼓吏,逐之出。后学医,有所成,自撰一良方,服之,卒。
–
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
–
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
–
初从文,三年不第。遂习武,校场发一矢,中鼓吏,逐之出。后学医,有所成,自撰一良方,服之,卒。