Gtk.StockItem

Fields

Name

Type

Access

Description

keyval

int

r/w

Keyboard accelerator

label

str

r/w

User visible label.

modifier

Gdk.ModifierType

r/w

Modifier type for keyboard accelerator

stock_id

str

r/w

Identifier.

translation_domain

str

r/w

Translation domain of the menu or toolbar item

Methods

free ()

Details

class Gtk.StockItem

Deprecated since version 3.10.

free()[source]

Frees a stock item allocated on the heap, such as one returned by gtk_stock_item_copy(). Also frees the fields inside the stock item, if they are not None.

Deprecated since version 3.10.