W

  • Voroxpete@sh.itjust.works
    link
    fedilink
    arrow-up
    5
    ·
    24 days ago

    It would probably help if you were more specific about what part of the example you’re struggling to recreate. Maybe try sharing the relevant section of your code? Talk about what this particular component is supposed to do? Context is really important to these kinds of questions.

    • Igor360@lemmy.worldOP
      link
      fedilink
      arrow-up
      0
      ·
      24 days ago

      ok. if we go into ubuntu 24.04 settings, we can see that the function switches are on rectangles (like in the picture). how can we recreate this in python? (I need the same rectangle on which I can put everything).

      • Voroxpete@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        24 days ago

        It sounds to me like you need to read through the PyGObject tutorials. If you’ve already read those, maybe try telling us exactly where you got stuck.

          • Voroxpete@sh.itjust.works
            link
            fedilink
            arrow-up
            2
            ·
            24 days ago

            And you’re solving this by getting angry at the person trying to help you?

            Learning is a process that you engage in. It’s not a thing that’s done to you. You can’t learn anything if you’re not willing to be a productive part of that process.

            I get that you’re frustrated. Learning is often frustrating. But you’re only going to magnify your frustration by turning it on other people.

              • Voroxpete@sh.itjust.works
                link
                fedilink
                arrow-up
                2
                ·
                23 days ago

                “Angry” was the charitable read. Your conveyed tone, intentional or not, was that of someone who was either talking down to their interlocutor, or frustrated that they felt they weren’t being understood. I picked “angry” because if your intention was to talk down to me, that comes off so much worse for you.

                Regardless, my previous point stands. I have asked a number of questions that you have answered in only the most minimal fashion possible. That is not the bahaviour of someone who is genuinely trying to engage in a learning process. You’re not actually making the effort, presumably because you want me to make it all for you, for free. That’s a pretty shitty way to behave, and it’s a bad way to get help with anything.