Package: gobject
Function gobject:type-is-interface
Lambda Listgobject:type-is-interface (gtype) ArgumentsReturn ValueTrue if gtype is an interface type. Details Checks if gtype is an interface type.
An interface type provides a pure API, the implementation of which is
provided by another type, which is then said to conform to the interface.
GLib interfaces are somewhat analogous to Java interfaces and C++ classes
containing only pure virtual functions, with the difference that GType
interfaces are not derivable. Examples(g:type-is-interface "GAction") => T (g:type-is-interface (g:gtype "GAction")) => T (g:type-is-interface "GSimpleAction") => NIL | See also |
2024-12-8