summaryrefslogblamecommitdiff
path: root/src/lib/elementary/efl_access_editable_text.eo
blob: 21c823b3f0b9977fae97b3c55ecd363fb8c63d79 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                     
 
                                         

                                    
                                      
              
                                                                                    

                 
                                       

          
                         
                                       
                 

                                                            
          
                                                                      
       
                       
                                                   
                 

                                                      
          
                                                                    
       
                      
                                                  
                 

                                                     
          
                                                                   
       
                         
                                                     
                 

                                                        
          
                                                                      
       
                        
                                      
                 
                                                          
          
                                                                     

       
 
interface Efl.Access.Editable.Text ()
{
   [[Elementary editable text interface]]
   methods {
      @property content @protected {
         [[Editable content property]]
         set {
            return: bool; [[$true if setting the value succeeded, $false otherwise]]
         }
         values {
            string: string; [[Content]]
         }
      }
      insert @protected {
      [[Insert text at given position]]
         params {
            @in string: string; [[String to be inserted]]
            @in position: int; [[Position to insert string]]
         }
         return: bool; [[$true if insert succeeded, $false otherwise]]
      }
      copy @protected {
      [[Copy text between start and end parameter]]
         params {
            @in start: int; [[Start position to copy]]
            @in end: int; [[End position to copy]]
         }
         return: bool; [[$true if copy succeeded, $false otherwise]]
      }
      cut @protected {
      [[Cut text between start and end parameter]]
         params {
            @in start: int; [[Start position to cut]]
            @in end: int; [[End position to cut]]
         }
         return: bool; [[$true if cut succeeded, $false otherwise]]
      }
      delete @protected {
      [[Delete text between start and end parameter]]
         params {
            @in start: int; [[Start position to delete]]
            @in end: int; [[End position to delete]]
         }
         return: bool; [[$true if delete succeeded, $false otherwise]]
      }
      paste @protected {
      [[Paste text at given position]]
         params {
            @in position: int; [[Position to insert text]]
         }
         return: bool; [[$true if paste succeeded, $false otherwise]]
      }
   }
}