prefs.h File Reference

Go to the source code of this file.

Data Structures

struct  MetaKeyCombo
struct  MetaKeyPref

Defines

#define META_KEYBINDING_WORKSPACE_1   "switch_to_workspace_1"
#define META_KEYBINDING_WORKSPACE_2   "switch_to_workspace_2"
#define META_KEYBINDING_WORKSPACE_3   "switch_to_workspace_3"
#define META_KEYBINDING_WORKSPACE_4   "switch_to_workspace_4"
#define META_KEYBINDING_WORKSPACE_5   "switch_to_workspace_5"
#define META_KEYBINDING_WORKSPACE_6   "switch_to_workspace_6"
#define META_KEYBINDING_WORKSPACE_7   "switch_to_workspace_7"
#define META_KEYBINDING_WORKSPACE_8   "switch_to_workspace_8"
#define META_KEYBINDING_WORKSPACE_9   "switch_to_workspace_9"
#define META_KEYBINDING_WORKSPACE_10   "switch_to_workspace_10"
#define META_KEYBINDING_WORKSPACE_11   "switch_to_workspace_11"
#define META_KEYBINDING_WORKSPACE_12   "switch_to_workspace_12"
#define META_KEYBINDING_WORKSPACE_LEFT   "switch_to_workspace_left"
#define META_KEYBINDING_WORKSPACE_RIGHT   "switch_to_workspace_right"
#define META_KEYBINDING_WORKSPACE_UP   "switch_to_workspace_up"
#define META_KEYBINDING_WORKSPACE_DOWN   "switch_to_workspace_down"
#define META_KEYBINDING_SWITCH_GROUP   "switch_group"
#define META_KEYBINDING_SWITCH_GROUP_BACKWARD   "switch_group_backward"
#define META_KEYBINDING_SWITCH_WINDOWS   "switch_windows"
#define META_KEYBINDING_SWITCH_WINDOWS_BACKWARD   "switch_windows_backward"
#define META_KEYBINDING_SWITCH_PANELS   "switch_panels"
#define META_KEYBINDING_SWITCH_PANELS_BACKWARD   "switch_panels_backward"
#define META_KEYBINDING_CYCLE_GROUP   "cycle_group"
#define META_KEYBINDING_CYCLE_GROUP_BACKWARD   "cycle_group_backward"
#define META_KEYBINDING_CYCLE_WINDOWS   "cycle_windows"
#define META_KEYBINDING_CYCLE_WINDOWS_BACKWARD   "cycle_windows_backward"
#define META_KEYBINDING_CYCLE_PANELS   "cycle_panels"
#define META_KEYBINDING_CYCLE_PANELS_BACKWARD   "cycle_panels_backward"
#define META_KEYBINDING_SHOW_DESKTOP   "show_desktop"
#define META_KEYBINDING_PANEL_MAIN_MENU   "panel_main_menu"
#define META_KEYBINDING_PANEL_RUN_DIALOG   "panel_run_dialog"
#define META_KEYBINDING_COMMAND_1   "run_command_1"
#define META_KEYBINDING_COMMAND_2   "run_command_2"
#define META_KEYBINDING_COMMAND_3   "run_command_3"
#define META_KEYBINDING_COMMAND_4   "run_command_4"
#define META_KEYBINDING_COMMAND_5   "run_command_5"
#define META_KEYBINDING_COMMAND_6   "run_command_6"
#define META_KEYBINDING_COMMAND_7   "run_command_7"
#define META_KEYBINDING_COMMAND_8   "run_command_8"
#define META_KEYBINDING_COMMAND_9   "run_command_9"
#define META_KEYBINDING_COMMAND_10   "run_command_10"
#define META_KEYBINDING_COMMAND_11   "run_command_11"
#define META_KEYBINDING_COMMAND_12   "run_command_12"
#define META_KEYBINDING_COMMAND_13   "run_command_13"
#define META_KEYBINDING_COMMAND_14   "run_command_14"
#define META_KEYBINDING_COMMAND_15   "run_command_15"
#define META_KEYBINDING_COMMAND_16   "run_command_16"
#define META_KEYBINDING_COMMAND_17   "run_command_17"
#define META_KEYBINDING_COMMAND_18   "run_command_18"
#define META_KEYBINDING_COMMAND_19   "run_command_19"
#define META_KEYBINDING_COMMAND_20   "run_command_20"
#define META_KEYBINDING_COMMAND_21   "run_command_21"
#define META_KEYBINDING_COMMAND_22   "run_command_22"
#define META_KEYBINDING_COMMAND_23   "run_command_23"
#define META_KEYBINDING_COMMAND_24   "run_command_24"
#define META_KEYBINDING_COMMAND_25   "run_command_25"
#define META_KEYBINDING_COMMAND_26   "run_command_26"
#define META_KEYBINDING_COMMAND_27   "run_command_27"
#define META_KEYBINDING_COMMAND_28   "run_command_28"
#define META_KEYBINDING_COMMAND_29   "run_command_29"
#define META_KEYBINDING_COMMAND_30   "run_command_30"
#define META_KEYBINDING_COMMAND_31   "run_command_31"
#define META_KEYBINDING_COMMAND_32   "run_command_32"
#define META_KEYBINDING_COMMAND_SCREENSHOT   "run_command_screenshot"
#define META_KEYBINDING_COMMAND_WIN_SCREENSHOT   "run_command_window_screenshot"
#define META_KEYBINDING_RUN_COMMAND_TERMINAL   "run_command_terminal"
#define META_KEYBINDING_SET_SPEW_MARK   "set_spew_mark"
#define META_KEYBINDING_WINDOW_MENU   "activate_window_menu"
#define META_KEYBINDING_TOGGLE_FULLSCREEN   "toggle_fullscreen"
#define META_KEYBINDING_TOGGLE_MAXIMIZE   "toggle_maximized"
#define META_KEYBINDING_TOGGLE_ABOVE   "toggle_above"
#define META_KEYBINDING_MAXIMIZE   "maximize"
#define META_KEYBINDING_UNMAXIMIZE   "unmaximize"
#define META_KEYBINDING_TOGGLE_SHADE   "toggle_shaded"
#define META_KEYBINDING_MINIMIZE   "minimize"
#define META_KEYBINDING_CLOSE   "close"
#define META_KEYBINDING_BEGIN_MOVE   "begin_move"
#define META_KEYBINDING_BEGIN_RESIZE   "begin_resize"
#define META_KEYBINDING_TOGGLE_STICKY   "toggle_on_all_workspaces"
#define META_KEYBINDING_MOVE_WORKSPACE_1   "move_to_workspace_1"
#define META_KEYBINDING_MOVE_WORKSPACE_2   "move_to_workspace_2"
#define META_KEYBINDING_MOVE_WORKSPACE_3   "move_to_workspace_3"
#define META_KEYBINDING_MOVE_WORKSPACE_4   "move_to_workspace_4"
#define META_KEYBINDING_MOVE_WORKSPACE_5   "move_to_workspace_5"
#define META_KEYBINDING_MOVE_WORKSPACE_6   "move_to_workspace_6"
#define META_KEYBINDING_MOVE_WORKSPACE_7   "move_to_workspace_7"
#define META_KEYBINDING_MOVE_WORKSPACE_8   "move_to_workspace_8"
#define META_KEYBINDING_MOVE_WORKSPACE_9   "move_to_workspace_9"
#define META_KEYBINDING_MOVE_WORKSPACE_10   "move_to_workspace_10"
#define META_KEYBINDING_MOVE_WORKSPACE_11   "move_to_workspace_11"
#define META_KEYBINDING_MOVE_WORKSPACE_12   "move_to_workspace_12"
#define META_KEYBINDING_MOVE_WORKSPACE_LEFT   "move_to_workspace_left"
#define META_KEYBINDING_MOVE_WORKSPACE_RIGHT   "move_to_workspace_right"
#define META_KEYBINDING_MOVE_WORKSPACE_UP   "move_to_workspace_up"
#define META_KEYBINDING_MOVE_WORKSPACE_DOWN   "move_to_workspace_down"
#define META_KEYBINDING_RAISE_OR_LOWER   "raise_or_lower"
#define META_KEYBINDING_RAISE   "raise"
#define META_KEYBINDING_LOWER   "lower"
#define META_KEYBINDING_MAXIMIZE_VERTICALLY   "maximize_vertically"
#define META_KEYBINDING_MAXIMIZE_HORIZONTALLY   "maximize_horizontally"
#define META_KEYBINDING_MOVE_TO_CORNER_NW   "move_to_corner_nw"
#define META_KEYBINDING_MOVE_TO_CORNER_NE   "move_to_corner_ne"
#define META_KEYBINDING_MOVE_TO_CORNER_SW   "move_to_corner_sw"
#define META_KEYBINDING_MOVE_TO_CORNER_SE   "move_to_corner_se"
#define META_KEYBINDING_MOVE_TO_SIDE_N   "move_to_side_n"
#define META_KEYBINDING_MOVE_TO_SIDE_S   "move_to_side_s"
#define META_KEYBINDING_MOVE_TO_SIDE_E   "move_to_side_e"
#define META_KEYBINDING_MOVE_TO_SIDE_W   "move_to_side_w"

Typedefs

typedef void(* MetaPrefsChangedFunc )(MetaPreference pref, gpointer data)
typedef enum _MetaKeyBindingAction MetaKeyBindingAction

Enumerations

enum  MetaPreference {
  META_PREF_MOUSE_BUTTON_MODS, META_PREF_FOCUS_MODE, META_PREF_FOCUS_NEW_WINDOWS, META_PREF_RAISE_ON_CLICK,
  META_PREF_ACTION_DOUBLE_CLICK_TITLEBAR, META_PREF_ACTION_MIDDLE_CLICK_TITLEBAR, META_PREF_ACTION_RIGHT_CLICK_TITLEBAR, META_PREF_AUTO_RAISE,
  META_PREF_AUTO_RAISE_DELAY, META_PREF_THEME, META_PREF_TITLEBAR_FONT, META_PREF_NUM_WORKSPACES,
  META_PREF_APPLICATION_BASED, META_PREF_WINDOW_KEYBINDINGS, META_PREF_SCREEN_KEYBINDINGS, META_PREF_DISABLE_WORKAROUNDS,
  META_PREF_COMMANDS, META_PREF_TERMINAL_COMMAND, META_PREF_BUTTON_LAYOUT, META_PREF_WORKSPACE_NAMES,
  META_PREF_VISUAL_BELL, META_PREF_AUDIBLE_BELL, META_PREF_VISUAL_BELL_TYPE, META_PREF_REDUCED_RESOURCES,
  META_PREF_GNOME_ACCESSIBILITY, META_PREF_GNOME_ANIMATIONS, META_PREF_CURSOR_THEME, META_PREF_CURSOR_SIZE,
  META_PREF_COMPOSITING_MANAGER
}
enum  _MetaKeyBindingAction {
  META_KEYBINDING_ACTION_NONE = -1, META_KEYBINDING_ACTION_WORKSPACE_1, META_KEYBINDING_ACTION_WORKSPACE_2, META_KEYBINDING_ACTION_WORKSPACE_3,
  META_KEYBINDING_ACTION_WORKSPACE_4, META_KEYBINDING_ACTION_WORKSPACE_5, META_KEYBINDING_ACTION_WORKSPACE_6, META_KEYBINDING_ACTION_WORKSPACE_7,
  META_KEYBINDING_ACTION_WORKSPACE_8, META_KEYBINDING_ACTION_WORKSPACE_9, META_KEYBINDING_ACTION_WORKSPACE_10, META_KEYBINDING_ACTION_WORKSPACE_11,
  META_KEYBINDING_ACTION_WORKSPACE_12, META_KEYBINDING_ACTION_WORKSPACE_LEFT, META_KEYBINDING_ACTION_WORKSPACE_RIGHT, META_KEYBINDING_ACTION_WORKSPACE_UP,
  META_KEYBINDING_ACTION_WORKSPACE_DOWN, META_KEYBINDING_ACTION_SWITCH_GROUP, META_KEYBINDING_ACTION_SWITCH_GROUP_BACKWARD, META_KEYBINDING_ACTION_SWITCH_WINDOWS,
  META_KEYBINDING_ACTION_SWITCH_WINDOWS_BACKWARD, META_KEYBINDING_ACTION_SWITCH_PANELS, META_KEYBINDING_ACTION_SWITCH_PANELS_BACKWARD, META_KEYBINDING_ACTION_CYCLE_GROUP,
  META_KEYBINDING_ACTION_CYCLE_GROUP_BACKWARD, META_KEYBINDING_ACTION_CYCLE_WINDOWS, META_KEYBINDING_ACTION_CYCLE_WINDOWS_BACKWARD, META_KEYBINDING_ACTION_CYCLE_PANELS,
  META_KEYBINDING_ACTION_CYCLE_PANELS_BACKWARD, META_KEYBINDING_ACTION_SHOW_DESKTOP, META_KEYBINDING_ACTION_PANEL_MAIN_MENU, META_KEYBINDING_ACTION_PANEL_RUN_DIALOG,
  META_KEYBINDING_ACTION_COMMAND_1, META_KEYBINDING_ACTION_COMMAND_2, META_KEYBINDING_ACTION_COMMAND_3, META_KEYBINDING_ACTION_COMMAND_4,
  META_KEYBINDING_ACTION_COMMAND_5, META_KEYBINDING_ACTION_COMMAND_6, META_KEYBINDING_ACTION_COMMAND_7, META_KEYBINDING_ACTION_COMMAND_8,
  META_KEYBINDING_ACTION_COMMAND_9, META_KEYBINDING_ACTION_COMMAND_10, META_KEYBINDING_ACTION_COMMAND_11, META_KEYBINDING_ACTION_COMMAND_12
}
enum  MetaVisualBellType { META_VISUAL_BELL_INVALID = 0, META_VISUAL_BELL_FULLSCREEN_FLASH, META_VISUAL_BELL_FRAME_FLASH }

Functions

void meta_prefs_add_listener (MetaPrefsChangedFunc func, gpointer data)
void meta_prefs_remove_listener (MetaPrefsChangedFunc func, gpointer data)
void meta_prefs_init (void)
const char * meta_preference_to_string (MetaPreference pref)
MetaVirtualModifier meta_prefs_get_mouse_button_mods (void)
MetaFocusMode meta_prefs_get_focus_mode (void)
MetaFocusNewWindows meta_prefs_get_focus_new_windows (void)
gboolean meta_prefs_get_raise_on_click (void)
const char * meta_prefs_get_theme (void)
const PangoFontDescription * meta_prefs_get_titlebar_font (void)
int meta_prefs_get_num_workspaces (void)
gboolean meta_prefs_get_application_based (void)
gboolean meta_prefs_get_disable_workarounds (void)
gboolean meta_prefs_get_auto_raise (void)
int meta_prefs_get_auto_raise_delay (void)
gboolean meta_prefs_get_reduced_resources (void)
gboolean meta_prefs_get_gnome_accessibility (void)
gboolean meta_prefs_get_gnome_animations (void)
const char * meta_prefs_get_command (int i)
char * meta_prefs_get_gconf_key_for_command (int i)
const char * meta_prefs_get_terminal_command (void)
const char * meta_prefs_get_gconf_key_for_terminal_command (void)
void meta_prefs_get_button_layout (MetaButtonLayout *button_layout)
MetaActionTitlebar meta_prefs_get_action_double_click_titlebar (void)
MetaActionTitlebar meta_prefs_get_action_middle_click_titlebar (void)
MetaActionTitlebar meta_prefs_get_action_right_click_titlebar (void)
void meta_prefs_set_num_workspaces (int n_workspaces)
const char * meta_prefs_get_workspace_name (int i)
void meta_prefs_change_workspace_name (int i, const char *name)
const char * meta_prefs_get_cursor_theme (void)
int meta_prefs_get_cursor_size (void)
gboolean meta_prefs_get_compositing_manager (void)
void meta_prefs_get_screen_bindings (const MetaKeyPref **bindings, int *n_bindings)
void meta_prefs_get_window_bindings (const MetaKeyPref **bindings, int *n_bindings)
MetaKeyBindingAction meta_prefs_get_keybinding_action (const char *name)
void meta_prefs_get_window_binding (const char *name, unsigned int *keysym, MetaVirtualModifier *modifiers)
gboolean meta_prefs_get_visual_bell (void)
gboolean meta_prefs_bell_is_audible (void)
MetaVisualBellType meta_prefs_get_visual_bell_type (void)


Define Documentation

#define META_KEYBINDING_BEGIN_MOVE   "begin_move"

Definition at line 195 of file prefs.h.

Referenced by meta_core_get_menu_accelerator().

#define META_KEYBINDING_BEGIN_RESIZE   "begin_resize"

Definition at line 196 of file prefs.h.

Referenced by meta_core_get_menu_accelerator().

#define META_KEYBINDING_CLOSE   "close"

Definition at line 194 of file prefs.h.

Referenced by meta_core_get_menu_accelerator().

#define META_KEYBINDING_COMMAND_1   "run_command_1"

Definition at line 148 of file prefs.h.

#define META_KEYBINDING_COMMAND_10   "run_command_10"

Definition at line 157 of file prefs.h.

#define META_KEYBINDING_COMMAND_11   "run_command_11"

Definition at line 158 of file prefs.h.

#define META_KEYBINDING_COMMAND_12   "run_command_12"

Definition at line 159 of file prefs.h.

#define META_KEYBINDING_COMMAND_13   "run_command_13"

Definition at line 160 of file prefs.h.

#define META_KEYBINDING_COMMAND_14   "run_command_14"

Definition at line 161 of file prefs.h.

#define META_KEYBINDING_COMMAND_15   "run_command_15"

Definition at line 162 of file prefs.h.

#define META_KEYBINDING_COMMAND_16   "run_command_16"

Definition at line 163 of file prefs.h.

#define META_KEYBINDING_COMMAND_17   "run_command_17"

Definition at line 164 of file prefs.h.

#define META_KEYBINDING_COMMAND_18   "run_command_18"

Definition at line 165 of file prefs.h.

#define META_KEYBINDING_COMMAND_19   "run_command_19"

Definition at line 166 of file prefs.h.

#define META_KEYBINDING_COMMAND_2   "run_command_2"

Definition at line 149 of file prefs.h.

#define META_KEYBINDING_COMMAND_20   "run_command_20"

Definition at line 167 of file prefs.h.

#define META_KEYBINDING_COMMAND_21   "run_command_21"

Definition at line 168 of file prefs.h.

#define META_KEYBINDING_COMMAND_22   "run_command_22"

Definition at line 169 of file prefs.h.

#define META_KEYBINDING_COMMAND_23   "run_command_23"

Definition at line 170 of file prefs.h.

#define META_KEYBINDING_COMMAND_24   "run_command_24"

Definition at line 171 of file prefs.h.

#define META_KEYBINDING_COMMAND_25   "run_command_25"

Definition at line 172 of file prefs.h.

#define META_KEYBINDING_COMMAND_26   "run_command_26"

Definition at line 173 of file prefs.h.

#define META_KEYBINDING_COMMAND_27   "run_command_27"

Definition at line 174 of file prefs.h.

#define META_KEYBINDING_COMMAND_28   "run_command_28"

Definition at line 175 of file prefs.h.

#define META_KEYBINDING_COMMAND_29   "run_command_29"

Definition at line 176 of file prefs.h.

#define META_KEYBINDING_COMMAND_3   "run_command_3"

Definition at line 150 of file prefs.h.

#define META_KEYBINDING_COMMAND_30   "run_command_30"

Definition at line 177 of file prefs.h.

#define META_KEYBINDING_COMMAND_31   "run_command_31"

Definition at line 178 of file prefs.h.

#define META_KEYBINDING_COMMAND_32   "run_command_32"

Definition at line 179 of file prefs.h.

#define META_KEYBINDING_COMMAND_4   "run_command_4"

Definition at line 151 of file prefs.h.

#define META_KEYBINDING_COMMAND_5   "run_command_5"

Definition at line 152 of file prefs.h.

#define META_KEYBINDING_COMMAND_6   "run_command_6"

Definition at line 153 of file prefs.h.

#define META_KEYBINDING_COMMAND_7   "run_command_7"

Definition at line 154 of file prefs.h.

#define META_KEYBINDING_COMMAND_8   "run_command_8"

Definition at line 155 of file prefs.h.

#define META_KEYBINDING_COMMAND_9   "run_command_9"

Definition at line 156 of file prefs.h.

#define META_KEYBINDING_COMMAND_SCREENSHOT   "run_command_screenshot"

Definition at line 180 of file prefs.h.

#define META_KEYBINDING_COMMAND_WIN_SCREENSHOT   "run_command_window_screenshot"

Definition at line 181 of file prefs.h.

#define META_KEYBINDING_CYCLE_GROUP   "cycle_group"

Definition at line 139 of file prefs.h.

#define META_KEYBINDING_CYCLE_GROUP_BACKWARD   "cycle_group_backward"

Definition at line 140 of file prefs.h.

#define META_KEYBINDING_CYCLE_PANELS   "cycle_panels"

Definition at line 143 of file prefs.h.

#define META_KEYBINDING_CYCLE_PANELS_BACKWARD   "cycle_panels_backward"

Definition at line 144 of file prefs.h.

#define META_KEYBINDING_CYCLE_WINDOWS   "cycle_windows"

Definition at line 141 of file prefs.h.

#define META_KEYBINDING_CYCLE_WINDOWS_BACKWARD   "cycle_windows_backward"

Definition at line 142 of file prefs.h.

#define META_KEYBINDING_LOWER   "lower"

Definition at line 216 of file prefs.h.

#define META_KEYBINDING_MAXIMIZE   "maximize"

Definition at line 190 of file prefs.h.

Referenced by meta_core_get_menu_accelerator().

#define META_KEYBINDING_MAXIMIZE_HORIZONTALLY   "maximize_horizontally"

Definition at line 218 of file prefs.h.

#define META_KEYBINDING_MAXIMIZE_VERTICALLY   "maximize_vertically"

Definition at line 217 of file prefs.h.

#define META_KEYBINDING_MINIMIZE   "minimize"

Definition at line 193 of file prefs.h.

Referenced by meta_core_get_menu_accelerator().

#define META_KEYBINDING_MOVE_TO_CORNER_NE   "move_to_corner_ne"

Definition at line 220 of file prefs.h.

#define META_KEYBINDING_MOVE_TO_CORNER_NW   "move_to_corner_nw"

Definition at line 219 of file prefs.h.

#define META_KEYBINDING_MOVE_TO_CORNER_SE   "move_to_corner_se"

Definition at line 222 of file prefs.h.

#define META_KEYBINDING_MOVE_TO_CORNER_SW   "move_to_corner_sw"

Definition at line 221 of file prefs.h.

#define META_KEYBINDING_MOVE_TO_SIDE_E   "move_to_side_e"

Definition at line 225 of file prefs.h.

#define META_KEYBINDING_MOVE_TO_SIDE_N   "move_to_side_n"

Definition at line 223 of file prefs.h.

#define META_KEYBINDING_MOVE_TO_SIDE_S   "move_to_side_s"

Definition at line 224 of file prefs.h.

#define META_KEYBINDING_MOVE_TO_SIDE_W   "move_to_side_w"

Definition at line 226 of file prefs.h.

#define META_KEYBINDING_MOVE_WORKSPACE_1   "move_to_workspace_1"

Definition at line 198 of file prefs.h.

Referenced by meta_core_get_menu_accelerator().

#define META_KEYBINDING_MOVE_WORKSPACE_10   "move_to_workspace_10"

Definition at line 207 of file prefs.h.

Referenced by meta_core_get_menu_accelerator().

#define META_KEYBINDING_MOVE_WORKSPACE_11   "move_to_workspace_11"

Definition at line 208 of file prefs.h.

Referenced by meta_core_get_menu_accelerator().

#define META_KEYBINDING_MOVE_WORKSPACE_12   "move_to_workspace_12"

Definition at line 209 of file prefs.h.

Referenced by meta_core_get_menu_accelerator().

#define META_KEYBINDING_MOVE_WORKSPACE_2   "move_to_workspace_2"

Definition at line 199 of file prefs.h.

Referenced by meta_core_get_menu_accelerator().

#define META_KEYBINDING_MOVE_WORKSPACE_3   "move_to_workspace_3"

Definition at line 200 of file prefs.h.

Referenced by meta_core_get_menu_accelerator().

#define META_KEYBINDING_MOVE_WORKSPACE_4   "move_to_workspace_4"

Definition at line 201 of file prefs.h.

Referenced by meta_core_get_menu_accelerator().

#define META_KEYBINDING_MOVE_WORKSPACE_5   "move_to_workspace_5"

Definition at line 202 of file prefs.h.

Referenced by meta_core_get_menu_accelerator().

#define META_KEYBINDING_MOVE_WORKSPACE_6   "move_to_workspace_6"

Definition at line 203 of file prefs.h.

Referenced by meta_core_get_menu_accelerator().

#define META_KEYBINDING_MOVE_WORKSPACE_7   "move_to_workspace_7"

Definition at line 204 of file prefs.h.

Referenced by meta_core_get_menu_accelerator().

#define META_KEYBINDING_MOVE_WORKSPACE_8   "move_to_workspace_8"

Definition at line 205 of file prefs.h.

Referenced by meta_core_get_menu_accelerator().

#define META_KEYBINDING_MOVE_WORKSPACE_9   "move_to_workspace_9"

Definition at line 206 of file prefs.h.

Referenced by meta_core_get_menu_accelerator().

#define META_KEYBINDING_MOVE_WORKSPACE_DOWN   "move_to_workspace_down"

Definition at line 213 of file prefs.h.

Referenced by meta_core_get_menu_accelerator().

#define META_KEYBINDING_MOVE_WORKSPACE_LEFT   "move_to_workspace_left"

Definition at line 210 of file prefs.h.

Referenced by meta_core_get_menu_accelerator().

#define META_KEYBINDING_MOVE_WORKSPACE_RIGHT   "move_to_workspace_right"

Definition at line 211 of file prefs.h.

Referenced by meta_core_get_menu_accelerator().

#define META_KEYBINDING_MOVE_WORKSPACE_UP   "move_to_workspace_up"

Definition at line 212 of file prefs.h.

Referenced by meta_core_get_menu_accelerator().

#define META_KEYBINDING_PANEL_MAIN_MENU   "panel_main_menu"

Definition at line 146 of file prefs.h.

#define META_KEYBINDING_PANEL_RUN_DIALOG   "panel_run_dialog"

Definition at line 147 of file prefs.h.

#define META_KEYBINDING_RAISE   "raise"

Definition at line 215 of file prefs.h.

#define META_KEYBINDING_RAISE_OR_LOWER   "raise_or_lower"

Definition at line 214 of file prefs.h.

#define META_KEYBINDING_RUN_COMMAND_TERMINAL   "run_command_terminal"

Definition at line 182 of file prefs.h.

#define META_KEYBINDING_SET_SPEW_MARK   "set_spew_mark"

Definition at line 183 of file prefs.h.

#define META_KEYBINDING_SHOW_DESKTOP   "show_desktop"

Definition at line 145 of file prefs.h.

#define META_KEYBINDING_SWITCH_GROUP   "switch_group"

Definition at line 133 of file prefs.h.

#define META_KEYBINDING_SWITCH_GROUP_BACKWARD   "switch_group_backward"

Definition at line 134 of file prefs.h.

#define META_KEYBINDING_SWITCH_PANELS   "switch_panels"

Definition at line 137 of file prefs.h.

#define META_KEYBINDING_SWITCH_PANELS_BACKWARD   "switch_panels_backward"

Definition at line 138 of file prefs.h.

#define META_KEYBINDING_SWITCH_WINDOWS   "switch_windows"

Definition at line 135 of file prefs.h.

#define META_KEYBINDING_SWITCH_WINDOWS_BACKWARD   "switch_windows_backward"

Definition at line 136 of file prefs.h.

#define META_KEYBINDING_TOGGLE_ABOVE   "toggle_above"

Definition at line 189 of file prefs.h.

Referenced by meta_core_get_menu_accelerator().

#define META_KEYBINDING_TOGGLE_FULLSCREEN   "toggle_fullscreen"

Definition at line 187 of file prefs.h.

#define META_KEYBINDING_TOGGLE_MAXIMIZE   "toggle_maximized"

Definition at line 188 of file prefs.h.

#define META_KEYBINDING_TOGGLE_SHADE   "toggle_shaded"

Definition at line 192 of file prefs.h.

Referenced by meta_core_get_menu_accelerator().

#define META_KEYBINDING_TOGGLE_STICKY   "toggle_on_all_workspaces"

Definition at line 197 of file prefs.h.

Referenced by meta_core_get_menu_accelerator().

#define META_KEYBINDING_UNMAXIMIZE   "unmaximize"

Definition at line 191 of file prefs.h.

Referenced by meta_core_get_menu_accelerator().

#define META_KEYBINDING_WINDOW_MENU   "activate_window_menu"

Definition at line 186 of file prefs.h.

#define META_KEYBINDING_WORKSPACE_1   "switch_to_workspace_1"

Definition at line 117 of file prefs.h.

#define META_KEYBINDING_WORKSPACE_10   "switch_to_workspace_10"

Definition at line 126 of file prefs.h.

#define META_KEYBINDING_WORKSPACE_11   "switch_to_workspace_11"

Definition at line 127 of file prefs.h.

#define META_KEYBINDING_WORKSPACE_12   "switch_to_workspace_12"

Definition at line 128 of file prefs.h.

#define META_KEYBINDING_WORKSPACE_2   "switch_to_workspace_2"

Definition at line 118 of file prefs.h.

#define META_KEYBINDING_WORKSPACE_3   "switch_to_workspace_3"

Definition at line 119 of file prefs.h.

#define META_KEYBINDING_WORKSPACE_4   "switch_to_workspace_4"

Definition at line 120 of file prefs.h.

#define META_KEYBINDING_WORKSPACE_5   "switch_to_workspace_5"

Definition at line 121 of file prefs.h.

#define META_KEYBINDING_WORKSPACE_6   "switch_to_workspace_6"

Definition at line 122 of file prefs.h.

#define META_KEYBINDING_WORKSPACE_7   "switch_to_workspace_7"

Definition at line 123 of file prefs.h.

#define META_KEYBINDING_WORKSPACE_8   "switch_to_workspace_8"

Definition at line 124 of file prefs.h.

#define META_KEYBINDING_WORKSPACE_9   "switch_to_workspace_9"

Definition at line 125 of file prefs.h.

#define META_KEYBINDING_WORKSPACE_DOWN   "switch_to_workspace_down"

Definition at line 132 of file prefs.h.

#define META_KEYBINDING_WORKSPACE_LEFT   "switch_to_workspace_left"

Definition at line 129 of file prefs.h.

#define META_KEYBINDING_WORKSPACE_RIGHT   "switch_to_workspace_right"

Definition at line 130 of file prefs.h.

#define META_KEYBINDING_WORKSPACE_UP   "switch_to_workspace_up"

Definition at line 131 of file prefs.h.


Typedef Documentation

typedef void(* MetaPrefsChangedFunc)(MetaPreference pref, gpointer data)

Definition at line 65 of file prefs.h.


Enumeration Type Documentation

Enumerator:
META_KEYBINDING_ACTION_NONE 
META_KEYBINDING_ACTION_WORKSPACE_1 
META_KEYBINDING_ACTION_WORKSPACE_2 
META_KEYBINDING_ACTION_WORKSPACE_3 
META_KEYBINDING_ACTION_WORKSPACE_4 
META_KEYBINDING_ACTION_WORKSPACE_5 
META_KEYBINDING_ACTION_WORKSPACE_6 
META_KEYBINDING_ACTION_WORKSPACE_7 
META_KEYBINDING_ACTION_WORKSPACE_8 
META_KEYBINDING_ACTION_WORKSPACE_9 
META_KEYBINDING_ACTION_WORKSPACE_10 
META_KEYBINDING_ACTION_WORKSPACE_11 
META_KEYBINDING_ACTION_WORKSPACE_12 
META_KEYBINDING_ACTION_WORKSPACE_LEFT 
META_KEYBINDING_ACTION_WORKSPACE_RIGHT 
META_KEYBINDING_ACTION_WORKSPACE_UP 
META_KEYBINDING_ACTION_WORKSPACE_DOWN 
META_KEYBINDING_ACTION_SWITCH_GROUP 
META_KEYBINDING_ACTION_SWITCH_GROUP_BACKWARD 
META_KEYBINDING_ACTION_SWITCH_WINDOWS 
META_KEYBINDING_ACTION_SWITCH_WINDOWS_BACKWARD 
META_KEYBINDING_ACTION_SWITCH_PANELS 
META_KEYBINDING_ACTION_SWITCH_PANELS_BACKWARD 
META_KEYBINDING_ACTION_CYCLE_GROUP 
META_KEYBINDING_ACTION_CYCLE_GROUP_BACKWARD 
META_KEYBINDING_ACTION_CYCLE_WINDOWS 
META_KEYBINDING_ACTION_CYCLE_WINDOWS_BACKWARD 
META_KEYBINDING_ACTION_CYCLE_PANELS 
META_KEYBINDING_ACTION_CYCLE_PANELS_BACKWARD 
META_KEYBINDING_ACTION_SHOW_DESKTOP 
META_KEYBINDING_ACTION_PANEL_MAIN_MENU 
META_KEYBINDING_ACTION_PANEL_RUN_DIALOG 
META_KEYBINDING_ACTION_COMMAND_1 
META_KEYBINDING_ACTION_COMMAND_2 
META_KEYBINDING_ACTION_COMMAND_3 
META_KEYBINDING_ACTION_COMMAND_4 
META_KEYBINDING_ACTION_COMMAND_5 
META_KEYBINDING_ACTION_COMMAND_6 
META_KEYBINDING_ACTION_COMMAND_7 
META_KEYBINDING_ACTION_COMMAND_8 
META_KEYBINDING_ACTION_COMMAND_9 
META_KEYBINDING_ACTION_COMMAND_10 
META_KEYBINDING_ACTION_COMMAND_11 
META_KEYBINDING_ACTION_COMMAND_12 

Definition at line 228 of file prefs.h.

Enumerator:
META_PREF_MOUSE_BUTTON_MODS 
META_PREF_FOCUS_MODE 
META_PREF_FOCUS_NEW_WINDOWS 
META_PREF_RAISE_ON_CLICK 
META_PREF_ACTION_DOUBLE_CLICK_TITLEBAR 
META_PREF_ACTION_MIDDLE_CLICK_TITLEBAR 
META_PREF_ACTION_RIGHT_CLICK_TITLEBAR 
META_PREF_AUTO_RAISE 
META_PREF_AUTO_RAISE_DELAY 
META_PREF_THEME 
META_PREF_TITLEBAR_FONT 
META_PREF_NUM_WORKSPACES 
META_PREF_APPLICATION_BASED 
META_PREF_WINDOW_KEYBINDINGS 
META_PREF_SCREEN_KEYBINDINGS 
META_PREF_DISABLE_WORKAROUNDS 
META_PREF_COMMANDS 
META_PREF_TERMINAL_COMMAND 
META_PREF_BUTTON_LAYOUT 
META_PREF_WORKSPACE_NAMES 
META_PREF_VISUAL_BELL 
META_PREF_AUDIBLE_BELL 
META_PREF_VISUAL_BELL_TYPE 
META_PREF_REDUCED_RESOURCES 
META_PREF_GNOME_ACCESSIBILITY 
META_PREF_GNOME_ANIMATIONS 
META_PREF_CURSOR_THEME 
META_PREF_CURSOR_SIZE 
META_PREF_COMPOSITING_MANAGER 

Definition at line 32 of file prefs.h.

Enumerator:
META_VISUAL_BELL_INVALID 
META_VISUAL_BELL_FULLSCREEN_FLASH 
META_VISUAL_BELL_FRAME_FLASH 

Definition at line 309 of file prefs.h.


Function Documentation

const char* meta_preference_to_string ( MetaPreference  pref  ) 

void meta_prefs_add_listener ( MetaPrefsChangedFunc  func,
gpointer  data 
)

gboolean meta_prefs_bell_is_audible ( void   ) 

Definition at line 2805 of file prefs.c.

References bell_is_audible.

Referenced by meta_bell_init(), and prefs_changed_callback().

void meta_prefs_change_workspace_name ( int  i,
const char *  name 
)

MetaActionTitlebar meta_prefs_get_action_double_click_titlebar ( void   ) 

Definition at line 2834 of file prefs.c.

References action_double_click_titlebar.

Referenced by meta_frame_double_click_event().

MetaActionTitlebar meta_prefs_get_action_middle_click_titlebar ( void   ) 

Definition at line 2840 of file prefs.c.

References action_middle_click_titlebar.

Referenced by meta_frame_middle_click_event().

MetaActionTitlebar meta_prefs_get_action_right_click_titlebar ( void   ) 

Definition at line 2846 of file prefs.c.

References action_right_click_titlebar.

Referenced by meta_frame_right_click_event().

gboolean meta_prefs_get_application_based ( void   ) 

Definition at line 1670 of file prefs.c.

References application_based, and FALSE.

Referenced by event_callback().

gboolean meta_prefs_get_auto_raise ( void   ) 

Definition at line 2852 of file prefs.c.

References auto_raise.

Referenced by event_callback(), and meta_workspace_focus_default_window().

int meta_prefs_get_auto_raise_delay ( void   ) 

Definition at line 2858 of file prefs.c.

References auto_raise_delay.

Referenced by meta_display_queue_autoraise_callback().

void meta_prefs_get_button_layout ( MetaButtonLayout button_layout  ) 

Definition at line 2793 of file prefs.c.

Referenced by meta_frames_calc_geometry(), and meta_frames_paint_to_drawable().

const char* meta_prefs_get_command ( int  i  ) 

Definition at line 2588 of file prefs.c.

References commands, MAX_COMMANDS, and NULL.

Referenced by handle_run_command().

gboolean meta_prefs_get_compositing_manager ( void   ) 

Definition at line 2942 of file prefs.c.

References compositing_manager.

Referenced by prefs_changed_callback().

int meta_prefs_get_cursor_size ( void   ) 

Definition at line 1309 of file prefs.c.

References cursor_size.

Referenced by prefs_changed_callback().

const char* meta_prefs_get_cursor_theme ( void   ) 

Definition at line 1303 of file prefs.c.

References cursor_theme.

Referenced by prefs_changed_callback().

gboolean meta_prefs_get_disable_workarounds ( void   ) 

MetaFocusMode meta_prefs_get_focus_mode ( void   ) 

MetaFocusNewWindows meta_prefs_get_focus_new_windows ( void   ) 

Definition at line 1282 of file prefs.c.

References focus_new_windows.

Referenced by meta_window_set_user_time(), and window_state_on_map().

char* meta_prefs_get_gconf_key_for_command ( int  i  ) 

Definition at line 2596 of file prefs.c.

References KEY_COMMAND_PREFIX, SCREENSHOT_COMMAND_IDX, and WIN_SCREENSHOT_COMMAND_IDX.

Referenced by error_on_command(), and init_commands().

const char* meta_prefs_get_gconf_key_for_terminal_command ( void   ) 

Definition at line 2623 of file prefs.c.

References KEY_TERMINAL_COMMAND.

Referenced by error_on_terminal_command().

gboolean meta_prefs_get_gnome_accessibility ( void   ) 

Definition at line 2870 of file prefs.c.

References gnome_accessibility.

Referenced by meta_display_begin_grab_op().

gboolean meta_prefs_get_gnome_animations ( void   ) 

Definition at line 2876 of file prefs.c.

References gnome_animations.

Referenced by run_handler().

MetaKeyBindingAction meta_prefs_get_keybinding_action ( const char *  name  ) 

Definition at line 2882 of file prefs.c.

References META_KEYBINDING_ACTION_NONE.

Referenced by display_get_keybinding_action().

MetaVirtualModifier meta_prefs_get_mouse_button_mods ( void   ) 

Definition at line 1270 of file prefs.c.

References mouse_button_mods.

Referenced by update_window_grab_modifiers().

int meta_prefs_get_num_workspaces ( void   ) 

Definition at line 1664 of file prefs.c.

References num_workspaces.

Referenced by update_num_workspaces().

gboolean meta_prefs_get_raise_on_click ( void   ) 

gboolean meta_prefs_get_reduced_resources ( void   ) 

Definition at line 2864 of file prefs.c.

References reduced_resources.

Referenced by implement_showing(), and meta_display_begin_grab_op().

void meta_prefs_get_screen_bindings ( const MetaKeyPref **  bindings,
int *  n_bindings 
)

Definition at line 2817 of file prefs.c.

Referenced by rebuild_screen_binding_table().

const char* meta_prefs_get_terminal_command ( void   ) 

Definition at line 2617 of file prefs.c.

References terminal_command.

Referenced by handle_run_terminal().

const char* meta_prefs_get_theme ( void   ) 

Definition at line 1297 of file prefs.c.

References current_theme.

Referenced by event_callback(), main(), and prefs_changed_callback().

const PangoFontDescription* meta_prefs_get_titlebar_font ( void   ) 

Definition at line 1655 of file prefs.c.

References NULL, titlebar_font, and use_system_font.

Referenced by meta_frames_ensure_layout(), and meta_ui_theme_get_frame_borders().

gboolean meta_prefs_get_visual_bell ( void   ) 

Definition at line 2799 of file prefs.c.

References provide_visual_bell.

Referenced by meta_bell_notify().

MetaVisualBellType meta_prefs_get_visual_bell_type ( void   ) 

Definition at line 2811 of file prefs.c.

References visual_bell_type.

Referenced by bell_visual_notify().

void meta_prefs_get_window_binding ( const char *  name,
unsigned int *  keysym,
MetaVirtualModifier modifiers 
)

void meta_prefs_get_window_bindings ( const MetaKeyPref **  bindings,
int *  n_bindings 
)

Definition at line 2826 of file prefs.c.

Referenced by rebuild_window_binding_table().

const char* meta_prefs_get_workspace_name ( int  i  ) 

void meta_prefs_init ( void   ) 

void meta_prefs_remove_listener ( MetaPrefsChangedFunc  func,
gpointer  data 
)

void meta_prefs_set_num_workspaces ( int  n_workspaces  ) 


Generated on Sat Aug 23 22:04:22 2008 for metacity by  doxygen 1.5.5