[issue27477] IDLE: Switch dialogs to ttk widgets.

2016-07-29 Thread Mark Roseman

Mark Roseman added the comment:

Great start. Needs to have a ttk.Frame directly inside the toplevel window to 
avoid whitespace showing around grey widgets (like in query dialog shot). 

I'd also like to see the spacing adjusted (all platforms) and button positions 
changed on Mac to go at the bottom, as per 
http://www.tkdocs.com/tutorial/idle.html#idledialogs

Open to a patch that does that?

--
nosy: +markroseman

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27477] IDLE: Switch dialogs to ttk widgets.

2016-07-10 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 91fe65e3d7bb by Terry Jan Reedy in branch 'default':
Issue #27477: Convert IDLE search dialogs to using ttk widgets.
https://hg.python.org/cpython/rev/91fe65e3d7bb

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27477] IDLE: Switch dialogs to ttk widgets.

2016-07-10 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
keywords: +patch
Added file: http://bugs.python.org/file43680/ttk-search.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27477] IDLE: Switch dialogs to ttk widgets.

2016-07-10 Thread Terry J. Reedy

New submission from Terry J. Reedy:

Scrollbars and the new query module now use ttk widgets.  Time to convert the 
other dialogs.

Changing imports is straightforward.

Use of an option that can only be changed in the style may be harder.  There 
was one instance of this among the scrollbars (converted in #24750) and I just 
skipped the minor tweak, and let the scrollbar in question look like all the 
rest.

The most difficult issue is changes in allowed methods.  For instance, the 
state of tk checkbuttons and radiobuttons can be controlled by either setting a 
control variable or by calling methods.  For ttk, the methods are gone. 

First are the search dialog modules: searchbase, search, replace, and grep.  
The tk-only 'anchor' option is used but has no effect since the 'width' option 
is not used to allocate extra space for the buttons.  The tk-only select method 
is used, but at least in searchbase, it has no effect, as it always sets the 
button to the state it already had.  Its use in test files, however, has to be 
replaced, not deleted.

IDLE does not control the common dialogs.  But we could choose to replace them, 
 I would not do that for the os file dialogs, but already replaced the 'ask' 
messagebox used for Open Module for behavioral reasons (#27380).

--
messages: 270131
nosy: terry.reedy
priority: normal
severity: normal
stage: needs patch
status: open
title: IDLE: Switch dialogs to ttk widgets.
type: enhancement
versions: Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com