Mtk – 51
Description: Reference for Mtk-51

### Namespace

# Mtk – 51

Mutter Toolkit Private Library

Version | 51
Authors | Mutter Development Team
License | GPL-2.0-or-later
Website | https://mutter.gnome.org
Source | https://gitlab.gnome.org/GNOME/mutter/

#### Build

C headers | `mtk/mtk.h`
pkg-config files | `mutter-mtk-51`

#### Dependencies

GObject—2.0 | The base type system library
| Browse documentation

#### Structs

AnonymousFile |
DbusPidfd |
DisposeBin |
Rectangle |
Region |
RegionBuilder |
RegionIterator | MtkRegion is a yx banded region; sometimes its useful to iterate through such a region treating the start and end of each horizontal band in a distinct fashion.

#### Enumerations

AnonymousFileMapmode |
MonitorTransform |
RegionOverlap |
RoundingStrategy |

#### Functions

compute_viewport_matrix |
extrapolate_next_interval_boundary |
find_nearest_interval_boundary |
idle_add | Adds a function to be called whenever there are no higher priority events pending.
idle_add_full | Adds a function to be called whenever there are no higher priority events pending.
idle_add_once | Adds a function to be called whenever there are no higher priority events pending to the default main loop.
is_fd_readable |
monitor_transform_from_string |
monitor_transform_invert |
monitor_transform_to_string |
monitor_transform_transform |
monitor_transform_transform_matrix |
monitor_transform_transform_point |
source_remove | Removes the source with the given ID from the default main context.
source_set_name_by_id | Sets the name of a source using its ID.
timeout_add | Sets a function to be called at regular intervals, with the default priority, `G_PRIORITY_DEFAULT`.
timeout_add_full | Sets a function to be called at regular intervals, with the given priority.
timeout_add_once | Sets a function to be called after `interval` milliseconds have elapsed, with the default priority, `G_PRIORITY_DEFAULT`.
timeout_add_seconds | Sets a function to be called at regular intervals with the default priority, `G_PRIORITY_DEFAULT`.
timeout_add_seconds_full | Sets a function to be called at regular intervals, with `priority`.
timeout_add_seconds_once | This function behaves like `mtk_timeout_add_once()` but with a range in seconds.
x11_error_trap_pop |
x11_error_trap_pop_with_return |
x11_error_trap_push |
x11_errors_deinit |
x11_errors_init |

#### Function Macros

RECTANGLE_CREATE_ARRAY_SCOPED |
RECTANGLE_INIT |

#### Constants

MONITOR_ALL_TRANSFORMS |
MONITOR_N_TRANSFORMS |
RECTANGLE_MAX_STACK_RECTS |
REGION_BUILDER_MAX_LEVELS |