| 
    wex
    v21.04.0
    
   | 
 
Offers user data to be used by listview. More...
#include <wex/listview-data.h>
Public Types | |
| enum | type_t {  FOLDER , FIND , HISTORY , KEYWORD , FILE , TSV , NONE }  | 
| The supported lists.  More... | |
| enum | image_t { } | 
| Which images to use.  More... | |
| enum | { MENU_REPORT_FIND = 0 , MENU_TOOL = 1 } | 
| Menu flags, they determine how the context menu will appear.  More... | |
Public Member Functions | |
| listview (core::listview *lv=nullptr) | |
| Default constructor.  | |
| listview (core::listview *lv, const data::listview &r) | |
| Copy constructor.  | |
| listview (data::control &data, core::listview *lv=nullptr) | |
| Constructor from control data.  | |
| listview (data::window &data, core::listview *lv=nullptr) | |
| Constructor from window data.  | |
| listview & | operator= (const data::listview &r) | 
| Assignment operator.  | |
| const auto & | control () const | 
| Returns control data.  | |
| listview & | control (data::control &data) | 
| Sets control data.  | |
| const auto & | image () const | 
| Returns image type.  | |
| listview & | image (image_t type) | 
| Sets image type.  | |
| bool | inject () | 
| injects data.  | |
| const auto & | lexer () const | 
| Returns lexer.  | |
| listview & | lexer (const wex::lexer *lexer) | 
| Sets lexer.  | |
| const auto & | menu () const | 
| Returns menu flags.  | |
| listview & | menu (menu_t flags, data::control::action_t action=data::control::SET) | 
| Sets menu flags.  | |
| const auto & | type () const | 
| Returns type.  | |
| listview & | type (type_t type) | 
| Sets type.  | |
| const std::string | type_description () const | 
| Returns the list type as a string.  | |
| const auto & | window () const | 
| Returns window data.  | |
| listview & | window (data::window &data) | 
| Sets window data.  | |
Offers user data to be used by listview.
| anonymous enum |