DockItem.with_stock


Description:

[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
public DockItem.with_stock (string name, string long_name, string stock_id, DockItemBehavior behavior)

Creates a new dock item grip widget with a given stock id.

Parameters:

name

Unique name for identifying the dock object.

long_name

Human readable name for the dock object.

stock_id

Stock icon for the dock object.

behavior

General behavior for the dock item (i.e. whether it can float, if it's locked, etc.), as specified by DockItemBehavior flags.

Returns:

The newly created dock item grip widget.




2022 vala-language.org