[GH-ISSUE #310] Page count #237

Closed
opened 2026-03-04 01:03:13 +03:00 by kerem · 1 comment
Owner

Originally created by @lenormf on GitHub (Jun 17, 2019).
Original GitHub issue: https://github.com/rivo/tview/issues/310

Hi,

It'd be nice to have access to the page count, something like the following:

func (pages *Pages) Count() int {
    return len(pages.pages)
}

HTH.

Originally created by @lenormf on GitHub (Jun 17, 2019). Original GitHub issue: https://github.com/rivo/tview/issues/310 Hi, It'd be nice to have access to the page count, something like the following: ```go func (pages *Pages) Count() int { return len(pages.pages) } ``` HTH.
kerem closed this issue 2026-03-04 01:03:13 +03:00
Author
Owner

@rivo commented on GitHub (Jun 26, 2019):

See GetPageCount().

<!-- gh-comment-id:505878497 --> @rivo commented on GitHub (Jun 26, 2019): See `GetPageCount()`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tview#237
No description provided.