<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Megumi221</author_name>
  <author_url>https://blog.hatena.ne.jp/Megumi221/</author_url>
  <blog_title>理想のユーザ・インターフェイスを求めて</blog_title>
  <blog_url>https://ideal-user-interface.hatenablog.com/</blog_url>
  <categories>
    <anon>wxPython</anon>
  </categories>
  <description>プルダウンメニューから項目を選ばせたいとき、wxChoiceを使うことができる。こういうやつね。 このwxChoiceの項目を、動的に変える方法を考える。アプリを起動してから終了させるまで、項目を変える必要がないなら何もしなくても良いが、ある操作によって選ばせる項目（リスト）が変わるとき、どう対処するかということ。 基本ケース 変化前と変化後のリストの個数が同じ場合を、まず考える。例としては下のようなものがある。 この例では、3個の項目がある。リストとして、最初['1-1', '1-2', '1-3']だったものを、上のラジオボタンで「choice 2」を選ぶと、項目が['2-1', '2-2…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fideal-user-interface.hatenablog.com%2Fentry%2F20110728%2F1311860670&quot; title=&quot; wxChoiceの項目を操作に応じて変えたい場合の対処法を考える - 理想のユーザ・インターフェイスを求めて&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>https://cdn-ak.f.st-hatena.com/images/fotolife/M/Megumi221/20110728/20110728224240.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-07-28 22:44:30</published>
  <title> wxChoiceの項目を操作に応じて変えたい場合の対処法を考える</title>
  <type>rich</type>
  <url>https://ideal-user-interface.hatenablog.com/entry/20110728/1311860670</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
