Re: Resizing SVG images...



The description of Gtk::Toolbar::set_icon_size() says: "This function sets the size of stock icons in the toolbar." If you use your own icon files (SVG or any other type), it's not a stock icon. You have to look for another method to resize your icons.

Stock icons are deprecated. It would be reasonable to deprecate Gtk::Toolbar::set_icon_size() if it really affects only stock icons. But gtk_toolbar_set_icon_size() is not deprecated, and then Gtk::Toolbar::set_icon_size() is not deprecated.

Kjell

Den 2016-06-28 kl. 14:13, skrev Glus Xof:
Hi, again,

I'm wonder now if the method Gtk::Toolbar::set_icon_size(...) is the right one... is the right one or should try with another ?

Moreover, this method goes with an argument of type Gtk::IconSize... which is a type deprecated on most elements: I tested with diferents values of Gtk::BuiltIconSize...

Any ideas ?

Glus

2016-06-27 20:45 GMT+02:00 Glus Xof <gtglus gmail com>:
Hi guys,

I don't reach to resize SVG images contained in a Gtk::ToolButton objects.

I tried with Gtk::Toolbar::set_icon_size (...) without succesful results...

What am I doing wrong ?

Glus





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