Re: BGOK X-Y chart changes problem



Here are the news :

This only works if the model don't change at all. It just adds a
descriptor which descibe how to display the line.

addLine: myBG_ChartDataSetDescription toMyChartNamed: aSymbol
| widget newArray |
widget := self widgetAt: aSymbol.
newArray := widget descriptors copyWith: myBG_ChartDataSetDescription.
widget descriptors: newArray.
self mainWindow display.
^self

.



Relevant Pages

  • Re: BGOK X-Y chart changes problem
    ... descriptor which descibe how to display the line. ... widget:= self widgetAt: aSymbol. ... instead of redisplaying the whole window, but I guess that only works if the interior layout of the window stays the same after adding your line. ...
    (comp.lang.smalltalk)
  • Fast text display?
    ... As a hobby project, I'm writing a MUD client -- this scratches an itch, and is also a good excuse to become familiar with the Python language. ... I have a conceptual handle on most of the implementation, but the biggest unknown for me is the seemingly trivial matter of text display. ... I'm not even sure where to start looking to see if a widget that does this has been premade -- the text widgets that I've seen so far have all had documentation geared more towards text editing than pure display. ... In a worst-case scenario, I could try writing a widget-lite with SDL or possibly an OpenGL texture, but if a widget somewhere will already do this then it'd be needless work. ...
    (comp.lang.python)
  • Re: C vs Tcl again...
    ... display the canvas widget is definitely fast ... you mentioned that you may want to display millions ... The beauty is that a 'custom' widget in another language can be called ...
    (comp.lang.tcl)
  • Applying text tags to open channel
    ... to improve the display by adding coloring to specific terms. ... I'm having some difficulty with tags in the text widget. ... My strategy is to regsub the specific term with the term + the tag ... regsub html $data [list html htmltag] ...
    (comp.lang.tcl)
  • Re: Applying text tags to open channel
    ... to improve the display by adding coloring to specific terms. ... I'm having some difficulty with tags in the text widget. ... My strategy is to regsub the specific term with the term + the tag ... regsub html $data [list html htmltag] ...
    (comp.lang.tcl)