diff options
Diffstat (limited to 'app/table_model.h')
-rw-r--r-- | app/table_model.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/table_model.h b/app/table_model.h index b2a07a1..82bb9af 100644 --- a/app/table_model.h +++ b/app/table_model.h @@ -40,6 +40,13 @@ class TableModel { // no bitmap. virtual SkBitmap GetIcon(int row); + // Returns the tooltip, if any, to show for a particular row. If there are + // multiple columns in the row, this will only be shown when hovering over + // column zero. + virtual std::wstring GetTooltip(int row) { + return std::wstring(); + } + // Returns true if the TableView has groups. Groups provide a way to visually // delineate the rows in a table view. When groups are enabled table view // shows a visual separator for each group, followed by all the rows in |