- 追加された行はこの色です。
- 削除された行はこの色です。
- Tkinter へ行く。
[[Python/GUI]]
- PythonでGUIアプリを作る方法【Tkinter】
-- https://wynn-blog.com/make-gui-application-with-python?
>
import tkinter
root = tkinter.Tk()
root.title("Python GUI")
root.geometry("360x240")
root.mainloop()
- python tkinterでドラッグアンドドロップ
-- https://emotionexplorer.blog.fc2.com/blog-entry-50.html
>
root.drop_target_register(DND_FILES)
root.dnd_bind('<>', drop)
- Python/Tkinter プログラミング 講座 キャンパス
-- http://bacspot.dip.jp/virtual_link/www/si.musashi-tech.ac.jp/new_www/Python_IntroTkinter/03/index-4.html
* macOS [#b3a51e38]
- https://github.com/pyenv/pyenv/issues/1375
>
PYTHON_CONFIGURE_OPTS="--with-tcltk-includes='-I/usr/local/opt/tcl-tk/include' --with-tcltk-libs='-L/usr/local/opt/tcl-tk/lib -ltcl8.6 -ltk8.6'" pyenv install 3.7.4
- pyenvのpythonでtkinterを使用する方法
-- https://qiita.com/skyloken/items/a5f839eba1bd79cd5ef9
export PATH="/usr/local/opt/tcl-tk/bin:$PATH"
export LDFLAGS="-L/usr/local/opt/tcl-tk/lib"
export CPPFLAGS="-I/usr/local/opt/tcl-tk/include"
export PKG_CONFIG_PATH="/usr/local/opt/tcl-tk/lib/pkgconfig"
export PYTHON_CONFIGURE_OPTS="--with-tcltk-includes='-I/usr/local/opt/tcl-tk/include' --with-tcltk-libs='-L/usr/local/opt/tcl-tk/lib -ltcl8.6 -ltk8.6'"