ColumnsSizable returns if the user can change column widths by dragging dividers in the header.
()
| 503 | // ColumnsSizable returns if the user can change column widths by dragging |
| 504 | // dividers in the header. |
| 505 | func (tv *TableView) ColumnsSizable() bool { |
| 506 | style := win.GetWindowLong(tv.hwndNormalHdr, win.GWL_STYLE) |
| 507 | |
| 508 | return style&win.HDS_NOSIZING == 0 |
| 509 | } |
| 510 | |
| 511 | // SetColumnsSizable sets if the user can change column widths by dragging |
| 512 | // dividers in the header. |
no outgoing calls
no test coverage detected