Pass Data Across Views in Python GUI (4 Solutions with Flet !)

Поділитися
Вставка
  • Опубліковано 2 гру 2024

КОМЕНТАРІ • 17

  • @jesuschavez586
    @jesuschavez586 Місяць тому

    Hey this a great video, it def helped me to get the concept, one issue Im having is if I open another window (session) I have errors like "Unknown control: offstage" or even the application frozen, is there any recommendation of how to handle the session with this? Ty

  • @_thinkORo_
    @_thinkORo_ 9 місяців тому +1

    @codingjq, I followed your modifications from the Video1 to Main branch in Github. And I found one thing that I cannot explain by myself. Would it be possible to discuss the specific loading of the view pages via discord or on another way? That would be very helpful. Thank you in advance.

    • @codingjq
      @codingjq  9 місяців тому

      I and community members happily take questions in my discord discord.gg/qDTrXf4F

  • @RAHULWADEKAR007
    @RAHULWADEKAR007 7 місяців тому +1

    Sir please make a video tutorial on flet-route

  • @alejandropoos
    @alejandropoos Рік тому +1

    Hello! Your video is very good! I want to make you a query.
    Context first: I have a list of rows that are the results of a search using a text field. In practice, I should be able to click on one of the results (1 row specifically) and it will give me all the information corresponding to that particular result. When there is only one result, everything is fine. The problem I have is when there is more than one result. The rows are generated inside a For loop, when I "export" the information for the row I clicked on, instead of giving me that information I clicked on, it gives me the last element of the For loop, which doesn't match the Row I clicked on.
    Can you help me? I understand that it's a simple problem of not being able to identify an element within an iterator like For, but I haven't been able to fix it. I already tried using indexes inside the For iterator but it didn't work as expected.
    I am looking forward to your response. Greetings from Argentina!

    • @codingjq
      @codingjq  Рік тому

      Thanks for the feedback! I’d love to help. I haven’t encountered your type of problem with Flet so I don’t have any suggestions off of the top of my head. Do you have a github link or something where I could take a look at the code? If you don’t, we can discuss it further at my discord if you like discord.gg/FwngQ9Bv . Hopefully, I can help!

  • @wonderkou
    @wonderkou Рік тому +1

    im new to flet and python and im struggling to change bgcolor for each page,can you help? im using route structure from your tutorial

    • @codingjq
      @codingjq  Рік тому

      Are you the user that came by the discord? If not, someone just asked this same question so the answer is there with code examples. Thanks for asking questions!

  • @mendezzzzz123
    @mendezzzzz123 8 місяців тому

    I have a problem with the view of the different pages, sometimes the scroll on views, is not working, I appreciate any guidance in this case

  • @Eduardo-ug9ui
    @Eduardo-ug9ui Рік тому

    Podrías hacer un vídeo de como corregir un pequeño bug que tengo el cual es que al usar un bottom navigation bar junto a un textfield al abrir el teclado sube el bottom navigation también y quiero que no se muestre. Agradecería si se pudiera y puedes ayudar.

    • @codingjq
      @codingjq  Рік тому

      Creo que en mi discord discord.gg/H2K3pZHZ hay un persona que tenia el mismo problema. El no habla espanol pero con google tradduccion tal vez pueden comunicar

  • @codingjq
    @codingjq  Рік тому

    Wouldn't it be cool if you press like on this video so that I know to make more of them?

  • @nothing8439
    @nothing8439 8 місяців тому

    Bro how to add cryptography module in flet requirements.txt file

    • @codingjq
      @codingjq  7 місяців тому

      pip install pycrypto
      pip freeze > requirements.txt

    • @nothing8439
      @nothing8439 7 місяців тому

      @@codingjq but its not working bro in the flet documentation cryptography module is an native python pacakge so we do additional steps but I can't understand clearly.please can you make the video for how to package and build apk with native python pacakges like cryptography,numpy...

  • @syleishere
    @syleishere 8 місяців тому

    Personally I make it alot simpler, create empty config class and just pass that around to everything

    • @codingjq
      @codingjq  8 місяців тому

      For a smaller project, I like that. I think people working on bigger projects should consider keeping state as a singleton so that on app load, you can load state (or config) from a save file or db.