|
marco 1.29.1
Window manager
|
#include <glib.h>#include <glib-object.h>#include <cairo.h>#include <X11/Xlib.h>#include "boxes.h"#include "types.h"Macros | |
| #define | META_TYPE_WINDOW meta_window_get_type () |
Typedefs | |
| typedef struct _MetaWindow | MetaWindow |
Functions | |
| MetaFrame * | meta_window_get_frame (MetaWindow *window) |
| gboolean | meta_window_has_focus (MetaWindow *window) |
| gboolean | meta_window_is_shaded (MetaWindow *window) |
| MetaRectangle * | meta_window_get_rect (MetaWindow *window) |
| MetaScreen * | meta_window_get_screen (MetaWindow *window) |
| MetaDisplay * | meta_window_get_display (MetaWindow *window) |
| Window | meta_window_get_xwindow (MetaWindow *window) |
| MetaWindow * | meta_window_get_transient_for (MetaWindow *window) |
| meta_window_get_transient_for: @window: a MetaWindow | |
| gboolean | meta_window_is_maximized (MetaWindow *window) |
| cairo_region_t * | meta_window_get_frame_bounds (MetaWindow *window) |
| meta_window_get_frame_bounds: | |
| gboolean | meta_window_is_tiled_left (MetaWindow *window) |
| gboolean | meta_window_is_tiled_right (MetaWindow *window) |
| #define META_TYPE_WINDOW meta_window_get_type () |
| typedef struct _MetaWindow MetaWindow |
| MetaDisplay * meta_window_get_display | ( | MetaWindow * | window | ) |
References _MetaWindow::display.
| MetaFrame * meta_window_get_frame | ( | MetaWindow * | window | ) |
References _MetaWindow::frame.
| cairo_region_t * meta_window_get_frame_bounds | ( | MetaWindow * | window | ) |
meta_window_get_frame_bounds:
Gets a region representing the outer bounds of the window's frame.
Return value: (transfer none) (allow-none): a #cairo_region_t holding the outer bounds of the window, or NULL if the window doesn't have a frame.
References _MetaWindow::frame, _MetaWindow::frame_bounds, and meta_frame_get_frame_bounds().
| MetaRectangle * meta_window_get_rect | ( | MetaWindow * | window | ) |
References _MetaWindow::rect.
| MetaScreen * meta_window_get_screen | ( | MetaWindow * | window | ) |
References _MetaWindow::screen.
| MetaWindow * meta_window_get_transient_for | ( | MetaWindow * | window | ) |
meta_window_get_transient_for: @window: a MetaWindow
Returns the MetaWindow for the window that is pointed to by the WM_TRANSIENT_FOR hint on this window (see XGetTransientForHint() or XSetTransientForHint()). Marco keeps transient windows above their parents. A typical usage of this hint is for a dialog that wants to stay above its associated window.
Return value: (transfer none): the window this window is transient for, or NULL if the WM_TRANSIENT_FOR hint is unset or does not point to a toplevel window that Marco knows about.
References _MetaWindow::display, meta_display_lookup_x_window(), NULL, and _MetaWindow::xtransient_for.
Referenced by check_ancestor_focus_appearance(), constrain_modal_dialog(), meta_core_get(), move_attached_dialog(), prefs_changed_callback(), and recalc_window_features().
| Window meta_window_get_xwindow | ( | MetaWindow * | window | ) |
References _MetaWindow::xwindow.
| gboolean meta_window_has_focus | ( | MetaWindow * | window | ) |
References _MetaWindow::has_focus.
| gboolean meta_window_is_maximized | ( | MetaWindow * | window | ) |
References META_WINDOW_MAXIMIZED.
| gboolean meta_window_is_shaded | ( | MetaWindow * | window | ) |
References _MetaWindow::shaded.
| gboolean meta_window_is_tiled_left | ( | MetaWindow * | window | ) |
References META_WINDOW_TILED_LEFT.
| gboolean meta_window_is_tiled_right | ( | MetaWindow * | window | ) |
References META_WINDOW_TILED_RIGHT.