Example #1
0
        public string GetTextBeforeOffset(int offset, Atk.TextBoundary boundaryType, out int startOffset, out int endOffset)
        {
            string ret =
                textExpert.GetTextBeforeOffset(offset, boundaryType, out startOffset, out endOffset);

            return(ret);
        }
Example #2
0
 static IntPtr GetTextBeforeOffset_cb(IntPtr inst, int offset, int boundary_type, out int start_offset, out int end_offset)
 {
     try {
         ITextImplementor __obj = GLib.Object.GetObject(inst, false) as ITextImplementor;
         string           __result;
         __result = __obj.GetTextBeforeOffset(offset, (Atk.TextBoundary)boundary_type, out start_offset, out end_offset);
         return(GLib.Marshaller.StringToPtrGStrdup(__result));
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, true);
         // NOTREACHED: above call does not return.
         throw e;
     }
 }
Example #3
0
 public string GetTextBeforeOffset(int offset, Atk.TextBoundary boundaryType, out int startOffset, out int endOffset)
 {
     return(text_helper.GetTextBeforeOffset(offset, boundaryType, out startOffset, out endOffset));
 }