pike.hubbe.net

[Top]
GTK
GTK.Viewport
previousGTK.VbuttonBox()->create() GTK.Viewport()->create()next

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;}()

Inherits

  • GTK.Bin

Extracted from Pike v7.3 release 11 at 2001-11-03.