Describes the update of a display (or a part of it, like a program window) to show the latest version of the data.
Questions tagged [redraw]
385 questions
2
votes
5 answers
Fix display garbage left by WPF dialog window?
In my WPF app, I have WPF windows that can open other WPF dialog windows, which I do as follows:
PickForEveryone PickForEveryoneWindow = new PickForEveryone(sSelRecipe, selMRM.sDay, selMRM.MealTypeID);
PickForEveryoneWindow.Owner =…

Dronz
- 1,970
- 4
- 27
- 50
2
votes
0 answers
Gridview does not redraw/update after notifyDataSetChanged()
I'm trying to learn to implement an endlessscrolllistener for an assignment in a free Android course that I'm following on Coursera. The main problem I'm running into is that my Gridview doesn't update when I try to run notifyDataSetChanged(); in…

Dave
- 21
- 3
2
votes
2 answers
Redrawing CGContext after it's already been drawn in Swift?
I am trying to make a simple single view app for my own practice, but I ran into a problem and haven't got around this problem for past couple of days.
Screenshot of the current program
Basically, when I press any of these style buttons or adjust…

whgnsdlr7
- 77
- 2
- 9
2
votes
1 answer
Speeding up WPF resizing/redrawing
Im noticing a black area displays when resizing even an empty WPF window. Alot of programs on my desktop dont have these issues.. So im wondering, is there a way to set a resize redraw priority or something, and speed up the resizing of WPF windows?…

caesay
- 16,932
- 15
- 95
- 160
2
votes
1 answer
Visual C++ How to redraw image in CView with CPaintDC, CDC
I use Visual Studio 2015, working with MFC Multiple document Application (Ribbon Style).
I'm trying to add a png images to CView and make a slideshow using WM_TIMER.
First I made dialog based application with the same purpose, it works perfectly.…

Nika_Rika
- 613
- 2
- 6
- 29
2
votes
1 answer
UICollectionView inside a container view
desc:
i have a view controller that holds a collection view with 7 cells inside of it. when i display this controller, all works fine and it displays perfectly (controller A).
on another controller (controller B) i have a container view that embeds…

Max
- 799
- 1
- 5
- 17
2
votes
0 answers
D3.js Redraw when select a node and center it Force layout
everyone
I was trying to make Force layout that selection node always at the center and the whole graph redraw. I current now set 1 node as a "root" and fix it to the center but i am stuck there. My current approach
Psuedo…

Loredra L
- 1,485
- 2
- 16
- 32
2
votes
0 answers
Jupyter/ipython notebook : how to prevent plot redraw using interactive widget
I am struggling to have construct an interactive tool in jupyter notebook. Based on the discussion here : IPython Notebook widgets for Matplotlib interactivity, I've build the following example:
%matplotlib notebook
import matplotlib.pyplot as…

sweetdream
- 1,321
- 15
- 16
2
votes
1 answer
How to clear gtk, goocanvas surface?
I'm using goocanvas to draw a simple diagram on a GTK frame and diagram dimensions are based on the values on same window. The diagram should change it's dimensions in real time, when the user changes the values on the interface using spinner…

inckka
- 345
- 7
- 21
2
votes
1 answer
How to redraw a view? (OpenGl)
I want to create a kind of a simulation. It should display the certain position of a fish/shark/orca (not real ones, they are set up randomly). My Simulation can display the starting situation:
glOrtho(0, breite, 0, hoehe, 0, 1);
glClearColor(0, 0,…

Marcel
- 53
- 6
2
votes
2 answers
Repaint NSView when mainWindow changes
I would like to change the background of an NSView depending on if the the window is focused.
I found this question: Change NSView background color when window has focus
And the first answer works fine except the redraw is not triggered when the…

Laszlo Korte
- 1,179
- 8
- 17
2
votes
1 answer
What is jQuery event on window redraw?
I found in this sample code the jQuery event redraw:
$(window).on("redraw",function(){ [SOME CODE] });
I did not found any documentation about it in the jQuery site, nor in any JS tutorial or reference.
What is it?

Giacomo Paita
- 1,411
- 2
- 12
- 21
2
votes
0 answers
How do I redraw multiple child views at the same time?
I have an Android game with a GridLayout that contains a custom ImageView in each of its cells. At certain points in this game I want to redraw several of these ImageViews at the same time (not sequentially).
If I call invalidate() on the parent…

Chamatake-san
- 551
- 3
- 10
2
votes
2 answers
How to keep Java Frame from waiting?
I am writing a genetic algorithm that approximates an image with a polygon. While going through the different generations, I'd like to output the progress to a JFrame. However, it seems like the JFrame waits until the GA's while loop finishes to…

pypmannetjies
- 25,734
- 7
- 39
- 49
2
votes
1 answer
Is there a redraw-event for HTML5's canvas element?
As the title says, I need a notification when the content of a canvas element was redrawn.
Is this possible?
If not, a notification when the whole page was redrawn would also be ok (reDRAWN not reLOADED!).
The reason why I need this is that I want…

Timo Ernst
- 15,243
- 23
- 104
- 165