_Iv

u/_Iv


r/sveltejs•

Edit: Svelte/Electron question

​

I am new to Svelte. I have an intermediate background in JS, a beginner's background in React.

I picked up Svelte because I was frustrated with the bloat and boilerplate code that came with using React and Electron. So far Svelte has been working great with my Electron project.

What I am working with is sending some data in the form of a Set between two components which are both children of the same top level component.

To elaborate, I have a table where the user can select rows. The rows selected are stored in a Set. The other component is a side bar which takes the selected rows and displays information about them.

From the documentation I

512

r/Harvard•

We are transitioning to virtual classes by March 23.

Students who leave for spring break are asked not to return.

Now discouraging events of more than 25 people rather than 100.

4410

r/PySimpleGUI•

For the project I am working on, I would like to use a Button element that is drawn inside a table cell. At the moment, I am trying to do something like sg.Table([[sg.B('x')]]) and it is simply drawing 'PySimpleGUI.PySimpleGUI.Button' in the cell.

​

I am wondering if there is any ability to draw elements in the text box or if there is some limitation preventing it.

​

As an alternative, I would just simulate a table with padding elements but I am hoping to take advantage of list.append() to dynamically increase the number of buttons drawn. If there is another workaround I am missing I am open to hearing too!

​

Thanks!

13

r/PySimpleGUI•

I am working on a project with PySimpleGUI, and one of my inputs is a Spin element. I have set enable_events=True for the element, so when I click an increment arrow, I see my function run. This is all good and well.

However, I am wondering if it is possible to receive a Spin event for when the user types in a new value into the Spin element, instead of using the increment arrows.

34




r/Flagstaff•

Hey r/Flagstaff

I am looking to live in the area this upcoming summer (June-August). The goal is to maybe sublet a house or larger apartment for myself and some teammates to live in while we train through summer break.

PM me if there are any opportunities, I'd be happy to discuss rent and whatnot!

Thanks

21