/src/wrappers/gtk/library/gtk_binding_set.e
Specman e | 190 lines | 26 code | 11 blank | 153 comment | 3 complexity | f776c2f0cfddf2f8a9a6da4a213a8395 MD5 | raw file
1indexing 2 description: "Key bindings for individual widgets." 3 copyright: "[ 4 Copyright (C) 2007 Paolo Redaelli, GTK+ team 5 6 This library is free software; you can redistribute it and/or 7 modify it under the terms of the GNU Lesser General Public License 8 as published by the Free Software Foundation; either version 2.1 of 9 the License, or (at your option) any later version. 10 11 This library is distributed in the hopeOA that it will be useful, but 12 WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 Lesser General Public License for more details. 15 16 You should have received a copy of the GNU Lesser General Public 17 License along with this library; if not, write to the Free Software 18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 19 02110-1301 USA 20 ]" 21 22 wrapped_version: "2.10.6" 23 24class GTK_BINDING_SET 25 26inherit 27 C_STRUCT 28 EIFFEL_OWNED -- TODO: This is temporary 29 30insert GTK_BINDING_SET_EXTERNALS 31 32creation from_external_pointer --, make 33 34feature {} -- Creation 35 -- gtk_binding_set_new () 36 -- 37 -- GtkBindingSet* gtk_binding_set_new (const gchar *set_name); 38 -- 39 -- set_name : 40 -- Returns : 41 -- 42 -- -------------------------------------------------------------------------- 43 -- 44 -- gtk_binding_set_by_class () 45 -- 46 -- GtkBindingSet* gtk_binding_set_by_class (gpointer object_class); 47 -- 48 -- object_class : 49 -- Returns : 50 -- 51 -- -------------------------------------------------------------------------- 52 -- 53 -- gtk_binding_set_find () 54 -- 55 -- GtkBindingSet* gtk_binding_set_find (const gchar *set_name); 56 -- 57 -- set_name : 58 -- Returns : 59 -- 60 -- -------------------------------------------------------------------------- 61 -- 62 -- gtk_bindings_activate () 63 -- 64 -- gboolean gtk_bindings_activate (GtkObject *object, 65 -- guint keyval, 66 -- GdkModifierType modifiers); 67 -- 68 -- object : 69 -- keyval : 70 -- modifiers : 71 -- Returns : 72 -- 73 -- -------------------------------------------------------------------------- 74 -- 75 -- gtk_bindings_activate_event () 76 -- 77 -- gboolean gtk_bindings_activate_event (GtkObject *object, 78 -- GdkEventKey *event); 79 -- 80 -- Looks up key bindings for object to find one matching event, and if one 81 -- was found, activate it. 82 -- 83 -- object : a GtkObject (generally must be a widget) 84 -- event : a GdkEventKey 85 -- Returns : TRUE if a matching key binding was found 86 -- 87 -- -------------------------------------------------------------------------- 88 -- 89 -- gtk_binding_set_activate () 90 -- 91 -- gboolean gtk_binding_set_activate (GtkBindingSet *binding_set, 92 -- guint keyval, 93 -- GdkModifierType modifiers, 94 -- GtkObject *object); 95 -- 96 -- binding_set : 97 -- keyval : 98 -- modifiers : 99 -- object : 100 -- Returns : 101 -- 102 -- -------------------------------------------------------------------------- 103 -- 104 -- gtk_binding_entry_add 105 -- 106 -- #define gtk_binding_entry_add gtk_binding_entry_clear 107 -- 108 -- -------------------------------------------------------------------------- 109 -- 110 -- gtk_binding_entry_clear () 111 -- 112 -- void gtk_binding_entry_clear (GtkBindingSet *binding_set, 113 -- guint keyval, 114 -- GdkModifierType modifiers); 115 -- 116 -- binding_set : 117 -- keyval : 118 -- modifiers : 119 -- 120 -- -------------------------------------------------------------------------- 121 -- 122 -- gtk_binding_entry_add_signal () 123 -- 124 -- void gtk_binding_entry_add_signal (GtkBindingSet *binding_set, 125 -- guint keyval, 126 -- GdkModifierType modifiers, 127 -- const gchar *signal_name, 128 -- guint n_args, 129 -- ...); 130 -- 131 -- binding_set : 132 -- keyval : 133 -- modifiers : 134 -- signal_name : 135 -- n_args : 136 -- ... : 137 -- 138 -- -------------------------------------------------------------------------- 139 -- 140 -- gtk_binding_set_add_path () 141 -- 142 -- void gtk_binding_set_add_path (GtkBindingSet *binding_set, 143 -- GtkPathType path_type, 144 -- const gchar *path_pattern, 145 -- GtkPathPriorityType priority); 146 -- 147 -- binding_set : 148 -- path_type : 149 -- path_pattern : 150 -- priority : 151 -- 152 -- -------------------------------------------------------------------------- 153 -- 154 -- gtk_binding_entry_remove () 155 -- 156 -- void gtk_binding_entry_remove (GtkBindingSet *binding_set, 157 -- guint keyval, 158 -- GdkModifierType modifiers); 159 -- 160 -- binding_set : 161 -- keyval : 162 -- modifiers : 163 -- 164 -- -------------------------------------------------------------------------- 165 -- 166 -- gtk_binding_entry_add_signall () 167 -- 168 -- void gtk_binding_entry_add_signall (GtkBindingSet *binding_set, 169 -- guint keyval, 170 -- GdkModifierType modifiers, 171 -- const gchar *signal_name, 172 -- GSList *binding_args); 173 -- 174 -- binding_set : 175 -- keyval : 176 -- modifiers : 177 -- signal_name : 178 -- binding_args : 179 -- 180 -- -------------------------------------------------------------------------- 181 -- 182 -- gtk_binding_parse_binding () 183 -- 184 -- guint gtk_binding_parse_binding (GScanner *scanner); 185 -- 186 -- scanner : 187 -- Returns : 188 189end -- class GTK_BINDING_SET 190