Icons in wxPython?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Frithiof Andreas Jensen

    Icons in wxPython?

    Hi,

    I have a problem with wxPython -

    I would like to use some standard icons for common operations like f.ex.
    "New File" or somesuch - currently on Win32 - but preferably in a
    platform-independent way.

    Does wxPython contain a defined list of standard Ressource ID's for Icons
    that are reasonably consistent across platforms or must *everyone on the
    entire planet* use his own unique set of Icons+ID's for common operations -
    as the documentation (or rather the lack of it) hints at?

    PS:

    I cannot even find a list of the windows-specific ressource ID's anywhere;
    must one buy the Visual C++ SDK to be able to use icons already built into
    Win32's 'common.rc' ressources ?


  • Jarek Zgoda

    #2
    Re: Icons in wxPython?

    Frithiof Andreas Jensen <frithiof.jense n@removethis.te d.ericsson.dk> pisze:
    [color=blue]
    > I would like to use some standard icons for common operations like f.ex.
    > "New File" or somesuch - currently on Win32 - but preferably in a
    > platform-independent way.
    >
    > Does wxPython contain a defined list of standard Ressource ID's for Icons
    > that are reasonably consistent across platforms or must *everyone on the
    > entire planet* use his own unique set of Icons+ID's for common operations -
    > as the documentation (or rather the lack of it) hints at?[/color]

    Not in strict sense, but you can check wxArtProvider class -- this can be
    what you look for.

    --
    Jarek Zgoda
    Unregistered Linux User #-1
    http://www.zgoda.biz/ JID:zgoda@chrom e.pl http://zgoda.jogger.pl/

    Comment

    Working...