gtk-sharp 2.6.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Accel Class Loadable keyboard accelerator specifications and groups. System.Object Method System.Void Loops over the entries in the accelerator. The data to be passed into . A function to be executed for each accel map entry which is not filtered out. Loops over the entries in the accelerator whose accel path doesn't match any of the filters added with , and exectutes on each. The signature of is that of , the changed parameter indicates wheather this accelerator was changed during runtime (thus, would need saving during an accelerator map dump). Method System.Void Parses through a file previously saved with for accelerator specifications, and propagates them accordingly. A file containing accelerator specifications. Method System.Boolean Finds the first accelerator in any . An usually a , on which to activate the accelerator. An accelerator keyval from a key event. A keyboard state mask from a key event. A returns if the accelerator was handled, and otherwise. Finds the first accelerator in any attached to that matches and , and activates that accelerator. Method System.Boolean Changes the and currently associated with . A valid accelerator path. An new accelerator key. A new accelerator modifier. A returns if other accelerators may be deleted upon conflicts. A that returns if the accelerator can be changed, and otherwise. Due to conflicts with other accelerators, a change may not always be possible, indicates wheather other accelerators may be deleted to resolve such conflicts. A changed will only occur if all conflicts could be resolved (which might not be the case if conflicting accelerators are locked). Method System.Boolean Looks up the accelerator entry for and fills in . A valid accelerator path. An accelerator key to be filled in (optional). A returns if is known, and otherwise. Method System.Void Filedescriptor variant of . An valid readable file descriptor. Note that the file descriptor will not be closed by this function. Method System.Void Registers a new accelerator with the global accelerator map. A valid accelerator path. An accelerator key. A accelerator modifier. This function should only be called once per with the canonical and for this path. To change the accelerator during runtime programatically, use . The accelerator path must consist of "<WINDOWTYPE>/Category1/Category2/.../Action", where <WINDOWTYPE> should be a unique application-specific indentifier, that corresponds to the kind of window the accelerator is being used in, e.g. "Gimp-Image", "Abiword-Document" or "Gnumeric-Settings". The Category1/.../Action portion is most appropriately chosen by the action the accelerator triggers, i.e. for accelerators on menu items, choose the items's menu path, e.g. "File/Save As", "Image/View/Zoom" or "Edit/Select All". So a valid accelerator path may look like this: "<Gimp-Toolbox>/File/Dialogs/ToolOptions..". Method System.Void Filedescriptor variant of . An valid writeable file descriptor. Note that the file descriptor will not be closed by this function. Method System.Void Loops over all the entries in the accelerator map, and executes on each. An data to be passed into the . An function to be exacuted for each accel map entry. The signature of is that of , the changed parameter indicates whether this accelerator was changed during runtime (thus, would need saving during an accelerator map dump). Method System.Void Adds a filter to the global list of accel path filters. A pattern. Accel map entries whose accel path matches one of the filters are skipped by . This function is intended for gtk-sharp modules that create their own menus but don't want them to be saved into the applications accelerator map dump. Method System.Void Saves current accelerator specifications. A file to contain accelerator specifications. Saves current accelerator specifications (accelerator path, key, modifiers to . The file is written in a format suitable to be read back in by . Constructor Method Gtk.AccelGroup[] Gets a list of all accel groups which are attached to . An usually a . An list of all accel groups which are attached to .