About 464,000 results
Open links in new tab
  1. wx.FileDialogwxPython Phoenix 4.2.3 documentation

    The typical usage for the open file dialog is: def OnOpen ( self , event ): if self . contentNotSaved : if wx . MessageBox ( "Current content has not been saved!

  2. wx.filedialog - Python Tutorial

    Using wxPython, the method to call and create a file dialog is wx.FileDialog(). The signature for this method includes parameters like the parent, message, default directory, default file, wildcard patterns, styles, and position:

  3. wxpython - wx.FileDialog open single file - Stack Overflow

    Mar 2, 2014 · I'm running wxPython version 3.0.0.0 on OSX 10.9.2. I want to force single file selection in wx.FileDialog. According to the doc not adding wx.MULTIPLE style will do. I have tried all combinations of style and none worked ! any idea ? app = wx.App (...

  4. How to create a file browser in wxpython - Stack Overflow

    Mar 24, 2015 · Then just bind the open button to a handler that will show the dialog. You might also want to take a look at the FileBrowseButton from wx.lib.filebrowsebutton (also in the demo). There are a few other related widgets which you might be interested in too: wx.DirDialog , MultiDirDialog or wx.GenericDirDialog .

  5. wx.Dialog Class in wxPython - Online Tutorials Library

    Learn about the wx.Dialog class in wxPython, its methods, properties, and how to create dialog windows in your applications.

  6. wxpython, open file and display text into textctrl area

    Apr 12, 2013 · I have an "open" in my file menu, and i am trying to get it so that when i open a file, the text in the file will be shown in my multiline textctrl box. I have tried a few bits such as WriteText() and SetValue() but can't get it to display.

  7. Top 8 Ways to Prompt a File Dialog in Python - sqlpey

    Nov 6, 2024 · Explore various methods to open a file selection dialog in Python without a complex UI. Quick guide for efficient file handling.

  8. wxPython控件学习之wx.FileDialog - |残阳|露 - 博客园

    Oct 28, 2012 · 1. wx.FileDialog 允许用户从系统的文件中选择一个或者多个文件。 支持通配符,可以让用户选择关心的文件。 例如: "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"只会显示和选择图片后缀类型是bmp 和gif。 2. Window Styles. 3. 方法集: parent:父窗口。 messale:显示在文件对话框的标题, defaultDir默认文件夹,defaultFile默认文件,wildcard匹配通配 …

  9. wx.FileDialog — wxPython Phoenix 4.2.3a1 documentation

    The wildcard determines what files are displayed in the file selector, and file extension supplies a type extension for the required filename. The typical usage for the open file dialog is: def OnOpen ( self , event ): if self . contentNotSaved : if wx .

  10. The Dialogs of wxPython (Part 1 of 2) - Mouse Vs Python

    Jun 26, 2010 · Opening files and folders with wxPython is a breeze! It includes wrappers for the native dialogs and also includes a pure python implementation for selecting multiple folders (i.e. directories) at the same time.

  11. Some results have been removed
Refresh