Python Forum
[xbmc] How to block the code from executed twice under the loop
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[xbmc] How to block the code from executed twice under the loop
#22
(Oct-25-2016, 07:08 PM)Yoriz Wrote: Of course it makes a difference, each gui framework has its own way of doing things , its own methods ect.
Without knowing and your lack of showing enough useful code no one can have a clue whats going on.
Your coding and explanations are terrible.
Your lucky I'm wasting my time to even try and fathom out what the hell you are doing.

I'm sorry that my coding and explaition are terrible, but I am trying my best all I can do to get you to understand what I am trying to do.

If you want to take a look on my code to know what I am doing, here it is: http://pastebin.com/TZ24Bn0Y


Here is what I am trying to do: I want to get the 7 program ids from the variable called pos_X, so I can store the ids in the list. Then the next thing I want to do is to find the buttons with the follow ids that I stored in the list. I want to find what size the button1 need to change like change from 691 to 344 and if I have a button size like 167, 344 or whatever it is, I want to change the button1 size that I got it from button2. And also I want to change the button2 size that I got it from button3, change button3 size that I got the size from button4 and so on. I hope you get this now what I am trying to do.

(Oct-25-2016, 07:10 PM)metulburr Wrote: Is this what your working on? 
https://github.com/xbmc/xbmc

Yep, that is what I am working on. I am working on my own addon. Wink
Reply


Messages In This Thread
RE: How to block the code from executed twice under the loop - by chris0147 - Oct-25-2016, 07:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tkinter] messagebox is not being executed please help erwinsiuda 2 2,413 Apr-02-2020, 01:56 AM
Last Post: Larz60+
  [Tkinter] Window unresponsive when executed. fawazcode 2 3,929 Sep-11-2017, 12:29 AM
Last Post: Larz60+
  [WxPython] Which def is executed? merlem 10 8,141 Feb-10-2017, 11:28 AM
Last Post: Yoriz

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020