add a listbox::scroll() to scroll the view to the top or bottom
This commit is contained in:
@@ -554,7 +554,10 @@ By \a clicking on one header the list get \a reordered, first up, and then down
|
||||
listbox(window, bool visible);
|
||||
listbox(window, const rectangle& = {}, bool visible = true);
|
||||
|
||||
void auto_draw(bool); ///< Set state: Redraw automatically after an operation?
|
||||
void auto_draw(bool); ///< Set state: Redraw automatically after an operation
|
||||
|
||||
/// Scrolls the view to the first or last item of a specified category
|
||||
void scroll(size_type cat_pos, bool to_bottom);
|
||||
|
||||
/// Appends a new column with a header text and the specified width at the end, and return it position
|
||||
size_type append_header(nana::string header_text, unsigned width = 120);
|
||||
|
||||
Reference in New Issue
Block a user