Re: [fltk.general] Help with Fl_Pack and Fl_Scroll

2012-09-27 Thread Greg Ercolano
On 09/27/12 13:20, Eric Sokolowsky wrote: > After trying a few more things I found a recipe that seems to work, but it is > a bit of a kludge. At the end of my class's draw() function (this is the > class that derives from Fl_Scroll, and has a Fl_Pack as a member) I check to > see if the window

Re: [fltk.general] Help with Fl_Pack and Fl_Scroll

2012-09-27 Thread Greg Ercolano
On 09/27/12 13:08, Eric Sokolowsky wrote: >> On 09/27/12 10:47, Eric Sokolowsky wrote: >>> I'm using FLTK 1.3.0 and have a list of widgets in a Fl_Pack. This Fl_Pack >>> is inside a Fl_Scroll. When I add a new item to the Fl_Pack I want the item >>> to be visible right away, scrolling if necessar

Re: [fltk.general] Help with Fl_Pack and Fl_Scroll

2012-09-27 Thread Eric Sokolowsky
> > On 09/27/12 10:47, Eric Sokolowsky wrote: > > > I'm using FLTK 1.3.0 and have a list of widgets in a Fl_Pack. This > > > Fl_Pack is inside a Fl_Scroll. When I add a new item to the Fl_Pack I > > > want the item to be visible right away, scrolling if necessary. Is there > > > a way to do this

Re: [fltk.general] Help with Fl_Pack and Fl_Scroll

2012-09-27 Thread Eric Sokolowsky
> On 09/27/12 10:47, Eric Sokolowsky wrote: > > I'm using FLTK 1.3.0 and have a list of widgets in a Fl_Pack. This Fl_Pack > > is inside a Fl_Scroll. When I add a new item to the Fl_Pack I want the item > > to be visible right away, scrolling if necessary. Is there a way to do this > > easily, o

Re: [fltk.general] Help with Fl_Pack and Fl_Scroll

2012-09-27 Thread Greg Ercolano
On 09/27/12 10:47, Eric Sokolowsky wrote: > I'm using FLTK 1.3.0 and have a list of widgets in a Fl_Pack. This Fl_Pack is > inside a Fl_Scroll. When I add a new item to the Fl_Pack I want the item to > be visible right away, scrolling if necessary. Is there a way to do this > easily, or do I hav

[fltk.general] Help with Fl_Pack and Fl_Scroll

2012-09-27 Thread Eric Sokolowsky
I'm using FLTK 1.3.0 and have a list of widgets in a Fl_Pack. This Fl_Pack is inside a Fl_Scroll. When I add a new item to the Fl_Pack I want the item to be visible right away, scrolling if necessary. Is there a way to do this easily, or do I have to figure out where the new item is and if offsc