ScrolledWindow, Gtk & Ruby

Hi i want to make a window like this http://screencloud.net/v/axr9 . I
assured triple sections. Sections size can resizable. However also i
want to sections have limit size for shrinking (minimum size). How can i
assure limit size? I used Hpaned for triple sections. And I used
scrolledWindow for textView and other view

Hello Ebru,

To have a Paned widget limited to a certain size, use
Paned#min_position,
and Paned#max_position to set any minimal, and maximum positions that a
paned window should be able to re-size to by the user.

hth,

Mario

On Fri, Jan 25, 2013 at 10:25 AM, Ebru A. <
[email protected]> wrote:


Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only – learn more at:
http://p.sf.net/sfu/learnnow-d2d


ruby-gnome2-devel-en mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en


Mario S.
Fleet Captain
CO - Geo 99
CO - USS T’hy’la
XO - Diplomatic Corps - Second Life
http://www.iftcommand.com/chapters/thyla/
http://www.trekfederation.com

But i think Paned#min_position for all Paned. For example i added
swin1 = Gtk::ScrolledWindow.new
swin2 = Gtk::ScrolledWindow.new
hpaned.pack1(swin1,true,true)
hpaned.pack2(swin2,true,true)
and i want to set minimum size for each paned (pack1,pack2). Actually i
asked this one.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs