Callback for when a ChatBox line gets right-clicked and line accessors

  • 16 Replies
  • 3478 Views
Re: Callback for when a ChatBox line gets right-clicked and line accessors
« Reply #15 on: 19 September 2013, 13:50:21 »
Rename to getLineAmount?
Reasoning:
- getWidgets returns a container of widgets.
- getLines would return a container of lines.

*

texus

  • *****
  • 1588
    • View Profile
    • Texus's Blog
Re: Callback for when a ChatBox line gets right-clicked and line accessors
« Reply #16 on: 19 September 2013, 13:53:12 »
Actually I realized that too, I just couldn't find a better name than getLines.
I was thinking about things like getNumberOfLines or getAmountOfLines but I didn't like them. But getLineAmount should do.