<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kazukifu</author_name>
  <author_url>https://blog.hatena.ne.jp/kazukifu/</author_url>
  <blog_title>Kazuki's Blog</blog_title>
  <blog_url>https://kazukifu.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>はじめに これまでの番外編でモデル層（database.py・note_model.py・schedule_model.py）のスタイル改善を完了しました。今回からビュー層の見直しに入ります。最初に取り上げるのは、月間カレンダーの表示を担当する calendar_view.py です。 このファイルはこれまでのモデル層のファイルと比べて行数が多く、特に render メソッドが約60行に及んでいます。型ヒント・docstring・Callable の具体化・メソッドの分割・tk.Label の引数整形という5つの観点から改善を行います。 1. 改善箇所 まず、改善前のコードを確認します。 改善…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazukifu.hatenablog.com%2Fentry%2F2026%2F03%2F30%2F174938&quot; title=&quot;tkinterを利用してカレンダーWidgetと予定・実績管理Widgetを統合する(番外編11 calendar_view.pyの改善：型ヒント・docstring・Callable・メソッド分割・Label引数の見直し) - Kazuki&amp;#39;s Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-03-30 17:49:38</published>
  <title>tkinterを利用してカレンダーWidgetと予定・実績管理Widgetを統合する(番外編11 calendar_view.pyの改善：型ヒント・docstring・Callable・メソッド分割・Label引数の見直し)</title>
  <type>rich</type>
  <url>https://kazukifu.hatenablog.com/entry/2026/03/30/174938</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
