Package: gobject
Function g-param-spec-internal
Lambda Listg-param-spec-internal (param-type name nick blurb flags) ArgumentsReturn ValueA newly allocated g-param-spec instance. Details
Creates a new parameter specification instance. A property name consists of segments consisting of ASCII letters and digits, separated by either the '-' or '_' character. The first character of a property name must be a letter. Names which violate these rules lead to undefined behaviour. When creating and looking up a g-param-spec, either separator can be used, but they cannot be mixed. Using '-' is considerably more efficient and in fact required when using property names as detail strings for signals. Beyond name, g-param-spec's have two more descriptive strings associated with them, nick, which should be suitable for use as a label for the property in a property editor, and blurb, which should be a somewhat longer description, suitable for e.g. a tooltip. nick and blurb should ideally be localized. Examples(g-param-spec-internal "GParamBoolean" "Boolean" "Bool" "Doku" '(:readable :writable)) => #.(SB-SYS:INT-SAP #X00933890) (g-param-spec-type-name *) => "GParamBoolean" | See also |
2020-10-10