}
}
group "Elm_Config_Bindings_Widget" struct {
+ value "name" string: "Elm_Calendar";
+ group "key_bindings" list {
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Prior";
+ value "action" string: "move";
+ value "params" string: "prior";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Prior";
+ value "action" string: "move";
+ value "params" string: "prior";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Next";
+ value "action" string: "move";
+ value "params" string: "next";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Next";
+ value "action" string: "move";
+ value "params" string: "next";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Left";
+ value "action" string: "move";
+ value "params" string: "left";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Left";
+ value "action" string: "move";
+ value "params" string: "left";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Right";
+ value "action" string: "move";
+ value "params" string: "right";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Right";
+ value "action" string: "move";
+ value "params" string: "right";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Up";
+ value "action" string: "move";
+ value "params" string: "up";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Up";
+ value "action" string: "move";
+ value "params" string: "up";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Down";
+ value "action" string: "move";
+ value "params" string: "down";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Down";
+ value "action" string: "move";
+ value "params" string: "down";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ }
+ }
+ group "Elm_Config_Bindings_Widget" struct {
+ value "name" string: "Elm_Check";
+ group "key_bindings" list {
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Return";
+ value "action" string: "activate";
+ value "params" string: "";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Enter";
+ value "action" string: "activate";
+ value "params" string: "";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "space";
+ value "action" string: "activate";
+ value "params" string: "";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ }
+ }
+ group "Elm_Config_Bindings_Widget" struct {
+ value "name" string: "Elm_Colorselector";
+ group "key_bindings" list {
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Left";
+ value "action" string: "move";
+ value "params" string: "left";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Left";
+ value "action" string: "move";
+ value "params" string: "left";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Right";
+ value "action" string: "move";
+ value "params" string: "right";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Right";
+ value "action" string: "move";
+ value "params" string: "right";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Up";
+ value "action" string: "move";
+ value "params" string: "up";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Up";
+ value "action" string: "move";
+ value "params" string: "up";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Down";
+ value "action" string: "move";
+ value "params" string: "down";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Down";
+ value "action" string: "move";
+ value "params" string: "down";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ }
+ }
+ group "Elm_Config_Bindings_Widget" struct {
+ value "name" string: "Elm_Diskselector";
+ group "key_bindings" list {
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Left";
+ value "action" string: "move";
+ value "params" string: "prev";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Left";
+ value "action" string: "move";
+ value "params" string: "prev";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Up";
+ value "action" string: "move";
+ value "params" string: "prev";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Up";
+ value "action" string: "move";
+ value "params" string: "prev";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Right";
+ value "action" string: "move";
+ value "params" string: "next";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Right";
+ value "action" string: "move";
+ value "params" string: "next";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Down";
+ value "action" string: "move";
+ value "params" string: "next";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Down";
+ value "action" string: "move";
+ value "params" string: "next";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Home";
+ value "action" string: "move";
+ value "params" string: "first";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Home";
+ value "action" string: "move";
+ value "params" string: "first";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "End";
+ value "action" string: "move";
+ value "params" string: "last";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_End";
+ value "action" string: "move";
+ value "params" string: "last";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ }
+ }
+ group "Elm_Config_Bindings_Widget" struct {
value "name" string: "Elm_Panel";
group "key_bindings" list {
group "Elm_Config_Binding_Key" struct {
}
}
group "Elm_Config_Bindings_Widget" struct {
+ value "name" string: "Elm_Calendar";
+ group "key_bindings" list {
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Prior";
+ value "action" string: "move";
+ value "params" string: "prior";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Prior";
+ value "action" string: "move";
+ value "params" string: "prior";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Next";
+ value "action" string: "move";
+ value "params" string: "next";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Next";
+ value "action" string: "move";
+ value "params" string: "next";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Left";
+ value "action" string: "move";
+ value "params" string: "left";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Left";
+ value "action" string: "move";
+ value "params" string: "left";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Right";
+ value "action" string: "move";
+ value "params" string: "right";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Right";
+ value "action" string: "move";
+ value "params" string: "right";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Up";
+ value "action" string: "move";
+ value "params" string: "up";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Up";
+ value "action" string: "move";
+ value "params" string: "up";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Down";
+ value "action" string: "move";
+ value "params" string: "down";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Down";
+ value "action" string: "move";
+ value "params" string: "down";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ }
+ }
+ group "Elm_Config_Bindings_Widget" struct {
+ value "name" string: "Elm_Check";
+ group "key_bindings" list {
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Return";
+ value "action" string: "activate";
+ value "params" string: "";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Enter";
+ value "action" string: "activate";
+ value "params" string: "";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "space";
+ value "action" string: "activate";
+ value "params" string: "";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ }
+ }
+ group "Elm_Config_Bindings_Widget" struct {
+ value "name" string: "Elm_Colorselector";
+ group "key_bindings" list {
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Left";
+ value "action" string: "move";
+ value "params" string: "left";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Left";
+ value "action" string: "move";
+ value "params" string: "left";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Right";
+ value "action" string: "move";
+ value "params" string: "right";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Right";
+ value "action" string: "move";
+ value "params" string: "right";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Up";
+ value "action" string: "move";
+ value "params" string: "up";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Up";
+ value "action" string: "move";
+ value "params" string: "up";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Down";
+ value "action" string: "move";
+ value "params" string: "down";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Down";
+ value "action" string: "move";
+ value "params" string: "down";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ }
+ }
+ group "Elm_Config_Bindings_Widget" struct {
+ value "name" string: "Elm_Diskselector";
+ group "key_bindings" list {
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Left";
+ value "action" string: "move";
+ value "params" string: "prev";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Left";
+ value "action" string: "move";
+ value "params" string: "prev";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Up";
+ value "action" string: "move";
+ value "params" string: "prev";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Up";
+ value "action" string: "move";
+ value "params" string: "prev";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Right";
+ value "action" string: "move";
+ value "params" string: "next";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Right";
+ value "action" string: "move";
+ value "params" string: "next";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Down";
+ value "action" string: "move";
+ value "params" string: "next";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Down";
+ value "action" string: "move";
+ value "params" string: "next";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Home";
+ value "action" string: "move";
+ value "params" string: "first";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Home";
+ value "action" string: "move";
+ value "params" string: "first";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "End";
+ value "action" string: "move";
+ value "params" string: "last";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_End";
+ value "action" string: "move";
+ value "params" string: "last";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ }
+ }
+ group "Elm_Config_Bindings_Widget" struct {
value "name" string: "Elm_Panel";
group "key_bindings" list {
group "Elm_Config_Binding_Key" struct {
}
}
group "Elm_Config_Bindings_Widget" struct {
+ value "name" string: "Elm_Calendar";
+ group "key_bindings" list {
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Prior";
+ value "action" string: "move";
+ value "params" string: "prior";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Prior";
+ value "action" string: "move";
+ value "params" string: "prior";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Next";
+ value "action" string: "move";
+ value "params" string: "next";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Next";
+ value "action" string: "move";
+ value "params" string: "next";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Left";
+ value "action" string: "move";
+ value "params" string: "left";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Left";
+ value "action" string: "move";
+ value "params" string: "left";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Right";
+ value "action" string: "move";
+ value "params" string: "right";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Right";
+ value "action" string: "move";
+ value "params" string: "right";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Up";
+ value "action" string: "move";
+ value "params" string: "up";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Up";
+ value "action" string: "move";
+ value "params" string: "up";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Down";
+ value "action" string: "move";
+ value "params" string: "down";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Down";
+ value "action" string: "move";
+ value "params" string: "down";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ }
+ }
+ group "Elm_Config_Bindings_Widget" struct {
+ value "name" string: "Elm_Check";
+ group "key_bindings" list {
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Return";
+ value "action" string: "activate";
+ value "params" string: "";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Enter";
+ value "action" string: "activate";
+ value "params" string: "";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "space";
+ value "action" string: "activate";
+ value "params" string: "";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ }
+ }
+ group "Elm_Config_Bindings_Widget" struct {
+ value "name" string: "Elm_Colorselector";
+ group "key_bindings" list {
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Left";
+ value "action" string: "move";
+ value "params" string: "left";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Left";
+ value "action" string: "move";
+ value "params" string: "left";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Right";
+ value "action" string: "move";
+ value "params" string: "right";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Right";
+ value "action" string: "move";
+ value "params" string: "right";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Up";
+ value "action" string: "move";
+ value "params" string: "up";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Up";
+ value "action" string: "move";
+ value "params" string: "up";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Down";
+ value "action" string: "move";
+ value "params" string: "down";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Down";
+ value "action" string: "move";
+ value "params" string: "down";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ }
+ }
+ group "Elm_Config_Bindings_Widget" struct {
+ value "name" string: "Elm_Diskselector";
+ group "key_bindings" list {
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Left";
+ value "action" string: "move";
+ value "params" string: "prev";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Left";
+ value "action" string: "move";
+ value "params" string: "prev";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Up";
+ value "action" string: "move";
+ value "params" string: "prev";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Up";
+ value "action" string: "move";
+ value "params" string: "prev";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Right";
+ value "action" string: "move";
+ value "params" string: "next";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Right";
+ value "action" string: "move";
+ value "params" string: "next";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Down";
+ value "action" string: "move";
+ value "params" string: "next";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Down";
+ value "action" string: "move";
+ value "params" string: "next";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "Home";
+ value "action" string: "move";
+ value "params" string: "first";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_Home";
+ value "action" string: "move";
+ value "params" string: "first";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "End";
+ value "action" string: "move";
+ value "params" string: "last";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 0;
+ }
+ group "Elm_Config_Binding_Key" struct {
+ value "context" int: 0;
+ value "modifiers" string: "None";
+ value "key" string: "KP_End";
+ value "action" string: "move";
+ value "params" string: "last";
+ value "any_mod" uchar: 1;
+ value "no_string" uchar: 1;
+ }
+ }
+ }
+ group "Elm_Config_Bindings_Widget" struct {
value "name" string: "Elm_Panel";
group "key_bindings" list {
group "Elm_Config_Binding_Key" struct {
{NULL, NULL}
};
+static Eina_Bool _key_action_move(Evas_Object *obj, const char *params);
+
+static const Elm_Action key_actions[] = {
+ {"move", _key_action_move},
+ {NULL, NULL}
+};
+
/* Should not be translated, it's used if we failed
* getting from locale. */
static const char *_days_abbrev[] =
return ECORE_CALLBACK_RENEW;
}
-EOLIAN static Eina_Bool
-_elm_calendar_elm_widget_event(Eo *obj, Elm_Calendar_Data *sd, Evas_Object *src, Evas_Callback_Type type, void *event_info)
+static Eina_Bool
+_key_action_move(Evas_Object *obj, const char *params)
{
- (void) src;
- Evas_Event_Key_Down *ev = event_info;
-
- if (elm_widget_disabled_get(obj)) return EINA_FALSE;
- if (type != EVAS_CALLBACK_KEY_DOWN) return EINA_FALSE;
+ ELM_CALENDAR_DATA_GET(obj, sd);
+ char *dir = params;
- if ((!strcmp(ev->key, "Prior")) ||
- ((!strcmp(ev->key, "KP_Prior")) && (!ev->string)))
+ if (!strcmp(dir, "prior"))
{
if (_update_data(obj, EINA_TRUE, -1)) _populate(obj);
}
- else if ((!strcmp(ev->key, "Next")) ||
- ((!strcmp(ev->key, "KP_Next")) && (!ev->string)))
+ else if (!strcmp(dir, "next"))
{
if (_update_data(obj, EINA_TRUE, 1)) _populate(obj);
}
&& ((sd->select_mode != ELM_CALENDAR_SELECT_MODE_ONDEMAND)
|| (sd->selected)))
{
- if ((!strcmp(ev->key, "Left")) ||
- ((!strcmp(ev->key, "KP_Left")) && (!ev->string)))
+ if (!strcmp(dir, "left"))
{
if ((sd->select_mode != ELM_CALENDAR_SELECT_MODE_ONDEMAND)
|| ((sd->shown_time.tm_year == sd->selected_time.tm_year)
&& (sd->shown_time.tm_mon == sd->selected_time.tm_mon)))
_update_sel_it(obj, sd->selected_it - 1);
}
- else if ((!strcmp(ev->key, "Right")) ||
- ((!strcmp(ev->key, "KP_Right")) && (!ev->string)))
+ else if (!strcmp(dir, "right"))
{
if ((sd->select_mode != ELM_CALENDAR_SELECT_MODE_ONDEMAND)
|| ((sd->shown_time.tm_year == sd->selected_time.tm_year)
&& (sd->shown_time.tm_mon == sd->selected_time.tm_mon)))
_update_sel_it(obj, sd->selected_it + 1);
}
- else if ((!strcmp(ev->key, "Up")) ||
- ((!strcmp(ev->key, "KP_Up")) && (!ev->string)))
+ else if (!strcmp(dir, "up"))
{
if ((sd->select_mode != ELM_CALENDAR_SELECT_MODE_ONDEMAND)
|| ((sd->shown_time.tm_year == sd->selected_time.tm_year)
&& (sd->shown_time.tm_mon == sd->selected_time.tm_mon)))
_update_sel_it(obj, sd->selected_it - ELM_DAY_LAST);
}
- else if ((!strcmp(ev->key, "Down")) ||
- ((!strcmp(ev->key, "KP_Down")) && (!ev->string)))
+ else if (!strcmp(dir, "down"))
{
if ((sd->select_mode != ELM_CALENDAR_SELECT_MODE_ONDEMAND)
|| ((sd->shown_time.tm_year == sd->selected_time.tm_year)
return EINA_TRUE;
}
+EOLIAN static Eina_Bool
+_elm_calendar_elm_widget_event(Eo *obj, Elm_Calendar_Data *sd, Evas_Object *src, Evas_Callback_Type type, void *event_info)
+{
+ (void) src;
+ Evas_Event_Key_Down *ev = event_info;
+
+ if (elm_widget_disabled_get(obj)) return EINA_FALSE;
+ if (type != EVAS_CALLBACK_KEY_DOWN) return EINA_FALSE;
+
+ if (!_elm_config_key_binding_call(obj, ev, key_actions))
+ return EINA_FALSE;
+
+ ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
+ return EINA_TRUE;
+
+}
+
EOLIAN static void
_elm_calendar_evas_smart_calculate(Eo *obj, Elm_Calendar_Data *_pd EINA_UNUSED)
{
{NULL, NULL}
};
+static Eina_Bool _key_action_activate(Evas_Object *obj, const char *params);
+
+static const Elm_Action key_actions[] = {
+ {"activate", _key_action_activate},
+ {NULL, NULL}
+};
+
static void
_activate(Evas_Object *obj)
{
evas_object_size_hint_max_set(obj, -1, -1);
}
+static Eina_Bool
+_key_action_activate(Evas_Object *obj, const char *params EINA_UNUSED)
+{
+ _activate(obj);
+ return EINA_TRUE;
+}
+
EOLIAN static Eina_Bool
_elm_check_elm_widget_event(Eo *obj, Elm_Check_Data *_pd EINA_UNUSED, Evas_Object *src, Evas_Callback_Type type, void *event_info)
{
if (type != EVAS_CALLBACK_KEY_DOWN) return EINA_FALSE;
if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
- if ((strcmp(ev->key, "Return")) &&
- (strcmp(ev->key, "KP_Enter")) &&
- (strcmp(ev->key, "space")))
+ if (!_elm_config_key_binding_call(obj, ev, key_actions))
return EINA_FALSE;
- _activate(obj);
-
ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
-
return EINA_TRUE;
}
{NULL, NULL}
};
+static Eina_Bool _key_action_move(Evas_Object *obj, const char *params);
+
+static const Elm_Action key_actions[] = {
+ {"move", _key_action_move},
+ {NULL, NULL}
+};
+
enum Palette_Box_Direction
{
PALETTE_BOX_UP,
return res;
}
-EOLIAN static Eina_Bool
-_elm_colorselector_elm_widget_event(Eo *obj, Elm_Colorselector_Data *sd, Evas_Object *src, Evas_Callback_Type type, void *event_info)
+static Eina_Bool
+_key_action_move(Evas_Object *obj, const char *params)
{
- Evas_Event_Key_Down *ev = event_info;
+ ELM_COLORSELECTOR_DATA_GET(obj, sd);
Eina_List *cl = NULL;
Elm_Color_Item *item = NULL;
char colorbar_s[128];
+ char *dir = params;
- (void) src;
-
- if (elm_widget_disabled_get(obj)) return EINA_FALSE;
- if (type != EVAS_CALLBACK_KEY_DOWN) return EINA_FALSE;
- if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
- if (!sd) return EINA_FALSE;
- if (!sd->selected) sd->selected = sd->items;
-
- if ((!strcmp(ev->key, "Left")) ||
- ((!strcmp(ev->key, "KP_Left")) && (!ev->string)))
+ if (!strcmp(dir, "left"))
{
if (sd->focused == ELM_COLORSELECTOR_PALETTE && sd->selected)
cl = eina_list_prev(sd->selected);
- else if (sd->focused == ELM_COLORSELECTOR_COMPONENTS)
- _button_clicked_cb(sd->cb_data[sd->sel_color_type], sd->cb_data[sd->sel_color_type]->lbt, NULL);
+ else if (sd->focused == ELM_COLORSELECTOR_COMPONENTS)
+ _button_clicked_cb(sd->cb_data[sd->sel_color_type],
+ sd->cb_data[sd->sel_color_type]->lbt, NULL);
else return EINA_FALSE;
}
- else if ((!strcmp(ev->key, "Right")) ||
- ((!strcmp(ev->key, "KP_Right")) && (!ev->string)))
+ else if (!strcmp(dir, "right"))
{
if (sd->focused == ELM_COLORSELECTOR_PALETTE && sd->selected)
cl = eina_list_next(sd->selected);
else if (sd->focused == ELM_COLORSELECTOR_COMPONENTS)
- _button_clicked_cb(sd->cb_data[sd->sel_color_type], sd->cb_data[sd->sel_color_type]->rbt, NULL);
+ _button_clicked_cb(sd->cb_data[sd->sel_color_type],
+ sd->cb_data[sd->sel_color_type]->rbt, NULL);
else return EINA_FALSE;
}
- else if ((!strcmp(ev->key, "Up")) ||
- ((!strcmp(ev->key, "KP_Up")) && (!ev->string)))
+ else if (!strcmp(dir, "up"))
{
if (sd->focused == ELM_COLORSELECTOR_COMPONENTS)
{
if (!cl) cl = sd->selected;
}
}
- else if ((!strcmp(ev->key, "Down")) ||
- ((!strcmp(ev->key, "KP_Down")) && (!ev->string)))
+ else if (!strcmp(dir, "down"))
{
if (sd->focused == ELM_COLORSELECTOR_PALETTE)
{
}
}
else return EINA_FALSE;
+
if (cl)
{
item = eina_list_data_get(cl);
else if (!cl && sd->focused == ELM_COLORSELECTOR_PALETTE)
return EINA_FALSE;
+ return EINA_TRUE;
+}
+
+EOLIAN static Eina_Bool
+_elm_colorselector_elm_widget_event(Eo *obj, Elm_Colorselector_Data *sd, Evas_Object *src, Evas_Callback_Type type, void *event_info)
+{
+ Evas_Event_Key_Down *ev = event_info;
+ Eina_List *cl = NULL;
+ Elm_Color_Item *item = NULL;
+ char colorbar_s[128];
+
+ (void) src;
+
+ if (elm_widget_disabled_get(obj)) return EINA_FALSE;
+ if (type != EVAS_CALLBACK_KEY_DOWN) return EINA_FALSE;
+ if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
+ if (!sd) return EINA_FALSE;
+ if (!sd->selected) sd->selected = sd->items;
+
+ if (!_elm_config_key_binding_call(obj, ev, key_actions))
+ return EINA_FALSE;
+
ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
return EINA_TRUE;
}
{NULL, NULL}
};
+static Eina_Bool _key_action_move(Evas_Object *obj, const char *params);
+
+static const Elm_Action key_actions[] = {
+ {"move", _key_action_move},
+ {NULL, NULL}
+};
+
EOLIAN static Eina_Bool
_elm_diskselector_elm_widget_translate(Eo *obj EINA_UNUSED, Elm_Diskselector_Data *sd)
{
return EINA_TRUE;
}
-EOLIAN static Eina_Bool
-_elm_diskselector_elm_widget_event(Eo *obj, Elm_Diskselector_Data *sd, Evas_Object *src, Evas_Callback_Type type, void *event_info)
+static Eina_Bool
+_key_action_move(Evas_Object *obj, const char *params)
{
+ ELM_DISKSELECTOR_DATA_GET(obj, sd);
Elm_Diskselector_Item *it = NULL;
- Eina_List *l;
- Evas_Event_Key_Down *ev = event_info;
-
- (void) src;
-
- if (elm_widget_disabled_get(obj)) return EINA_FALSE;
- if (type != EVAS_CALLBACK_KEY_DOWN) return EINA_FALSE;
- if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
-
- if (!sd->selected_item)
- {
- ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
- return EINA_TRUE;
- }
+ Eina_List *l = NULL;
+ char *dir = params;
- if ((!strcmp(ev->key, "Left")) ||
- ((!strcmp(ev->key, "KP_Left")) && (!ev->string)) ||
- (!strcmp(ev->key, "Up")) ||
- ((!strcmp(ev->key, "KP_Up")) && (!ev->string)))
+ if (!strcmp(dir, "prev"))
{
l = sd->selected_item->node->prev;
if ((!l) && (sd->round))
l = eina_list_last(sd->items);
}
- else if ((!strcmp(ev->key, "Right")) ||
- ((!strcmp(ev->key, "KP_Right")) && (!ev->string)) ||
- (!strcmp(ev->key, "Down")) ||
- ((!strcmp(ev->key, "KP_Down")) && (!ev->string)))
+ else if (!strcmp(dir, "next"))
{
l = sd->selected_item->node->next;
if ((!l) && (sd->round))
l = sd->items;
}
- else if ((!strcmp(ev->key, "Home")) ||
- ((!strcmp(ev->key, "KP_Home")) && (!ev->string)))
+ else if (!strcmp(dir, "first"))
l = sd->items;
- else if ((!strcmp(ev->key, "End")) ||
- ((!strcmp(ev->key, "KP_End")) && (!ev->string)))
+ else if (!strcmp(dir, "last"))
l = eina_list_last(sd->items);
else return EINA_FALSE;
sd->scroller_move_idle_enterer = ecore_idle_enterer_before_add(_scroller_move, obj);
}
+ return EINA_TRUE;
+}
+
+EOLIAN static Eina_Bool
+_elm_diskselector_elm_widget_event(Eo *obj, Elm_Diskselector_Data *sd, Evas_Object *src, Evas_Callback_Type type, void *event_info)
+{
+ Evas_Event_Key_Down *ev = event_info;
+
+ (void) src;
+
+ if (elm_widget_disabled_get(obj)) return EINA_FALSE;
+ if (type != EVAS_CALLBACK_KEY_DOWN) return EINA_FALSE;
+ if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return EINA_FALSE;
+
+ if (!sd->selected_item)
+ {
+ ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
+ return EINA_TRUE;
+ }
+
+ if (!_elm_config_key_binding_call(obj, ev, key_actions))
+ return EINA_FALSE;
+
ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
return EINA_TRUE;
}