tkinter Python tkinter 009 2019年4月1日 admin https://boook24.com/wp-content/uploads/2020/12/1_Primary_logo_on_transparent_344x64-1-1.png システムブック レイアウトの使用(色) 前回の続きです。 今回はtkinterのレイアウト(色)に関して見ていきます。 背景色の指定 例: btn = tkinter.Button …
tkinter Python tkinter 008 2019年3月31日 admin https://boook24.com/wp-content/uploads/2020/12/1_Primary_logo_on_transparent_344x64-1-1.png システムブック レイアウトの使用(配置) 前回の続きです。 今回はtkinterのレイアウトに関して見ていきます。 任意の位置にパーツを配置する 前回まではpack()でパーツ …
tkinter Python tkinter 007 2019年3月28日 admin https://boook24.com/wp-content/uploads/2020/12/1_Primary_logo_on_transparent_344x64-1-1.png システムブック ラジオボタンの使用 前回の続きです。 今回はtkinterを使用したラジオボタンについて見ていきます。 tk.Radiobutton() オプションvari …
tkinter Python tkinter 006 2019年3月27日 admin https://boook24.com/wp-content/uploads/2020/12/1_Primary_logo_on_transparent_344x64-1-1.png システムブック リストボックスの使用 前回の続きです。 今回はtkinterを使用したリストボックスについて見ていきます。 まずリスボックスの要素ですがこれはtkiniterのStrin …
tkinter Python tkinter 005 2019年3月25日 admin https://boook24.com/wp-content/uploads/2020/12/1_Primary_logo_on_transparent_344x64-1-1.png システムブック チェックボックスの使用 前回の続きです。 今回はtkinterを使用してチェックボックスについて見ていきます。 ①チェックボクスのチェク有無を制御するのは、B …
tkinter Python tkinter 004 2019年3月24日 admin https://boook24.com/wp-content/uploads/2020/12/1_Primary_logo_on_transparent_344x64-1-1.png システムブック ボタンの使用 前回の続きです。 今回はtkinterを使用してラベル出力および変更について見ていきます。 ボタンに関して覚えておくことは、押下時のイベント設定でし …
tkinter Python tkinter 003 2019年3月23日 admin https://boook24.com/wp-content/uploads/2020/12/1_Primary_logo_on_transparent_344x64-1-1.png システムブック ラベルの使用 前回の続きです。 今回はtkinterを使用してラベル出力および変更について見ていきます。 ラベルの値変更は ラベル変数名['text'] = …
tkinter Python tkinter 002 2019年3月22日 admin https://boook24.com/wp-content/uploads/2020/12/1_Primary_logo_on_transparent_344x64-1-1.png システムブック テキストボックスの使用 前回の続きです。 今回はtkinterを使用してテキストボックスを出力およびデータの入力、取得について見ていきます。 まずは実際にコードを …
tkinter Python tkinter 001 2019年3月21日 admin https://boook24.com/wp-content/uploads/2020/12/1_Primary_logo_on_transparent_344x64-1-1.png システムブック tkinterの起動 tkinterを起動するには以下のコードだけで起動できます。 tk.Tk()で親画面のインスタンスを生成します。 ※tikinterに関して、pyt …
tkinter Python tkinterとは 2019年3月20日 admin https://boook24.com/wp-content/uploads/2020/12/1_Primary_logo_on_transparent_344x64-1-1.png システムブック tkinter pythonでGUIアプリケーションを作成するための標準ライブラリ pythonに標準でインストールされているためImportするだけで使用可能。 GUIアプ …