vendor/fltk-sys/cfltk/fltk/src/Fl_Text_Editor.cxx
/** Adds a \p key of state \p state with the function \p function to an
    arbitrary key binding list \p list.

    This can be used in derived classes to add global key bindings
    by using the global (static) Key_Binding list
    Fl_Text_Editor::global_key_bindings.
*/
Adds a \p key of state \p state with the function \p function to an
arbitrary key binding list \p list.

This can be used in derived classes to add global key bindings
by using the global (static) Key_Binding list
Fl_Text_Editor::global_key_bindings.
Adds a \ p key of state \ p state with the function \ p function to an arbitrary key binding list \ p list . This can be used in derived classes to add global key bindings by using the global ( static ) Key_Binding list Fl_Text_Editor :: global_key_bindings .
void Fl_Text_Editor::add_key_binding(int key, int state, Key_Func function,
                                Key_Binding** list) {
  Key_Binding* kb = new Key_Binding;
  kb->key = key;
  kb->state = state;
  kb->function = function;
  kb->next = *list;
  *list = kb;
}
void Fl_Text_Editor :: add_key_binding ( int key , int state , Key_Func function , Key_Binding * * list ) { Key_Binding * kb = new Key_Binding ; kb -> key = key ; kb -> state = state ; kb -> function = function ; kb -> next = * list ; * list = kb ; }
Adds a \p key of state \p state with the function \p function to an
arbitrary key binding list \p list.
Adds a \ p key of state \ p state with the function \ p function to an arbitrary key binding list \ p list .