Skip to main content

All Questions

Tagged with
1 vote
1 answer
82 views

Tkinter's root window recreates automatically after calling root.resizable()

Root window 'rebuilds' after calling root.resizable. This cause visual glitch, in which window looks like it was minimized and instantly normalized in around 100 msec. I tried to use withdraw + ...
MIku's user avatar
  • 89
0 votes
1 answer
339 views

Tkinter frame, how to make it resize after destroying child widgets and repopulating with new widgets

My app displays data from a sqlite database. After displaying the initial data, say 50 records when my program destroys the widgets associated with that initial display and repopulates based on a ...
user21195520's user avatar
0 votes
2 answers
189 views

How to make a window' size can be decreased to a certain size using Tkinter?

I want to make a window can be decreased to a certain size (for example 200x200) using Tkinter, but I only found that either can be resizable (using resizable() method) or not. For example from ...
Daniel's user avatar
  • 5
0 votes
1 answer
212 views

Resizable in Python Ursina Window

I want to set the Ursina window resizable to False, just like tkinter. window.resizable(False, False)
MohamadMansour's user avatar
0 votes
1 answer
48 views

How can I draw multiple resizable lines at once?

I am trying to make a notebook application that emulates ruled notebooks. As such, my starting point is to draw a vertical red line on the left and 27 horizontal blue lines that make the writing area. ...
SrBlackMax's user avatar
0 votes
0 answers
36 views

Resizable equivalent to numpy.array [duplicate]

Is there a resizable equivalent to numpy.array? Like this: my_array.append(5) As far as I know numpy.array has fixed size. list would be useless if my_array stores too much data. Any ideas?
Adam Jenča's user avatar
0 votes
0 answers
33 views

How to stop a layout in a frame from resizing when the size of the frame changes? [duplicate]

I have a frame that expands and shrinks when you click on it. It has 2 Layouts. One layout should be visible whenever the layout is expanded (the content layout), and the other one is supposed to be ...
Mergen Studios's user avatar
11 votes
3 answers
20k views

Pygame. How do I resize a surface and keep all objects within proportionate to the new window size?

If I set a pygame window to resizable and then click and drag on the border of the window the window will get larger but nothing blit onto the surface will get larger with it. (Which is understandable)...
RatstabOfficial's user avatar
0 votes
2 answers
1k views

PyGTK, how can I lock a window so it cannot be resized?

I am looking for a way to lock the window. I found window.set_resizable(False), but that resizes the window to its requested size and then locks it. I would like to be able to resize my window, and ...
linkmaster03's user avatar
  • 4,338