clan::ListViewColumnHeader Class Reference

ListView column header class. More...

#include <listview_column_header.h>

Public Member Functions

Construction
 ListViewColumnHeader ()
 
 ~ListViewColumnHeader ()
 
Operations
void set_alignment (ListViewColumnHeader::TextAlignment align)
 Set alignment. More...
 
void set_width (int width)
 Set width. More...
 
void set_caption (const std::string &str)
 Set caption. More...
 
void set_column_id (const std::string &str)
 Set column id. More...
 
Events
Callback_v1
< ListViewColumnHeader > & 
func_size_changed ()
 

Attributes

enum  TextAlignment { align_left, align_right, align_center }
 
bool is_null () const
 Returns true if this object is invalid. More...
 
void throw_if_null () const
 Throw an exception if this object is invalid. More...
 
std::string get_column_id () const
 Get Column id. More...
 
std::string get_caption () const
 Get Caption. More...
 
int get_width ()
 Get Width. More...
 
int get_used_width ()
 Returns the used width (last column expanded to the rest of the list view) More...
 
ListViewColumnHeader::TextAlignment get_alignment ()
 
ListViewColumnHeader get_next_sibling ()
 Get Next sibling. More...
 
ListViewColumnHeader get_prev_sibling ()
 Get Prev sibling. More...
 

Implementation

class ListView_Impl
 
class ListViewHeader
 
class ListViewHeader_Impl
 

Detailed Description

ListView column header class.


The documentation for this class was generated from the following file: