This domain may be for sale!
A free source code editing component for Win32, GTK, and macOS Version 5.5.7 can prevent storing scroll position in undo selection history and adds a wrap-aware SCI_SCROLLVERTICAL API. Version 5.5.6 improves DBCS and autocompletion drawing on Win32 and improves dwell, encoding and text clipping on Qt. Version 5.5.5 can remember selection with undo and redo. Update to use DirectWrite 1.1. Version 5
The wxPython toolkit provides an alternative to using Sizers for layout that is known as “sized_controls”. These controls or widgets are basically top-level widgets (like frame, panel, dialog, etc) that have sizing logic built into them. This article will cover all four types of sized_controls. They are as follows: SizedPanel SizedScrolledPanel SizedFrame SizedDialog The SizedScrolledPanel widget
Its not possible to change the style flag after creating the control. You can either destroy the control and create a new one without the password flag, or maintain two side by side in a sizer, with one always hidden. When you want to switch you can copy the text into the other text control, Hide one and Show the other then call Layout on the sizer. import wx class Frame(wx.Frame): def __init__(se
今回は、wxPythonを使ってTwitterクライアントを作ってみた。 GUI部分はwxGladeを利用して作成し、イベント部分はeclipse + pyDevで作成してみた。 wxGladeを使うと、GUI部分が簡単にコーディング出きるし、 途中でGUI部分を変えたくなっても、 他に手動やeclipseから記述したソースが上書きされずに反映出来るので、すごく便利。 さっそくソースを。 wxTweepy2 #!/usr/bin/env python # -*- coding: utf-8 -*- # generated by wxGlade 0.6.3 on Fri Jan 13 22:50:35 2012 import wx import tweepy consumer_key = '登録したときに発行されるやつ' consumer_secret = '登録したときに発行されるやつ'
In this post, I’ll detail how to catch specific key presses and why this can be useful. This is another in my series of “requested” tutorials. There really isn’t much to catching key presses, but it can be a little confusing when one widget behaves slightly differently from another. The really complicated stuff comes in when you need to capture the EVT_CHAR. First I’ll cover the key events, wx.EVT
今回はwxGlade及びwxPythonを使ったリハビリ作の第一弾です。 既存のpingコマンドにGUIのインタフェースを付けてしまおうです。 環境設定は前回までで完了しているということで進めます。 参考(ま、お好みでどうぞ) Ubuntu 10.04 でwxPythonとwxGladeプレビュー編 Eclipse 3.6 へのPydevインストールとwxPythonのコード補完有効化 順を追って説明して行きましょう まず何よりも、どんなアプリを作りたいのか見た目やプロトタイプを作りましょう。 実際のところ、どうやってこの工程を進めるかというのは慣れや感性によると思います。wxGladeで作りやすいかどうかということもあります。慣れてくると何となくサクッと決められるようになるはずです。 今回はとりあえず以下のようなものを作ることにいたしましょう。 実際に作り始める前に、プロジェクトを作成し
GUIアプリケーションの上部に表示され、終了や保存などの様々なアクションの起点ともなるMenuBarの紹介です。本項ではMenuおよびMenuItemについても扱います。 基本的な使い方 Appendを使用してMenuを追加し、FrameのSetMenuBarにてメニューバーをセットします。 import wx application = wx.App() frame = wx.Frame(None, wx.ID_ANY, 'テストフレーム', size=(300, 200)) panel = wx.Panel(frame, wx.ID_ANY) panel.SetBackgroundColour('#AFAFAF') menu_file = wx.Menu() menu_edit = wx.Menu() menu_bar = wx.MenuBar() menu_bar.Append(me
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く