tkFileBrowser icon indicating copy to clipboard operation
tkFileBrowser copied to clipboard

Request: allow custom position/size of dialog

Open mtricolici opened this issue 9 months ago • 0 comments

Hi guys thanks for this awesome package.

Can you guys somehow allow us to specify custom position and size of dialog ?

So we'll not have to do monkey-patching like this:

import tkfilebrowser
from tkfilebrowser import filebrowser

_original_fb_init = filebrowser.FileBrowser.__init__

def custom_fb_init(self, *args, **kwargs):
    _original_fb_init(self, *args, **kwargs)
    self.geometry("1024x600+50+50")

filebrowser.FileBrowser.__init__ = custom_fb_init

mtricolici avatar May 03 '25 15:05 mtricolici