add header_width() methods for getting/setting header width.

This commit is contained in:
Jinhao
2015-04-12 23:28:48 +08:00
parent e84b5ff78a
commit 6ba23bb6c3
2 changed files with 28 additions and 3 deletions

View File

@@ -474,6 +474,8 @@ By \a clicking on a header the list get \a reordered, first up, and then down al
void auto_draw(bool); ///<Set state: Redraw automatically after an operation?
void append_header(nana::string, unsigned width = 120);///<Appends a new column with a header text and the specified width at the end
listbox& header_width(size_type pos, unsigned pixels);
unsigned header_width(size_type pos) const;
cat_proxy append(nana::string); ///<Appends a new category at the end
void append(std::initializer_list<nana::string>); ///<Appends categories at the end