gboolean gnt_wm_switch_workspace (GntWM *wm,gint n);
Switch to a workspace.
gboolean
gnt_wm_switch_workspace_prev (GntWM *wm);
Switch to the previous workspace from the current one.
gboolean
gnt_wm_switch_workspace_next (GntWM *wm);
Switch to the next workspace from the current one.
void gnt_wm_widget_move_workspace (GntWM *wm,GntWS *neww,GntWidget *widget);
Move a window to a specific workspace.
void gnt_wm_set_workspaces (GntWM *wm,GList *workspaces);
Set the list of workspaces .
GntWS * gnt_wm_widget_find_workspace (GntWM *wm,GntWidget *widget);
Find the workspace that contains a specific widget.
void gnt_wm_window_decorate (GntWM *wm,GntWidget *widget);
Decorate a window.
gboolean gnt_wm_process_input (GntWM *wm,const char *string);
Process input.
gboolean gnt_wm_process_click (GntWM *wm,GntMouseEvent event,int x,int y,GntWidget *widget);
Process a click event.
void gnt_wm_resize_window (GntWM *wm,GntWidget *widget,int width,int height);
Resize a window.
void gnt_wm_move_window (GntWM *wm,GntWidget *widget,int x,int y);
Move a window.
void gnt_wm_set_event_stack (GntWM *wm,gboolean set);
gnt_wm_set_event_stack has been deprecated since version 2.14.0 and should not be used in newly-written code.
Internal function -- do not use.
GntKeyPressMode has been deprecated since version 2.14.0 and should not be used in newly-written code.
This is an internal implementation detail.
struct GntWM {
GntBindable inherit;
GMainLoop *GNTSEAL(loop);
GList *GNTSEAL(workspaces);
GList *GNTSEAL(tagged); /* tagged windows */
GntWS *GNTSEAL(cws);
struct {
GntWidget *GNTSEAL(window);
GntWidget *GNTSEAL(tree);
} GNTSEAL(_list),
*GNTSEAL(windows), /* Window-list window */
*GNTSEAL(actions); /* Action-list window */
GHashTable *GNTSEAL(nodes); /* GntWidget -> GntNode */
GHashTable *GNTSEAL(name_places); /* window name -> ws*/
GHashTable *GNTSEAL(title_places); /* window title -> ws */
GList *GNTSEAL(acts);
GntMenu *GNTSEAL(menu);
gboolean GNTSEAL(event_stack);
GntKeyPressMode GNTSEAL(mode);
GHashTable *GNTSEAL(positions);
};
Access to any fields is deprecated. See inline comments for replacements.