|
rofi 2.0.0
|

Functions | |
| void | rofi_view_workers_initialize (void) |
| void | rofi_view_workers_finalize (void) |
| void | rofi_view_get_current_monitor (int *width, int *height) |
| void | rofi_capture_screenshot (void) |
| void | rofi_view_set_window_title (const char *title) |
| void | rofi_view_set_size (RofiViewState *state, gint width, gint height) |
| void | rofi_view_get_size (RofiViewState *state, gint *width, gint *height) |
| void | rofi_view_ping_mouse (RofiViewState *state) |
| void | rofi_view_pool_refresh (void) |
| void | rofi_view_set_cursor (RofiCursorType type) |
| void | input_history_save (void) |
| void | input_history_initialize (void) |
| void | view_init (const struct _view_proxy *view_in) |
| void | rofi_view_ellipsize_listview (RofiViewState *state, PangoEllipsizeMode mode) |
| gboolean | rofi_set_im_window_pos (int new_x, int new_y) |
| WidgetTriggerActionResult | textbox_button_trigger_action (widget *wid, MouseBindingMouseDefaultAction action, G_GNUC_UNUSED gint x, G_GNUC_UNUSED gint y, G_GNUC_UNUSED void *user_data) |
Variables | |
| const struct _view_proxy * | xcb_view_proxy |
The view can (optionally) keep a set of worker threads around to parallize work. This includes filtering and sorting.
| void input_history_initialize | ( | void | ) |
Definition at line 483 of file view.c.
References cache_dir, and CacheState.
Referenced by wayland___create_window(), and xcb___create_window().

| void input_history_save | ( | void | ) |
Input history
Definition at line 526 of file view.c.
References cache_dir, CacheState, _PropertyValue::i, P_INTEGER, rofi_config_find_widget(), rofi_theme_find_property(), Property::type, and Property::value.
Referenced by wayland_rofi_view_cleanup(), and xcb_rofi_view_cleanup().


| void rofi_capture_screenshot | ( | void | ) |
Takes a screenshot.
Stores a screenshot of Rofi at that point in time.
Definition at line 132 of file view.c.
References color_green, color_reset, current_active_menu, RofiViewState::height, RofiViewState::main_window, screenshot_taken_user_callback(), WIDGET, widget_draw(), and RofiViewState::width.
Referenced by record(), rofi_view_trigger_global_action(), and take_screenshot_quit().


| gboolean rofi_set_im_window_pos | ( | int | new_x, |
| int | new_y ) |
| new_x | New XIM window x pos |
| new_y | New XIM window y pos |
Updates the XIM window position to new_x and new_y, relative to the main_window
Referenced by xcb_rofi_view_update().

| void rofi_view_ellipsize_listview | ( | RofiViewState * | state, |
| PangoEllipsizeMode | mode ) |
| state | The window state handle |
| mode | The pango ellipsize mode to user set ellipsize mode to start. |
Definition at line 2079 of file view.c.
References RofiViewState::list_view, and listview_set_ellipsize().
Referenced by dmenu_mode_dialog().


| void rofi_view_get_current_monitor | ( | int * | width, |
| int * | height ) |
| width | the width of the monitor. |
| height | the height of the monitor. |
Return the current monitor workarea.
Definition at line 2165 of file view.c.
References proxy.
Referenced by get_pixels().

| void rofi_view_get_size | ( | RofiViewState * | state, |
| gint * | width, | ||
| gint * | height ) |
| void rofi_view_ping_mouse | ( | RofiViewState * | state | ) |
Definition at line 2177 of file view.c.
References proxy.
Referenced by rofi_view_create().

| void rofi_view_pool_refresh | ( | void | ) |
Definition at line 2179 of file view.c.
References proxy.
Referenced by wayland_layer_shell_surface_closed(), wayland_rofi_view_window_update_size(), wayland_set_fullscreen_mode(), and wayland_surface_protocol_enter().

| void rofi_view_set_cursor | ( | RofiCursorType | type | ) |
Definition at line 2151 of file view.c.
References proxy.
Referenced by rofi_view_handle_mouse_motion().

| void rofi_view_set_size | ( | RofiViewState * | state, |
| gint | width, | ||
| gint | height ) |
Definition at line 2169 of file view.c.
References proxy.
Referenced by wayland_layer_shell_surface_closed(), and wayland_surface_protocol_enter().

| void rofi_view_set_window_title | ( | const char * | title | ) |
Set the window title.
Definition at line 2131 of file view.c.
References proxy.
Referenced by rofi_view_create(), and rofi_view_switch_mode().

| void rofi_view_workers_finalize | ( | void | ) |
Stop all threads and free the resources used by the threadpool
Definition at line 2021 of file view.c.
References tpool.
Referenced by cleanup(), and page_changed_callback().

| void rofi_view_workers_initialize | ( | void | ) |
Initialize the threadpool
Definition at line 1992 of file view.c.
References config, rofi_thread_pool_state_free(), rofi_thread_workers_sort(), rofi_view_call_thread(), TICK_N, and tpool.
Referenced by main(), and page_changed_callback().


| WidgetTriggerActionResult textbox_button_trigger_action | ( | widget * | wid, |
| MouseBindingMouseDefaultAction | action, | ||
| G_GNUC_UNUSED gint | x, | ||
| G_GNUC_UNUSED gint | y, | ||
| G_GNUC_UNUSED void * | user_data ) |
| wid | to test. |
| action | the action done. |
| x | [unused] |
| y | [unsued] |
| user_data |
textbux widget trigger action function.
Definition at line 1519 of file view.c.
References key_binding_get_action_from_name(), RofiViewState::line_map, RofiViewState::list_view, listview_get_selected(), MOUSE_CLICK_DOWN, MOUSE_CLICK_UP, MOUSE_DCLICK_DOWN, MOUSE_DCLICK_UP, rofi_theme_get_string(), rofi_view_trigger_global_action(), RofiViewState::selected_line, RofiViewState::skip_absorb, WIDGET_TRIGGER_ACTION_RESULT_HANDLED, and WIDGET_TRIGGER_ACTION_RESULT_IGNORED.
Referenced by listview_add_widget(), and rofi_view_add_widget().


| void view_init | ( | const struct _view_proxy * | view_in | ) |
|
extern |
Definition at line 980 of file view.c.
Referenced by xcb_display_view_proxy().