@enum


Description:

public static ParamSpec @enum (string name, string nick, string blurb, Type enum_type, int default_value, ParamFlags flags)

Creates a new ParamSpec instance.

Parameters:

name

canonical name of the property specified

nick

nick name for the property specified

blurb

description of the property specified

enum_type

the enum type to get valid values from

default_value

default value for the property specified

flags

flags for the property specified

Returns:

a newly created parameter specification




2022 vala-language.org