Re: [fpc-pascal]RE: force redraw on hscale

2004-04-27 Thread Marc Santhoff
Am Di, den 27.04.2004 schrieb Marc Santhoff um 19:06: [...] > > More information on the problem: > > The color update is not drawn until the window is forced to redraw! > > A testing program written in C to be sure it's not a fault of the pascal > binding teached me that. > > Now I'll try a for

Re: [fpc-pascal]RE: force redraw on hscale

2004-04-27 Thread Marc Santhoff
Am Di, den 27.04.2004 schrieb Jeff Pohlmeyer um 07:58: > > My question: how can I force a redraw on selected > > widgets or the whole window when needed? > > Maybe this will help: > > procedure UpdateWidget(w:pGtkWidget); > var > update_rect: tGdkRectangle; > begin > update_rect.x:

Re: [fpc-pascal]RE: force redraw on hscale

2004-04-27 Thread Marc Santhoff
Am Di, den 27.04.2004 schrieb Jeff Pohlmeyer um 07:58: > > My question: how can I force a redraw on selected > > widgets or the whole window when needed? > > Maybe this will help: > > procedure UpdateWidget(w:pGtkWidget); > var > update_rect: tGdkRectangle; > begin > update_rect.x:

[fpc-pascal]RE: force redraw on hscale

2004-04-26 Thread Jeff Pohlmeyer
> My question: how can I force a redraw on selected > widgets or the whole window when needed? Maybe this will help: procedure UpdateWidget(w:pGtkWidget); var update_rect: tGdkRectangle; begin update_rect.x:=0; update_rect.y:=0; update_rect.width:=w^.allocation.width; u