Class
GntWM
Functions
gnt_wm_get_idle_time
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).
Available since: 3.0.0
gnt_wm_has_window_position
Checks whether the window manager has a recorded window position for a
window with the given title
.
Available since: 3.0.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.
Available 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.
Available since: 2.1.1
gnt_bindable_check_key
Discover if a key is bound.
Available 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
Signals
Gnt.WM::close-win
Gnt.WM::confirm-move
Gnt.WM::confirm-resize
Gnt.WM::decorate-win
Gnt.WM::give-focus
Gnt.WM::mouse-clicked
Gnt.WM::new-win
Gnt.WM::terminal-refresh
Gnt.WM::window-moved
Gnt.WM::window-resized
Gnt.WM::window-update
Signals inherited from GObject (1)
GObject.Object::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 |
|
No description available. | |
decorate_window |
|
No description available. | |
close_window |
|
No description available. | |
window_resize_confirm |
|
No description available. | |
window_resized |
|
No description available. | |
window_move_confirm |
|
No description available. | |
window_moved |
|
No description available. | |
window_update |
|
No description available. | |
key_pressed |
|
No description available. | |
mouse_clicked |
|
No description available. | |
give_focus |
|
No description available. | |
terminal_refresh |
|
No description available. |
Virtual methods
Gnt.WMClass.close_window
Gnt.WMClass.decorate_window
Gnt.WMClass.give_focus
Gnt.WMClass.key_pressed
Gnt.WMClass.mouse_clicked
Gnt.WMClass.new_window
Process a new window.