Scroll Area


#1

Hello, world!

Is there a way to make a smaller part of a window scroll? Scrolling is
required for what I’m making, but I don’t want the whole window to
scroll. It will contain buttons and stuff.


#2

Hi

Jonah D. wrote:

Is there a way to make a smaller part of a window scroll? Scrolling is
required for what I’m making, but I don’t want the whole window to
scroll. It will contain buttons and stuff.

Look into Wx::ScrolledWindow

http://wxruby.rubyforge.org/doc/scrolledwindow.html

Also see the samples in samples/bigdemo/wxScrolledWindow. Really ugly
but it shows one way to use it.

a


#3

Cool. Got it. Thanks!