Giter Club home page Giter Club logo

Comments (2)

Duff89 avatar Duff89 commented on July 16, 2024 2

Вышла новая версия, обновитесь

from parser_avito.

Genone22 avatar Genone22 commented on July 16, 2024

Когда копирую адрес с браузера для вставки в url, ничего не происходит. Это должно так быть? Как фиксить?

Для этого необходимо добавить следующий выделенный код

...
class Window(customtkinter.CTk):
def init(self):
super().init()
...
self.bind_all("<Key>", self.on_key_release, "+")
...

def on_key_release(self, event):
     ctrl = (event.state & 0x4) != 0
     if event.keycode == 88 and ctrl and event.keysym.lower() != "x":
         event.widget.event_generate("<<Cut>>")

     if event.keycode == 86 and ctrl and event.keysym.lower() != "v":
         event.widget.event_generate("<<Paste>>")

     if event.keycode == 67 and ctrl and event.keysym.lower() != "c":
         event.widget.event_generate("<<Copy>>")

     if event.keycode == 65 and ctrl and event.keysym.lower() != "a":
         event.widget.select_range(0, 'end')

Если возникнут вопросы обращайтесь...

from parser_avito.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.