Re: Stock icons
- From: Harring Figueiredo <harringf yahoo com>
- To: Dan Korostelev <dan ats energo ru>, GTK+ application development mail list <gtk-app-devel-list gnome org>
- Cc:
- Subject: Re: Stock icons
- Date: Wed, 26 May 2004 11:06:18 -0700 (PDT)
You create your widget passing the stock icon id to it. See the API reference
for a button, for example.
http://developer.gnome.org/doc/API/2.0/gtk/GtkButton.html#gtk-button-new-from-stock
The Stock Ids are listed here.
http://developer.gnome.org/doc/API/2.0/gtk/gtk-Stock-Items.html
You can also create your own stock ids. It is also on the same reference.
Hope this helps,
Harring Figueiredo.
--- Dan Korostelev <dan ats energo ru> wrote:
Hello. I'm trying to write a small GNOME 2.6 app, but I have a question.
How the stock icons mechanism works? For example I have
a /usr/share/icons/hicolor/24x24/stock/media/stock_media-play.png file
from Hicolor icon theme, how can I use this "media-play" icon w/o
specifying exact path? (to keep "themeability")? Thanks.
--
Dan Korostelev <dan ats energo ru>
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]