|
marco 1.29.1
Window manager
|
Functions | |
| static gboolean | draw_handler (GtkWidget *widget, cairo_t *cr) |
| void | meta_fixed_tip_show (int root_x, int root_y, const char *markup_text) |
| Displays a tooltip. | |
| void | meta_fixed_tip_hide (void) |
| Removes the tooltip that was created by meta_fixed_tip_show(). | |
Variables | |
| static GtkWidget * | tip = NULL |
| The floating rectangle. | |
| static GtkWidget * | label = NULL |
| The actual text that gets displayed. | |
| static GdkScreen * | screen = NULL |
|
static |
Referenced by meta_fixed_tip_show().
| void meta_fixed_tip_hide | ( | void | ) |
Removes the tooltip that was created by meta_fixed_tip_show().
If there is no tooltip currently visible, this is a no-op.
Referenced by clear_tip().
| void meta_fixed_tip_show | ( | int | root_x, |
| int | root_y, | ||
| const char * | markup_text | ||
| ) |
Displays a tooltip.
There can be only one across the entire system. This function behaves identically whether or not a tooltip is already displayed, but if it is the window will be reused rather than destroyed and recreated.
| screen_number | The number of the screen. |
| root_x | The X coordinate where the tooltip should appear |
| root_y | The Y coordinate where the tooltip should appear |
| markup_text | Text to display in the tooltip; can contain markup |
References draw_handler(), FALSE, label, META_UI_DIRECTION_RTL, meta_ui_get_direction(), NULL, screen, tip, and TRUE.
Referenced by show_tip_now().
|
static |
The actual text that gets displayed.
Referenced by benchmark_summary(), border_only_cb(), desktop_cb(), dialog_contents(), focus_label(), menu_cb(), meta_accel_label_draw(), meta_fixed_tip_show(), meta_window_menu_new(), override_redirect_cb(), and toolbar_cb().
|
static |
Referenced by convert_property(), create_style_context(), disable_compositor(), do_choose_window(), draw_box_animation(), draw_xor_rect(), dynamic_workspaces_idle_callback(), enable_compositor(), event_callback(), find_screen_for_selection(), find_tab_backward(), find_tab_forward(), get_fallback_icons(), handle_cycle(), handle_move_to_center(), handle_move_to_corner_ne(), handle_move_to_corner_nw(), handle_move_to_corner_se(), handle_move_to_corner_sw(), handle_move_to_monitor(), handle_move_to_side_e(), handle_move_to_side_n(), handle_move_to_side_s(), handle_move_to_side_w(), handle_move_to_workspace(), handle_panel(), handle_rename_workspace(), handle_run_command(), handle_run_terminal(), handle_show_desktop(), handle_switch(), handle_switch_to_workspace(), handle_workspace_switch_or_move(), list_windows(), main(), meta_compositor_manage_screen(), meta_compositor_set_active_window(), meta_compositor_unmanage_screen(), meta_core_begin_grab_op(), meta_core_get_active_workspace(), meta_core_get_num_workspaces(), meta_core_get_workspace_name_with_index(), meta_core_lower_beneath_focus_window(), meta_display_begin_grab_op(), meta_display_close(), meta_display_focus_the_no_focus_window(), meta_display_get_tab_current(), meta_display_get_tab_list(), meta_display_get_tab_next(), meta_display_open(), meta_display_process_key_event(), meta_display_screen_for_root(), meta_display_screen_for_x_screen(), meta_display_set_cursor_theme(), meta_display_set_grab_op_cursor(), meta_display_unmanage_screen(), meta_display_update_active_window_hint(), meta_display_xwindow_is_a_no_focus_window(), meta_effects_begin_wireframe(), meta_effects_end_wireframe(), meta_effects_update_wireframe(), meta_fixed_tip_show(), meta_frames_apply_shapes(), meta_frames_new(), meta_read_icons(), meta_screen_apply_startup_properties(), meta_screen_calc_workspace_layout(), meta_screen_composite_all_windows(), meta_screen_ensure_tab_popup(), meta_screen_ensure_workspace_popup(), meta_screen_foreach_window(), meta_screen_free(), meta_screen_get_compositor_data(), meta_screen_get_current_xinerama(), meta_screen_get_display(), meta_screen_get_mouse_window(), meta_screen_get_n_workspaces(), meta_screen_get_natural_xinerama_list(), meta_screen_get_screen_number(), meta_screen_get_size(), meta_screen_get_workspace_by_index(), meta_screen_get_xinerama_for_rect(), meta_screen_get_xinerama_for_window(), meta_screen_get_xinerama_neighbor(), meta_screen_get_xroot(), meta_screen_grab_all_keys(), meta_screen_grab_keys(), meta_screen_manage_all_windows(), meta_screen_minimize_all_on_active_workspace_except(), meta_screen_new(), meta_screen_queue_frame_redraws(), meta_screen_queue_window_resizes(), meta_screen_queue_workarea_recalc(), meta_screen_resize(), meta_screen_set_compositor_data(), meta_screen_set_cursor(), meta_screen_show_desktop(), meta_screen_tile_preview_hide(), meta_screen_tile_preview_update(), meta_screen_tile_preview_update_timeout(), meta_screen_ungrab_all_keys(), meta_screen_ungrab_keys(), meta_screen_unshow_desktop(), meta_screen_update_cursor(), meta_screen_update_dynamic_workspaces(), meta_screen_update_showing_desktop_hint(), meta_screen_update_workspace_layout(), meta_screen_update_workspace_names(), meta_select_image_draw(), meta_select_workspace_draw(), meta_spawn_command_line_async_on_screen(), meta_stack_new(), meta_tile_preview_new(), meta_tile_preview_show(), meta_ui_create_frame_window(), meta_ui_new(), meta_ui_tab_popup_new(), meta_ui_theme_get_frame_borders(), meta_window_menu_new(), meta_window_set_stack_position_no_sync(), meta_window_update_fullscreen_monitors(), meta_workspace_free(), meta_workspace_get_work_area_for_xinerama(), meta_workspace_new(), mouse_event_is_in_tab_popup(), on_monitors_changed(), popup_window_screen_changed(), prefs_changed_callback(), process_event(), process_keyboard_resize_grab(), process_request_frame_extents(), process_selection_clear(), process_selection_request(), process_tab_grab(), process_workspace_switch_grab(), queue_windows_showing(), raise_window_relative_to_managed_windows(), regrab_key_bindings(), reload_xinerama_infos(), request_workspace_count_change(), safely_remove_workspaces(), screen_use_osd_style(), set_active_space_hint(), set_desktop_geometry_hint(), set_desktop_viewport_hint(), set_number_of_spaces_hint(), set_supported_hint(), set_wm_check_hint(), set_wm_icon_size_hint(), set_work_area_hint(), set_work_area_idle_func(), set_workspace_names(), set_workspace_work_area_hint(), unset_wm_check_hint(), and update_num_workspaces().
|
static |
The floating rectangle.
This is a GtkWindow, and it contains the "label" widget, below.
Referenced by meta_fixed_tip_hide(), and meta_fixed_tip_show().