package gobject-introspection

  1. Overview
  2. Docs

Interface_info — Struct representing a GInterface

type t

Interface_info represents a GInterface type. A GInterface has methods, fields, properties, signals, interfaces, constants, virtual functions and prerequisites.

val interfaceinfo : t Ctypes.structure Ctypes.typ
val get_n_prerequisites : t Ctypes.structure Ctypes.ptr -> int

Obtain the number of prerequisites for this interface type. A prerequisites is another interface that needs to be implemented for interface, similar to an base class for GObjects.

Obtain an interface type prerequisites index n .

val get_n_properties : t Ctypes.structure Ctypes.ptr -> int

Obtain the number of properties that this interface type has.

Obtain an interface type property at index n .

val get_n_methods : t Ctypes.structure Ctypes.ptr -> int

Obtain the number of methods that this interface type has.

Obtain an interface type method at index n .

Obtain a method of the interface type given a name . NULL will be returned if there's no method available with that name.

val get_n_signals : t Ctypes.structure Ctypes.ptr -> int

Obtain the number of signals that this interface type has.

Obtain an interface type signal at index n .

Find a signal of the interface

val get_n_constants : t Ctypes.structure Ctypes.ptr -> int

Obtain the number of constants that this interface type has.

Obtain an interface type constant at index n .

Returns the layout C structure associated with this GInterface.

val get_n_vfuncs : t Ctypes.structure Ctypes.ptr -> int

Obtain the number of virtual functions that this interface type has.

Obtain an interface type virtual function at index n .

Locate a virtual function slot with name name . See the documentation for g_object_info_find_vfunc() for more information on virtuals.

Just cast OCaml Ctypes base info to interface info.

Just cast OCaml Ctypes interface info to base info

Add unref of the C underlying structure whith Gc.finalise.

Return a Interface_info.t from a Base_info.t, the underlying C structure ref count is increased and the value is Gc.finalis"ed" with Base_info.baseinfo_unref.

Return a Base_info.t from a Interface_info, the underlying C structure ref count is increased and the value is Gc.finalis"ed" with Base_info.baseinfo_unref.

Just cast OCaml Ctypes registeredtype info to enum info.

Just cast OCaml Ctypes enum info to registeredtype info

Return a Interface_info.t from a Registered_type_info.t, the underlying C structure ref count is increased and the value is Gc.finalis"ed" with Registered_type_info.registeredtypeinfo_unref.

Return a Registered_type_info.t form a Interface_info, the underlying C structure ref count is increased and the value is Gc.finalis"ed" with Registered_type_info.registeredtypeinfo_unref.