package ocgtk

  1. Overview
  2. Docs
OCaml bindings for GTK 4

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1-preview2.tar.gz
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054

doc/ocgtk.gio/Ocgtk_gio/Gio/Wrappers/Settings_schema_source/index.html

Module Wrappers.Settings_schema_source

type t = [ `settings_schema_source ] Gobject.obj

This is an opaque structure type. You may not access it directly.

val new_from_directory : string -> t option -> bool -> (t, GError.t) result

Create a new SettingsSchemaSource

val ref : t -> t

Increase the reference count of @source, returning a new reference.

val lookup : t -> string -> bool -> [ `settings_schema ] Gobject.obj option

Looks up a schema with the identifier @schema_id in @source.

This function is not required for normal uses of #GSettings but it may be useful to authors of plugin management systems or to those who want to introspect the content of schemas.

If the schema isn't found directly in @source and @recursive is %TRUE then the parent sources will also be checked.

If the schema isn't found, %NULL is returned.

val get_type : unit -> Gobject.Type.t