XrdWindowManager

XrdWindowManager

Functions

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── XrdWindowManager

Includes

#include <xrdesktop.h>

Description

Functions

xrd_window_manager_new ()

XrdWindowManager *
xrd_window_manager_new (void);

xrd_window_manager_add_window ()

void
xrd_window_manager_add_window (XrdWindowManager *self,
                               XrdWindow *window,
                               XrdWindowFlags flags);

xrd_window_manager_arrange_reset ()

void
xrd_window_manager_arrange_reset (XrdWindowManager *self);

xrd_window_manager_arrange_sphere ()

gboolean
xrd_window_manager_arrange_sphere (XrdWindowManager *self);

xrd_window_manager_check_grab ()

void
xrd_window_manager_check_grab (XrdWindowManager *self,
                               XrdController *controller);

xrd_window_manager_check_release ()

void
xrd_window_manager_check_release (XrdWindowManager *self,
                                  XrdController *controller);

xrd_window_manager_drag_start ()

void
xrd_window_manager_drag_start (XrdWindowManager *self,
                               XrdController *controller);

xrd_window_manager_get_grab_state ()

XrdGrabState *
xrd_window_manager_get_grab_state (XrdWindowManager *self,
                                   XrdController *controller);

xrd_window_manager_get_hover_state ()

XrdHoverState *
xrd_window_manager_get_hover_state (XrdWindowManager *self,
                                    XrdController *controller);

xrd_window_manager_poll_window_events ()

void
xrd_window_manager_poll_window_events (XrdWindowManager *self);

xrd_window_manager_remove_window ()

void
xrd_window_manager_remove_window (XrdWindowManager *self,
                                  XrdWindow *window);

xrd_window_manager_scale ()

void
xrd_window_manager_scale (XrdWindowManager *self,
                          XrdGrabState *grab_state,
                          float factor,
                          float update_rate_ms);

While dragging a window, scale the window *factor* times per second

Parameters

self

The XrdWindowManager

 

grab_state

The XrdGrabState to scale

 

factor

Scale factor

 

update_rate_ms

The update rate in ms

 

xrd_window_manager_update_pose ()

void
xrd_window_manager_update_pose (XrdWindowManager *self,
                                graphene_matrix_t *pose,
                                XrdController *controller);

xrd_window_manager_add_container ()

void
xrd_window_manager_add_container (XrdWindowManager *self,
                                  XrdContainer *container);

xrd_window_manager_get_buttons ()

GSList *
xrd_window_manager_get_buttons (XrdWindowManager *self);

xrd_window_manager_get_hover_mode ()

XrdHoverMode
xrd_window_manager_get_hover_mode (XrdWindowManager *self);

xrd_window_manager_get_windows ()

GSList *
xrd_window_manager_get_windows (XrdWindowManager *self);

xrd_window_manager_remove_container ()

void
xrd_window_manager_remove_container (XrdWindowManager *self,
                                     XrdContainer *container);

xrd_window_manager_set_hover_mode ()

void
xrd_window_manager_set_hover_mode (XrdWindowManager *self,
                                   XrdHoverMode mode);

Types and Values

XrdWindowManager

typedef struct _XrdWindowManager XrdWindowManager;

enum XrdHoverMode

A mode where input events can be ignored for certain widgets.

Members

XRD_HOVER_MODE_EVERYTHING

Buttons and windows should receive events.

 

XRD_HOVER_MODE_BUTTONS

Only buttons should receive events.

 

XrdNoHoverEvent

typedef struct {
  graphene_matrix_t pose;
  guint64 controller_handle;
} XrdNoHoverEvent;

XrdTransformTransition

typedef struct {
  XrdWindow *window;
  graphene_matrix_t from;
  graphene_matrix_t to;
  float from_scaling;
  float to_scaling;
  float interpolate;
  gint64 last_timestamp;
} XrdTransformTransition;

XRD_TYPE_WINDOW_MANAGER

#define XRD_TYPE_WINDOW_MANAGER xrd_window_manager_get_type()

Signal Details

The “no-hover-event” signal

void
user_function (XrdWindowManager *xrdwindowmanager,
               GdkEvent         *arg1,
               gpointer          user_data)

Flags: Run First