[IronPython] Q: Set program icon from xbitmap-like array?
kingsleyturner at westpac.com.au
Sat Sep 2 03:07:09 CEST 2006
I want to set an IronPython program icon, but do not want to
load it from a external file (unless there's a way of embedding
this into the compiled .exe), but rather from a hard-coded
byte array like one would do with an XPM in C code.
icon_data = [ 0x00,0x00,0x00, ... ]
icon = System.Drawing.Icon(icon_data,32,32);
Is there a way to do this?
Actually, I guess my real question is:
How do I set an IronPython program icon without
loading it from an external file. (I don't have
a resource compiler or suchlike either).
(unremovable corporate .sig follows, my apologies)
Please consider our environment before printing this email.
WARNING - This email and any attachments may be confidential. If received in error, please delete and inform us by return email. Because emails and attachments may be interfered with, may contain computer viruses or other defects and may not be successfully replicated on other systems, you must be cautious. Westpac cannot guarantee that what you receive is what we sent. If you have any doubts about the authenticity of an email by Westpac, please contact us immediately.
It is also important to check for viruses and defects before opening or using attachments. Westpac's liability is limited to resupplying any affected attachments.
This email and its attachments are not intended to constitute any form of financial advice or recommendation of, or an offer to buy or offer to sell, any security or other financial product. We recommend that you seek your own independent legal or financial advice before proceeding with any investment decision.
Westpac Institutional Bank is a division of Westpac Banking Corporation, a company registered in New South Wales in Australia under the Corporations Act 2001 (Cth). Westpac is authorised and regulated in the United Kingdom by the Financial Services Authority and is registered at Cardiff in the United Kingdom as Branch No. BR 106. Westpac operates in the United States of America as a federally chartered branch, regulated by the Office of the Comptroller of the Currency.
Westpac Banking Corporation ABN 33 007 457 141.
More information about the Ironpython-users