Class
GntWM
Instance methods
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_has_window_position
Checks whether the window manager has a recorded window position for a
window with the given title
.
since: 3.0
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
Signals
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.