Proxy of C++ linearray_t class.  
|  | 
|  | __init__ (self, "void *" _ud) | 
|  | init(self, _ud) -> linearray_t 
 | 
|  | 
| "int" | set_place (self, "place_t" new_at) | 
|  | set_place(self, new_at) -> int Position the array. 
 | 
|  | 
| "place_t *" | get_place (self) | 
|  | get_place(self) -> place_t Get the current place. 
 | 
|  | 
| "bgcolor_t" | get_bg_color (self) | 
|  | get_bg_color(self) -> bgcolor_t Get current background color. 
 | 
|  | 
| "bgcolor_t" | get_pfx_color (self) | 
|  | get_pfx_color(self) -> bgcolor_t Get current prefix color. 
 | 
|  | 
| "int" | get_dlnnum (self) | 
|  | get_dlnnum(self) -> int Get default line number. 
 | 
|  | 
| "int" | get_linecnt (self) | 
|  | get_linecnt(self) -> int Get number of lines for the current place. 
 | 
|  | 
| "void *" | userdata (self) | 
|  | userdata(self) -> void * Get pointer to user data. 
 | 
|  | 
| "void" | set_userdata (self, "void *" userd) | 
|  | set_userdata(self, userd) Change the user data. 
 | 
|  | 
| "bool" | beginning (self) | 
|  | beginning(self) -> bool Are we at the beginning? 
 | 
|  | 
| "bool" | ending (self) | 
|  | ending(self) -> bool 
 | 
|  | 
| "qstring const *" | down (self) | 
|  | down(self) -> qstring const * Get a line from down direction. 
 | 
|  | 
| "qstring const *" | up (self) | 
|  | up(self) -> qstring const * Get a line from up direction. 
 | 
|  | 
|  | 
|  | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") | 
|  | 
◆ __init__()
      
        
          | __init__ | ( |  | self, | 
        
          |  |  | "void *" | _ud ) | 
      
 
 
◆ beginning()
◆ down()
      
        
          | "qstring const *" down | ( |  | self | ) |  | 
      
 
 
◆ ending()
◆ get_bg_color()
      
        
          | "bgcolor_t" get_bg_color | ( |  | self | ) |  | 
      
 
 
◆ get_dlnnum()
◆ get_linecnt()
      
        
          | "int" get_linecnt | ( |  | self | ) |  | 
      
 
 
◆ get_pfx_color()
      
        
          | "bgcolor_t" get_pfx_color | ( |  | self | ) |  | 
      
 
 
◆ get_place()
      
        
          | "place_t *" get_place | ( |  | self | ) |  | 
      
 
If called before down(), then returns place of line which will be returned by down(). If called after up(), then returns place if line returned by up(). 
 
 
◆ set_place()
      
        
          | "int" set_place | ( |  | self, | 
        
          |  |  | "place_t" | new_at ) | 
      
 
This function must be called before calling any other member functions.
linearray_t doesn't own place_t structures. The caller must take care of place_t objects.
- Parameters
- 
  
    | new_at | (C++: const place_t *) new position of the array |  
 
- Returns
- : the delta of lines that the linearray_t had to adjust the place by. For example, if the place_t has a lnnum of 5, but it turns out, upon generating lines, that the number of lines for that particular place is only 2, then 3 will be returned. 
 
 
◆ set_userdata()
      
        
          | "void" set_userdata | ( |  | self, | 
        
          |  |  | "void *" | userd ) | 
      
 
 
◆ up()
      
        
          | "qstring const *" up | ( |  | self | ) |  | 
      
 
 
◆ userdata()
      
        
          | "void *" userdata | ( |  | self | ) |  | 
      
 
 
◆ thisown
  
  | 
        
          | thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") |  | static | 
 
 
The documentation for this class was generated from the following file: