class documentation

class IconButton(Gtk.Button): (source)

View In Hierarchy

Button with a stock icon, but no label.
Method __init__ Constructor
def __init__(self, stock, relief=True, size=Gtk.IconSize.BUTTON): (source)
Constructor
Parameters
stockconstant for the stock item
reliefwhen False the button has no visible raised edge and will be flat against the background
sizethe icon size