I
I
Ivan Klimchuk2011-11-11 01:51:21
Python
Ivan Klimchuk, 2011-11-11 01:51:21

GTK+ Widget in Ubuntu?

Hello friends.
I was interested in writing a small program for Ubuntu in python ( according to the quick development guide for ubuntu ). I began to understand, try, and even something began to work out.
But I can’t figure out which widget in glade is responsible for drawing the window element, what’s in the picture:
gtk.png
This is a theme, beautiful design and all that, but I’m interested in this particular panel with the New, Save, etc. buttons. As I understand it, some standard icons are hung on them (which the faenza package then replaces). I couldn't really find anything on the topic in the gedit sources.
The panel has appeared in many new applications in the new ubuntu, including the mentioned gedit, app center, nautilus.
I don't have much experience with GTK+, so I'll forgive the help of experts.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman, 2011-11-11
@WNeZRoS

In my opinion, this panel has nothing to do with the icons from your theme.
There is a class gtk.IconTheme and a function gtk.icon_theme_get_default, the latter gets the set icon theme for the current screen, after which you can get icons through the class and use it anywhere.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question