Package: gobject
Function g-object-type-name
Lambda Listg-object-type-name (object) ArgumentsReturn ValueA string with type name of the object argument. Details
Gets the name of the type for an instance. Returns nil, if the object argument is nil. This function calls the g-type-from-instance and g-type-name functions to get the name, but checks for a non-nil argument. Examples(g-object-type-name (make-instance 'gtk-label)) => "GtkLabel"This is equivalent to: (g-type-name (g-type-from-instance (make-instance 'gtk-label))) => "GtkLabel" | See also |
2021-9-11