SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] Window minimize icon

From: John H. <jdh...@ac...> - 2004年07月26日 21:00:37
>>>>> "Steve" == Steve Chaplin <ste...@ya...> writes:
 Steve> I've added an icon for use for when matplotlib windows are
 Steve> minimized and chose an arbitrary icon (back.svg) to get it
 Steve> working on the GTK+ backend. Since the icon has to be
 Steve> resized to fit in the panel, and svg are good at resizing,
 Steve> I used svg instead of the usual png format (png or other
 Steve> formats could be used instead if required).
 Steve> John, if you can find/create a suitable matplotlib icon
 Steve> just copy it to images/matplotlib.svg and overwrite the
 Steve> existing icon file.
I had the bright idea to use the svg backend to generate the
minimization icon. See examples/matplotlib_icon.svg. It displays
correctly on my web browser, but not when minimized. I don't know if
this reflects a problem in the svg backend, or how gtk handles svg
icons.
If we can get this example to work, the next thing to do is connect
the icon setting to the window minimize event, and set the icon to be
the svg output of the current figure window!
JDH

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /