How can I make a buttons like the one that you can see on the screenshot (underlined). What wxART_* I shall use? Yes I now I can set the appropriate bitmap for this buttons, but in GNOME it will not automatically changed with selected icon set like it do for wxART_GO_FORWARD constant. You suggestions?
How can I make a buttons like the one that you can see on the screenshot (underlined). What wxART_* I shall use? Yes I now I can set the appropriate bitmap for this buttons, but in GNOME it will not automatically changed with selected icon set like it do for wxART_GO_FORWARD constant. You suggestions?
I don't think that there are ArtProvider constants for images like that, but if your app is running on wxGTK then you can just use the GNOME names and ArtProvider will load them from the current icon theme. You'll need to provide some other images yourself for the other platforms though.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
How can I make a buttons like the one that you can see on the screenshot (underlined). What wxART_* I shall use? Yes I now I can set the appropriate bitmap for this buttons, but in GNOME it will not automatically changed with selected icon set like it do for wxART_GO_FORWARD constant. You suggestions?
I don't think that there are ArtProvider constants for images like that, but if your app is running on wxGTK then you can just use the GNOME names and ArtProvider will load them from the current icon theme. You'll need to provide some other images yourself for the other platforms though.
Ok, where I can get list of names of GNOME stock icons? How I can get access to them from wxPython?
How can I make a buttons like the one that you can see on the screenshot (underlined). What wxART_* I shall use? Yes I now I can set the appropriate bitmap for this buttons, but in GNOME it will not automatically changed with selected icon set like it do for wxART_GO_FORWARD constant. You suggestions?
I don't think that there are ArtProvider constants for images like that, but if your app is running on wxGTK then you can just use the GNOME names and ArtProvider will load them from the current icon theme. You'll need to provide some other images yourself for the other platforms though.
Ok, where I can get list of names of GNOME stock icons?
There is probably some official place they are documented, but I just look in /usr/include/gtk-2.0/gtk/gtkstock.h
How I can get access to them from wxPython?
Just use the gtk stock name strings for the art provider ID. For example, the images you showed in your earlier message are "gtk-goto-first" and "gtk-goto-last".
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!