textctrl
wxpython textctrl How to find out where the text pointer is
I nee开发者_开发问答d to know where the text pointer (blinking line) is in the textctrl. I would also like to know if it is possible to get the entire line that the pointer is on, or if I would just h[详细]
2023-03-28 22:40 分类:问答wxPython - capturing shell output in a textctrl widget?
I\'m learning python and wxPython at the same time... :)So, I have a set of python files that run fine from the command line: ./scan -d test ~/Pictures -- for instance will create a database of my pic[详细]
2023-03-18 08:33 分类:问答Python textctrl setstyle cannot read the insertionpoint correctly
I am using python textctrl in a GUI I wrote. After I read several files, I post the contents of the file in textctrl. Since they are all in similar format, I tried to color the first several charactor[详细]
2023-03-13 04:40 分类:问答Changing the font on a wxPython TextCtrl widget
I\'d like to set the font of a wx.TextCtr开发者_StackOverflowl widget to Consolas, or at least another monospaced font. How would I go about this? font1 = wx.Font(10, wx.MODERN, wx.NORMAL, wx.NORMAL,[详细]
2023-03-01 18:21 分类:问答wxPython: TextCtrl problem
I am trying to build my first wx application I have a browse button in my panel, the user adds his file. i do some processing on the file.[详细]
2023-02-07 06:10 分类:问答How can I fix the scroll bug when using Windows rich edit controls in wxpython?
When using wx.TextCtl with the wx.TE_RICH2 option in windows, I get this strange bug with the auto-scroll when using the AppendText function. It scrolls so that all the text is above the visible area,[详细]
2022-12-30 06:23 分类:问答Getting String from A TextCtrl Box
How t开发者_高级运维o get the strings from a TextCtrl box? Here is the practice code: import wx[详细]
2022-12-15 22:15 分类:问答