![]() |
![]() |
![]() |
Cairo Composite Manager Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals |
#define CCM_WINDOW_XWINDOW (obj) CCMWindow; CCMWindow * ccm_window_new (CCMScreen *screen
,Window xwindow
); void ccm_window_make_output_only (CCMWindow *self
); void ccm_window_make_input_output (CCMWindow *self
); void ccm_window_redirect (CCMWindow *self
); void ccm_window_redirect_subwindows (CCMWindow *self
); void ccm_window_unredirect (CCMWindow *self
); void ccm_window_unredirect_subwindows (CCMWindow *self
); void ccm_window_redirect_input (CCMWindow *self
); void ccm_window_unredirect_input (CCMWindow *self
); CCMPixmap * ccm_window_create_pixmap (CCMWindow *self
,int width
,int height
,int depth
); gboolean ccm_window_paint (CCMWindow *self
,cairo_t *ctx
); void ccm_window_map (CCMWindow *self
); void ccm_window_unmap (CCMWindow *self
); void ccm_window_query_opacity (CCMWindow *self
,gboolean deleted
); void ccm_window_query_transient_for (CCMWindow *self
); void ccm_window_query_wm_hints (CCMWindow *self
); void ccm_window_query_hint_type (CCMWindow *self
); const gchar * ccm_window_get_name (CCMWindow *self
); void ccm_window_set_alpha (CCMWindow *self
); void ccm_window_set_opaque (CCMWindow *self
); gboolean ccm_window_get_opaque_clipbox (CCMWindow *self
,cairo_rectangle_t *clipbox
); void ccm_window_set_opaque_region (CCMWindow *self
,const CCMRegion *region
); void ccm_window_set_opacity (CCMWindow *self
,gfloat opacity
); void ccm_window_query_state (CCMWindow *self
); gboolean ccm_window_set_state (CCMWindow *self
,Atom state_atom
); void ccm_window_unset_state (CCMWindow *self
,Atom state_atom
); void ccm_window_switch_state (CCMWindow *self
,Atom state_atom
); void ccm_window_query_mwm_hints (CCMWindow *self
); const cairo_rectangle_t * ccm_window_get_area (CCMWindow *self
); void ccm_window_query_frame_extends (CCMWindow *self
); void ccm_window_get_frame_extends (CCMWindow *self
,int *left_frame
,int *right_frame
,int *top_frame
,int *bottom_frame
); gboolean ccm_window_transform (CCMWindow *self
,cairo_t *ctx
); guint32 * ccm_window_get_property (CCMWindow *self
,Atom property_atom
,Atom req_type
,guint *n_items
); guint32 * ccm_window_get_child_property (CCMWindow *self
,Atom property_atom
,Atom req_type
,guint *n_items
); Window ccm_window_redirect_event (CCMWindow *self
,XEvent *event
,Window over
); void ccm_window_activate (CCMWindow *self
,Time timestamp
);
"block-mouse-redirect-event" gboolean : Write "child" gpointer : Read / Write "input" gpointer : Read "mask" gpointer : Read / Write "mask-height" gint : Read / Write "mask-width" gint : Read / Write "no-undamage-sibling" gboolean : Read / Write "pixmap" gpointer : Write "redirect" gboolean : Write "use-image" gboolean : Write
"error" :Run Last
"opacity-changed" :Run Last
"property-changed" :Run Last
"redirect-input" :Run Last
CCMWindow * ccm_window_new (CCMScreen *screen
,Window xwindow
);
Create a new CCMWindow reference which point on xwindow
CCMPixmap * ccm_window_create_pixmap (CCMWindow *self
,int width
,int height
,int depth
);
gboolean ccm_window_get_opaque_clipbox (CCMWindow *self
,cairo_rectangle_t *clipbox
);
Get opaque clipbox of window
|
CCMWindow |
|
cairo_rectangle_t |
Returns : |
TRUE if window have opaque region |
void ccm_window_set_opaque_region (CCMWindow *self
,const CCMRegion *region
);
void ccm_window_get_frame_extends (CCMWindow *self
,int *left_frame
,int *right_frame
,int *top_frame
,int *bottom_frame
);
guint32 * ccm_window_get_property (CCMWindow *self
,Atom property_atom
,Atom req_type
,guint *n_items
);
guint32 * ccm_window_get_child_property (CCMWindow *self
,Atom property_atom
,Atom req_type
,guint *n_items
);
Window ccm_window_redirect_event (CCMWindow *self
,XEvent *event
,Window over
);
"block-mouse-redirect-event"
property"block-mouse-redirect-event" gboolean : Write
Unblock/Block redirected pointer event when window is transformed.
Default value: FALSE
"child"
property"child" gpointer : Read / Write
The main child of window, it is only set with decorated window and it point on real window.
"input"
property"input" gpointer : Read
The input redirection window it is only set when window is transformed and need to be have input event redirected.
"no-undamage-sibling"
property"no-undamage-sibling" gboolean : Read / Write
Get if window undamage sibling.
Default value: FALSE
"redirect"
property"redirect" gboolean : Write
If is unset the window isn't redirected when it have transformation.
Default value: TRUE
"use-image"
property"use-image" gboolean : Write
Use image backend for pixmap.
Default value: FALSE
"error"
signalvoid user_function (CCMWindow *arg0,
gpointer user_data) : Run Last
Emitted when an error occur on a window request.
|
user data set when the signal handler was connected. |
"opacity-changed"
signalvoid user_function (CCMWindow *arg0,
gpointer user_data) : Run Last
Emitted when the window opacity changed.
|
user data set when the signal handler was connected. |
"property-changed"
signalvoid user_function (CCMWindow *property,
gint arg1,
gpointer user_data) : Run Last
Emitted when a window property changed.
|
CCMPropertyType |
|
user data set when the signal handler was connected. |