Merge branch 'Dev-latest' of https://github.com/PySimpleGUI/PySimpleGUI into Dev-latest
This commit is contained in:
commit
39dcf1c551
|
@ -0,0 +1,2 @@
|
|||
# These are supported funding model platforms
|
||||
custom: ["https://www.paypal.me/psgui"]
|
|
@ -0,0 +1 @@
|
|||
blank_issues_enabled: false
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
name: Issue Form - Must fill in this form with every new issue submitted
|
||||
name: Issue Form - **Must fill in this form** with every new issue submitted.
|
||||
about: This form contains the information needed to help you solve your problem
|
||||
title: "[ Enhancement/Bug/Question] My problem is..."
|
||||
labels: ''
|
||||
|
@ -15,11 +15,34 @@ assignees: ''
|
|||
|
||||
### PySimpleGUI Port and Version
|
||||
|
||||
Ports = tkinter, Qt, WxPython, Web
|
||||
|
||||
PySimpleGUI Version:
|
||||
|
||||
tkinter version:
|
||||
|
||||
You can get these by adding this to the top of your file and running it:
|
||||
|
||||
```python
|
||||
import PySimpleGUI as sg
|
||||
|
||||
print(sg) # Location of your PySimpleGUI.py file
|
||||
print(sg.version) # PySimpleGUI version number
|
||||
print(sg.tclversion_detailed) # tkinter detailed version number (in PySimpleGUI version 4.29.0+)
|
||||
print(sg.sys.version) # Python version number
|
||||
```
|
||||
|
||||
The tkinter version number can be obtained using above code in version 4.29.0+. If your code is prior:
|
||||
```python
|
||||
print(sg.tkinter.Tcl().eval('info patchlevel'))
|
||||
```
|
||||
|
||||
|
||||
### Your Experience Levels In Months or Years
|
||||
|
||||
_________ Python programming experience
|
||||
_________ Programming experience overall
|
||||
_________ Have used another Python GUI Framework (tkiner, Qt, etc) previously (yes/no is fine)?
|
||||
_________ Have used another Python GUI Framework (tkinter, Qt, etc) previously (yes/no is fine)?
|
||||
|
||||
### You have completed these steps:
|
||||
|
||||
|
@ -30,6 +53,21 @@ _________ Have used another Python GUI Framework (tkiner, Qt, etc) previously (y
|
|||
- [ ] Note that there are also Demo Programs under each port on GitHub
|
||||
- [ ] Run your program outside of your debugger (from a command line)
|
||||
- [ ] Searched through Issues (open and closed) to see if already reported
|
||||
- [ ] Try again by upgrading your PySimpleGUI.py file to use the current one on GitHub. Your problem may have already been fixed but is not yet on PyPI.
|
||||
|
||||
### Description of Problem / Question / Details
|
||||
|
||||
|
||||
### Code or partial code causing the problem
|
||||
### Code To Duplicate
|
||||
|
||||
A short program that isolates and demonstrates the problem (i.e. please don't paste a link to your 400 line program.... instead paste your 10 line program in full).
|
||||
|
||||
Yes, it is a pain to narrow down problems, but it's part of the debugging process. Help me help you by providing something that can be executed so that work on getting you a fix or a workaround can immediately begin.
|
||||
|
||||
This pre-formatted code block is all set for you to paste in your bit of code:
|
||||
|
||||
```python
|
||||
import PySimpleGUI as sg
|
||||
|
||||
## Paste your code here
|
||||
```
|
||||
|
|
|
@ -1,16 +1,3 @@
|
|||
## Pull Request Instructions
|
||||
|
||||
**Pull requests are not currently accepted for for core code which are these files:**
|
||||
|
||||
* PySimpleGUI.py
|
||||
* PySimpleGUIQt.py
|
||||
* PySimpleGUIWx.py
|
||||
* PySimpleGUIWeb.py
|
||||
|
||||
The bandwidth required to review and merge these changes simply isn't there. Because PySimpleGUI core files are a single file,
|
||||
ALL submitted pull requests required a manual merge of the code.
|
||||
|
||||
If you have code that you believe will fix a problem in the core code, post it in the Issue that discusses the problem.
|
||||
This has worked well in the past as it enables the community to see the proposed changes.
|
||||
|
||||
Pull Requests for the Demo Files are being accepted and are welcomed.
|
||||
**Pull requests are not currently accepted for the project including the core PySimpleGUI code, the Demo Programs and documentation **
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
|||
theme: jekyll-theme-hacker
|
|
@ -0,0 +1 @@
|
|||
theme: jekyll-theme-minimal
|
|
@ -5601,7 +5601,7 @@ Here is ***some*** of the code patterns you'll find when looking through the dem
|
|||
```python
|
||||
import PySimpleGUI as sg
|
||||
|
||||
# Design pattern 2 - First window remains active
|
||||
# Design pattern 1 - First window remains active
|
||||
|
||||
layout = [[ sg.Text('Window 1'),],
|
||||
[sg.Input(do_not_clear=True)],
|
||||
|
@ -5617,7 +5617,7 @@ while True:
|
|||
if ev1 == sg.WIN_CLOSED or ev1 == 'Exit':
|
||||
break
|
||||
|
||||
if not win2_active and ev1 == 'Launch 2':
|
||||
if not win2_active and ev1 == 'Launch 2':
|
||||
win2_active = True
|
||||
layout2 = [[sg.Text('Window 2')],
|
||||
[sg.Button('Exit')]]
|
||||
|
@ -5636,7 +5636,7 @@ while True:
|
|||
```python
|
||||
import PySimpleGUIQt as sg
|
||||
|
||||
# Design pattern 1 - First window does not remain active
|
||||
# Design pattern 2 - First window does not remain active
|
||||
|
||||
layout = [[ sg.Text('Window 1'),],
|
||||
[sg.Input(do_not_clear=True)],
|
||||
|
@ -8640,4 +8640,5 @@ To be clear, this is not a solicitation for your money. No one is being directl
|
|||
|
||||
All documentation in this file and in the PySimpleGUI GitHub account are copyright 2021 by PySimpleGUI Inc. The PySimpleGUI code, the demo programs and other source code in the PySimpleGUI account also have a copyright owned by PySimpleGUI Inc.
|
||||
|
||||
The name "PySimpleGUI" and the PySimpleGUI logo are Trademarked
|
||||
The name "PySimpleGUI" and the PySimpleGUI logo are Trademarked
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ WxPython
|
|||
|
||||
# PySimpleGUIとは何ですか:question:
|
||||
|
||||
PySimpleGUIはあらゆるレベルのPythonプログラマがGUIを作成できるようにするPythonパッケージです。ウィジェットを含む 「レイアウト」を使用して GUI ウィンドウを指定します (PySimpleGUI では「エレメント」と呼びます)。 レイアウトはサポートされている4つのフレームワークのいずれかを使用してウィンドウを作成して、ウィンドウの表示や操作するのに使用されます。 ササポートされるフレームワークは、tkinter、Qt、WxPython、WxPythonまたはRemiが含まれます。このようなパッケージには「ラッパー」という用語が使われることがあります。
|
||||
PySimpleGUIはあらゆるレベルのPythonプログラマがGUIを作成できるようにするPythonパッケージです。ウィジェットを含む 「レイアウト」を使用して GUI ウィンドウを指定します (PySimpleGUI では「エレメント」と呼びます)。 レイアウトはサポートされている4つのフレームワークのいずれかを使用してウィンドウを作成して、ウィンドウの表示や操作するのに使用されます。 サポートされるフレームワークは、tkinter、Qt、WxPython、WxPythonまたはRemiが含まれます。このようなパッケージには「ラッパー」という用語が使われることがあります。
|
||||
|
||||
PySimpleGUIは「ボイラープレートコード」の多くを実装しているため、基となるフレームワークで直接記述するよりも単純で短かいコードになります。
|
||||
さらにインターフェイスは、望んだ結果を得るために必要なコードをできるだけ少なくするように単純化されています。使用するプログラムやフレームワークにもよりますが、PySimpleGUIでのプログラムはフレームワークのいずれかを直接使用して同じウィンドウを作成するよりも、コードの量は1/2から1/10程度になる場合があります。
|
||||
|
|
Loading…
Reference in New Issue