| Extracted from Pike v7.8 release 700 at 2013-06-08.

[Top]
GTK
GTK.Viewport

# Class GTK.Viewport

Description

  This is a container that can be scrolled around, but it has no scrollbars. You can connect scrollbars to it using the adjustment objects. `GTK.Viewport(GTK.Adjustment(),GTK.Adjustment())->set_usize(100,100)`

  `GTK.Viewport(GTK.Adjustment(),GTK.Adjustment())->set_usize(100,100)->set_shadow_type(GTK.SHADOW_ETCHED_IN)`

  `GTK.Viewport(GTK.Adjustment(),GTK.Adjustment())->set_usize(100,100)->add(GTK.Label("A label with a very long text on it, it will not fit"))->set_shadow_type(GTK.SHADOW_ETCHED_IN)`

  `lambda(){ object a1;object v = GTK.Viewport(a1=GTK.Adjustment(),GTK.Adjustment())->set_usize(100,100)->add(GTK.Label("A label with a very long text on it, it will not fit"))->set_shadow_type(GTK.SHADOW_ETCHED_IN);call_out(a1->set_value,0,100.0);return v;}()`

Inherit Bin

  inherit GTK.Bin : Bin