gtk-sharp 0.0.0.0 neutral Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A base class for input method contexts. GLib.Object GLib.IWrapper System.IDisposable Method System.Void Notify the input method that the widget to which this input context corresponds has gained focus. The input method may, for example, change the displayed feedback to reflect this change. Method System.Void Notify the input method that the widget to which this input context corresponds has lost focus. The input method may, for example, change the displayed feedback or reset the contexts state to reflect this change. Method System.Boolean Asks the widget that the input context is attached to to delete characters around the cursor position by emitting the signal. a a a , if the signal was handled. Note that and are in characters not in bytes, which differs from the usage other places in . In order to use this function, you should first call to get the current context, and call this function immediately afterwards to make sure that you know what you are deleting. You should also account for the fact that even if the signal was handled, the input context might not have deleted all the characters that were requested to be deleted. This function is used by an input method that wants to make subsitutions in the existing text in response to new input. It is not useful for applications. Method System.Boolean Allow an input method to handle a . a representing a key press. if the keypress was handled. If the method returns , no further processing should be done for . Method System.Void Resets the state of the input method. Call this method if, for example, a change in cursor position has occurred. The reset clears any existing pre-edit state. Method System.Void Disposes the resources associated with the object. Constructor Internal constructor Pointer to the C object. An instance of IMContext, wrapping the C object. This is an internal constructor, and should not be used by user code. Property Gdk.Window Set the client window for the input context; this is the in which the input appears. a a The client window is used in order to correctly position status windows. It may also be used for purposes internal to the input method. Property Gdk.Rectangle Notify the input method that a change in cursor position has been made. a a The location is relative to the client window. Property System.Boolean Whether the IM context should use the preedit string to display feedback. a a If is (default is ), then the IM context may use some other method to display feedback, such as displaying it in a child of the root window. Event System.EventHandler Event fired when the preedit string is changed. Event System.EventHandler To be added Event Gtk.SurroundingDeletedHandler To be added Event Gtk.CommitHandler Commit text event. The event is emitted when the input method has processed all the keystrokes for an individual text element, including pre-edit keystrokes. The resulting text is located in Event Gtk.RetrieveSurroundingHandler To be added Event System.EventHandler To be added Method System.Void To be added a a Method System.Boolean Gets the context around the insertion point. a a a Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Boolean Default handler for the event. a a a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a a Chain to this constructor if you have manually registered a native value for your subclass. Method System.Void To be added a a a To be added Constructor Protected Constructor. a