(buf *bytes.Buffer)
| 835 | } |
| 836 | |
| 837 | func (wb *WindowBase) writePath(buf *bytes.Buffer) { |
| 838 | hWndParent := win.GetAncestor(wb.hWnd, win.GA_PARENT) |
| 839 | if pwi := windowFromHandle(hWndParent); pwi != nil { |
| 840 | if sv, ok := pwi.(*ScrollView); ok { |
| 841 | pwi = sv.Parent() |
| 842 | } |
| 843 | pwi.AsWindowBase().writePath(buf) |
| 844 | buf.WriteByte('/') |
| 845 | } |
| 846 | |
| 847 | buf.WriteString(wb.name) |
| 848 | } |
| 849 | |
| 850 | func (wb *WindowBase) path() string { |
| 851 | buf := bytes.NewBuffer(nil) |
no test coverage detected