Nana C++ Library. Reference for users.
What we need to use nana
|
An interface of column operations. More...
Public Member Functions | |
virtual | ~column_interface ()=default |
virtual unsigned | width () const noexcept=0 |
Returns the width of the column, in pixel. More... | |
virtual void | width (unsigned pixels) noexcept=0 |
Sets width. More... | |
virtual void | width (unsigned minimum, unsigned maximum)=0 |
Automatically adjusted width. More... | |
virtual size_type | position (bool disp_order) const noexcept=0 |
Returns the position of the column. More... | |
virtual std::string | text () const noexcept=0 |
Returns the caption of column. More... | |
virtual void | text (std::string text_utf8)=0 |
Sets the caption of column. More... | |
virtual void | text_align (::nana::align align) noexcept=0 |
Sets alignment of column text. More... | |
virtual void | fit_content (unsigned maximum=0) noexcept=0 |
Adjusts the width to fit the content. More... | |
virtual void | typeface (const paint::font &column_font)=0 |
Sets an exclusive font for the column. More... | |
virtual paint::font | typeface () const noexcept=0 |
Returns a font. More... | |
virtual bool | visible () const noexcept=0 |
Determines the visibility state of the column. More... | |
virtual void | visible (bool is_visible) noexcept=0 |
Sets the visibility state of the column. More... | |
An interface of column operations.
|
virtualdefault |
|
pure virtualnoexcept |
Adjusts the width to fit the content.
The priority of max: maximum, ranged width, scheme's max_fit_content.
maximum | Sets the width of column to the maximum if the width of content is larger than maximum |
Implemented in nana::drawerbase::listbox::es_header::column.
|
pure virtualnoexcept |
Returns the position of the column.
disp_order | Indicates whether the display position or absolute position to be returned |
Implemented in nana::drawerbase::listbox::es_header::column.
|
pure virtualnoexcept |
Returns the caption of column.
Implemented in nana::drawerbase::listbox::es_header::column.
|
pure virtual |
Sets the caption of column.
text_utf8 | A UTF-8 string for the caption. |
Implemented in nana::drawerbase::listbox::es_header::column.
|
pure virtualnoexcept |
Sets alignment of column text.
align | Alignment |
Implemented in nana::drawerbase::listbox::es_header::column.
|
pure virtual |
Sets an exclusive font for the column.
Implemented in nana::drawerbase::listbox::es_header::column.
|
pure virtualnoexcept |
Returns a font.
Implemented in nana::drawerbase::listbox::es_header::column.
|
pure virtualnoexcept |
Determines the visibility state of the column.
Implemented in nana::drawerbase::listbox::es_header::column.
|
pure virtualnoexcept |
Sets the visibility state of the column.
is_visible | Indicates whether to show or hide the column |
Implemented in nana::drawerbase::listbox::es_header::column.
|
pure virtualnoexcept |
Returns the width of the column, in pixel.
Implemented in nana::drawerbase::listbox::es_header::column.
|
pure virtualnoexcept |
Sets width.
pixels | The pixels of width |
Implemented in nana::drawerbase::listbox::es_header::column.
|
pure virtual |
Automatically adjusted width.
minimum | The minimal width of column, in pixel |
maximum | The maximal width of column, in pixel |
Implemented in nana::drawerbase::listbox::es_header::column.