<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Isoparametric</author_name>
  <author_url>https://blog.hatena.ne.jp/Isoparametric/</author_url>
  <blog_title>神様なんて信じない僕らのために</blog_title>
  <blog_url>https://isoparametric.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>wxPythonを使っていて、 wx.Bitmapを作る。 で、このパレットを編集したいと思う。 GetPaletteする。 中の値を new_palette = wx.Palette( color_num, red_array, green_array, blue_array ) しようとする……が動かないんだな……これが。wx.Palette(1,[1],[1],[1])なんていうのも通らない。 TypeError: in method 'new_Palette', expected argument 2 of type 'unsigned char const *' なんて言われちゃう訳…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fisoparametric.hatenablog.com%2Fentry%2F20070911%2F1189517759&quot; title=&quot;wx.Paletteの生成ができない - 神様なんて信じない僕らのために&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>2007-09-11 22:35:59</published>
  <title>wx.Paletteの生成ができない</title>
  <type>rich</type>
  <url>https://isoparametric.hatenablog.com/entry/20070911/1189517759</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
