package gobject-introspection

  1. Overview
  2. Docs
include module type of struct include GParam end
type flags =
  1. | Readable
    (*

    the parameter is readable

    *)
  2. | Writable
    (*

    the parameter is writable

    *)
  3. | Readwrite
    (*

    alias for G_PARAM_READABLE | G_PARAM_WRITABLE

    *)
  4. | Construct
    (*

    the parameter will be set upon object construction

    *)
  5. | Construct_only
    (*

    the parameter can only be set upon object construction

    *)
  6. | Lax_validation
    (*

    upon parameter conversion (see g_param_value_convert()) strict validation is not required

    *)
  7. | Static_name
    (*

    the string used as name when constructing the parameter is guaranteed to remain valid and unmodified for the lifetime of the parameter. Since 2.8

    *)
  8. | Static_nick
    (*

    the string used as nick when constructing the parameter is guaranteed to remain valid and unmmodified for the lifetime of the parameter. Since 2.8

    *)
  9. | Static_blurb
    (*

    the string used as blurb when constructing the parameter is guaranteed to remain valid and unmodified for the lifetime of the parameter. Since 2.8

    *)
  10. | Explicit_notify
    (*

    calls to g_object_set_property() for this property will not automatically result in a "notify" signal being emitted: the implementation must call g_object_notify() themselves in case the property actually changes. Since: 2.42.

    *)
  11. | Deprecated
    (*

    the parameter is deprecated and will be removed in a future version. A warning will be generated if it is used while running with G_ENABLE_DIAGNOSTIC=1. Since 2.26

    *)
val string_of_flag : flags -> string
module Flags (T : Cstubs.Types.TYPE) : sig ... end
OCaml

Innovation. Community. Security.