---
name: "gobject-query"
section: "1"
platform: "linux"
package: "glib2"
version: "2.90.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/gobject-query"
---

# gobject-query(1)

display a tree of types

## Name

gobject-query - display a tree of types

## SYNOPSIS

```
gobject-query froots [OPTION…]
gobject-query tree [OPTION…]
```

## DESCRIPTION

**gobject-query** is a small utility that draws a tree of types.

It takes a mandatory argument that specifies whether it should iterate over the fundamental types or print a type tree.

## COMMANDS

**froots**

Iterate over fundamental roots.

**tree**

Print type tree.

## OPTIONS

- **-r \<TYPE\>**

  Specify the root type.

- **-n**

  Don’t descend type tree.

- **-b \<STRING\>**

  Specify indent string.

- **-i \<STRING\>**

  Specify incremental indent string.

- **-s \<NUMBER\>**

  Specify line spacing.

- **-h**, **--help**

  Print brief help and exit.

- **-v**, **--version**

  Print version and exit.
