Re: PyGObject: modify icon contest for ToolButton

There must be more restrictions because of Gtk.ToolButton().

I tried some more icons I can found in

But they are not shown. Why?

On 2019-02-13 13:48 "c.buhtz--- via python-hackers-list"
<python-hackers-list gnome org> wrote:
I read about Gtk.IconTheme - very nice.

I want to use some special icons on Gtk.ToolButton() Gtk.Toolbar().

But when using 'icon_name' in a ToolButton it looks like that only the
'Action' context of is used. When I try a name from another icon
context the icon is empty.

I checked the existence of a icon from another context via
Gtk.IconTheme.list_icons() and looking into the filesystem itself.

Is there a easy way to make Gtk.ToolButton() useing another icon

I know the workaround with Gtk.ToolButton.icon-widget. This would be
to much code/work for such a simple task.
python-hackers-list mailing list
python-hackers-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]