Skip to content
  • Owen Taylor's avatar
    Add: - A ::retrieve_surrounding signal that asks the widget for context · a1fe2ac1
    Owen Taylor authored
    Thu Nov  1 16:20:56 2001  Owen Taylor  <otaylor@redhat.com>
    
    	* gtk/gtkimcontext.[ch]: Add:
    	  - A ::retrieve_surrounding signal that asks the widget for
    	    context around the insertion point.
    	  - A ::delete_surrounding signal that asks the widget to
    	    delete context aroudn the insertion point.
    	  - gtk_im_context_set_context() for widgets to set context
    	    around the insertion point in response to ::retrieve_context.
    	  - gtk_im_context_get_context() for context to get context
    	    around the insertion point
    
    	* gtkmarshal.list: Add BOOL:INT,INT
    
    	* gtk/gtkimmulticontext.c: Proxy the get_surrounding() /
    	set_surrounding() methods, and the ::retrieve_surrounding /
    	::delete_surrounding signals.
    
    	* gtk/gtkentry.c gtk/gtktreeview.c: Hook up to the
    	GtkIMContext::retrieve_surrounding / ::delete_surrounding
    	signals.
    a1fe2ac1