Class

GntWM

Description

class Gnt.WM : Gnt.Bindable {
  parent_instance: GntBindable
}
No description available.

Ancestors

Functions

gnt_wm_get_idle_time
No description available.

Instance methods

gnt_wm_add_workspace

Add a workspace.

gnt_wm_foreach

Calls the given function for each of the GntWidget / GntNode pairs in the GntWM. The function is passed the widget and node of each pair, and the given user_data parameter. The window manager may not be modified while iterating over it (you can’t add/remove widgets).

since: 3.0

gnt_wm_get_current_workspace

Gets the current workspace.

since: 3.0

gnt_wm_has_window_position

Checks whether the window manager has a recorded window position for a window with the given title.

since: 3.0

gnt_wm_move_window

Move a window.

gnt_wm_new_window

Process a new window.

gnt_wm_process_click

Process a click event.

gnt_wm_process_input

Process input.

gnt_wm_raise_window

Raise a window.

gnt_wm_resize_window

Resize a window.

gnt_wm_set_workspaces

Set the list of workspaces .

gnt_wm_switch_workspace

Switch to a workspace.

gnt_wm_switch_workspace_next

Switch to the next workspace from the current one.

gnt_wm_switch_workspace_prev

Switch to the previous workspace from the current one.

gnt_wm_update_window

Update a window.

gnt_wm_widget_find_workspace

Find the workspace that contains a specific widget.

gnt_wm_widget_move_workspace

Move a window to a specific workspace.

gnt_wm_window_close

Close a window.

gnt_wm_window_decorate

Decorate a window.

Methods inherited from GntBindable (6)
gnt_bindable_bindings_view

Returns a GntTree populated with “key” -> “binding” for the widget.

since: 2.1.1

gnt_bindable_build_help_window

Builds a window that list the key bindings for a GntBindable object. From this window a user can select a listing to rebind a new key for the given action.

since: 2.1.1

gnt_bindable_check_key

Discover if a key is bound.

since: 2.4.2

gnt_bindable_perform_action_key

Perform an action from a keybinding.

gnt_bindable_perform_action_named

Perform an action on a bindable object.

gnt_bindable_remap_keys
No description available.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Gnt.WM::close-win
No description available.

Gnt.WM::confirm-move
No description available.

Gnt.WM::confirm-resize
No description available.

Gnt.WM::decorate-win
No description available.

Gnt.WM::give-focus
No description available.

Gnt.WM::mouse-clicked
No description available.

Gnt.WM::new-win
No description available.

Gnt.WM::terminal-refresh
No description available.

Gnt.WM::window-moved
No description available.

Gnt.WM::window-resized
No description available.

Gnt.WM::window-update
No description available.

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct GntWMClass {
  void (* new_window) (
    GntWM* wm,
    GntWidget* widget
  );
  void (* decorate_window) (
    GntWM* wm,
    GntWidget* win
  );
  gboolean (* close_window) (
    GntWM* wm,
    GntWidget* win
  );
  gboolean (* window_resize_confirm) (
    GntWM* wm,
    GntWidget* win,
    int* w,
    int* h
  );
  void (* window_resized) (
    GntWM* wm,
    GntNode* node
  );
  gboolean (* window_move_confirm) (
    GntWM* wm,
    GntWidget* win,
    int* x,
    int* y
  );
  void (* window_moved) (
    GntWM* wm,
    GntNode* node
  );
  void (* window_update) (
    GntWM* wm,
    GntNode* node
  );
  gboolean (* key_pressed) (
    GntWM* wm,
    const char* key
  );
  gboolean (* mouse_clicked) (
    GntWM* wm,
    GntMouseEvent event,
    int x,
    int y,
    GntWidget* widget
  );
  void (* give_focus) (
    GntWM* wm,
    GntWidget* widget
  );
  void (* terminal_refresh) (
    GntWM* wm
  );
  
}

The class structure for GntWM.

Class members
new_window: void (* new_window) ( GntWM* wm, GntWidget* widget )
No description available.
decorate_window: void (* decorate_window) ( GntWM* wm, GntWidget* win )
No description available.
close_window: gboolean (* close_window) ( GntWM* wm, GntWidget* win )
No description available.
window_resize_confirm: gboolean (* window_resize_confirm) ( GntWM* wm, GntWidget* win, int* w, int* h )
No description available.
window_resized: void (* window_resized) ( GntWM* wm, GntNode* node )
No description available.
window_move_confirm: gboolean (* window_move_confirm) ( GntWM* wm, GntWidget* win, int* x, int* y )
No description available.
window_moved: void (* window_moved) ( GntWM* wm, GntNode* node )
No description available.
window_update: void (* window_update) ( GntWM* wm, GntNode* node )
No description available.
key_pressed: gboolean (* key_pressed) ( GntWM* wm, const char* key )
No description available.
mouse_clicked: gboolean (* mouse_clicked) ( GntWM* wm, GntMouseEvent event, int x, int y, GntWidget* widget )
No description available.
give_focus: void (* give_focus) ( GntWM* wm, GntWidget* widget )
No description available.
terminal_refresh: void (* terminal_refresh) ( GntWM* wm )
No description available.

Virtual methods

Gnt.WMClass.close_window
No description available.

Gnt.WMClass.decorate_window
No description available.

Gnt.WMClass.give_focus
No description available.

Gnt.WMClass.key_pressed
No description available.

Gnt.WMClass.mouse_clicked
No description available.

Gnt.WMClass.new_window

Process a new window.

Gnt.WMClass.terminal_refresh
No description available.

Gnt.WMClass.window_move_confirm
No description available.

Gnt.WMClass.window_moved
No description available.

Gnt.WMClass.window_resize_confirm
No description available.

Gnt.WMClass.window_resized
No description available.

Gnt.WMClass.window_update
No description available.