Re: Use button information with wxpython and FileBrowseButton Programming Software Development by vegaseat …... [code]# exploring wxPython's # wx.lib.filebrowsebutton.FileBrowseButton() import wx import wx.lib.filebrowsebutton class MyFrame(wx.Frame): def __init__(self, parent…quot;) panel = wx.Panel(self) self.fbb = wx.lib.filebrowsebutton.FileBrowseButton(panel, labelText="Select a WAVE file:", fileMask="… Use button information with wxpython and FileBrowseButton Programming Software Development by acrocephalus … to select a file with wxpython and FileBrowseButton with this code. [CODE]fbb = wxfbb.FileBrowseButton(panel,labelText="Select an image file… Re: Use button information with wxpython and FileBrowseButton Programming Software Development by acrocephalus … to browse for a directory [CODE]self.picsFolder = wx.lib.filebrowsebutton.DirBrowseButton(panel,labelText="Select your pictures directory:", size… Re: Use button information with wxpython and FileBrowseButton Programming Software Development by acrocephalus Thank you so much, I'll check it. Dani Re: Use button information with wxpython and FileBrowseButton Programming Software Development by woooee It sounds like either the screensaver or the wxPython time out (for certain types of widgets). I don't use timeout so am not familiar with it other than seeing it in the docs. Your program should allow the user a certain amount of time to choose a file, and if they haven't made a decision in say 2 or 3 minutes, exit. And you should print … Re: Use button information with wxpython and FileBrowseButton Programming Software Development by acrocephalus I'm running Ubuntu Lucid Lynx 64 bits. If I remove the "os.chdir(picsFolder)" it does not turn grey. Cheers, Dani Select a sound file and play it (wxPython) Programming Software Development by vegaseat This code snppet uses the wx.lib.filebrowsebutton.FileBrowseButton widget to pick a file, in this case a '.wav' sound file, and plays it with the wx.Sound widget. Re: Starting wxPython (GUI code) Programming Software Development by bumsfeld … or play it: [code=python]# exploring wxPython's # wx.lib.filebrowsebutton.FileBrowseButton() # use it to get wave sound file and play it…;green") panel = wx.Panel(self) self.fbb = wx.lib.filebrowsebutton.FileBrowseButton(panel, labelText="Selected WAVE file:", fileMask="*.wav… Re: Starting wxPython (GUI code) Programming Software Development by vegaseat …;green") panel = wx.Panel(self) self.fbb = wx.lib.filebrowsebutton.FileBrowseButton(panel, labelText="Browse for a WAVE file:", fileMask…(wx.SOUND_ASYNC) app = wx.App(0) mytitle = "wx.lib.filebrowsebutton.FileBrowseButton and wx.Sound" MyFrame(None, mytitle).Show() app.MainLoop… Re: Starting wxPython (GUI code) Programming Software Development by vegaseat …=wx.DefaultSize, style=0, name="staticBitmap") # wx.lib.filebrowsebutton.FileBrowseButton(parent, labelText, # fileMask) # to load and show an image file… mask ="*.gif; *.jpg; *.png; *.bmp" self.fbb = wxfbb.FileBrowseButton(self.panel, labelText="Select an image file:", fileMask… Re: Where i'm i wrong??? Programming Software Development by vegaseat …]# create a simple media player with wxPython's # wx.lib.filebrowsebutton.FileBrowseButton(parent,labelText,fileMask) # wx.media.MediaCtrl(parent, id, pos, size…;*.mpg;*.mid;*.wav;*.au;*.avi" self.fbb = wx.lib.filebrowsebutton.FileBrowseButton(self.panel, labelText="Select a media file:", fileMask… Re: browse any file as input with an interface... very urgent Programming Software Development by bumsfeld Check into: wx.lib.filebrowsebutton.FileBrowseButton(parent, labelText, fileMask) Re: browse any file as input with an interface... very urgent Programming Software Development by vegaseat For an example of the FileBrowseButton see: [url]http://www.daniweb.com/forums/post930327-114.html[/url] Re: Browse...(Pythoncard) Programming Software Development by vegaseat Not sure if PythonCard has this in its widget list. With wxPython you have to ... **import wx.lib.filebrowsebutton** Re: Select a sound file and play it (wxPython) Programming Software Development by vegaseat Just a note, the wx.lib widgets have not been adjusted to Python3 yet in the wx(Phoenix) project as of this date.