Skip to content

Conversation

@csabella
Copy link
Contributor

Add TextviewFrame class to separate frame from window.

bpo-30495: IDLE: refactor textview

bpo-30495: IDLE: refactor textview

bpo-30495: IDLE: refactor textview

bpo-30495: IDLE: refactor textview
@mention-bot
Copy link

@csabella, thanks for your PR! By analyzing the history of the files in this pull request, we identified @terryjreedy, @louisom and @kbkaiser to be potential reviewers.

Copy link
Member

@terryjreedy terryjreedy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I said, "lets try TextviewWindow and TextviewFrame." Having tried them, I don't like them. ViewWindow is enough. Also, TextviewFrame should be split into a ViewFrame containing a TextFrame.

The close button should be in ViewFrame. It is currently redundant but will be needed if a Viewframe is tiled in a window, as Mark proposed for About IDLE.

I will give these a try.

@terryjreedy terryjreedy merged commit 42bc8be into python:master Jun 29, 2017
terryjreedy pushed a commit to terryjreedy/cpython that referenced this pull request Jun 29, 2017
…more tests. (pythonGH-2283)

Split TextViewer class into ViewWindow, ViewFrame, and TextFrame classes so that instances
of the latter two can be placed with other widgets within a multiframe window.
Patch by Cheryl Sabella.
(cherry picked from commit 42bc8be)
terryjreedy added a commit that referenced this pull request Jun 29, 2017
…more tests. (GH-2283) (#2496)

Split TextViewer class into ViewWindow, ViewFrame, and TextFrame classes so that instances
of the latter two can be placed with other widgets within a multiframe window.
Patch by Cheryl Sabella.
(cherry picked from commit 42bc8be)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants