---
name: "GBin"
section: "3o"
platform: "linux"
package: "liblablgtk2-ocaml-doc"
version: "2.4.0v0.2tv-8"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/GBin"
---

# GBin(3o)

Containers with just one child

## NAME

GBin - Containers with just one child

## Module

Module   GBin

## Documentation

Module **GBin**\
  :  **sig end**

Containers with just one child

**=== Containers with just one child ===**

**===** **GtkScrolledWindow** **===**

*class scrolled\_window :* **Gtk.scrolled\_window Gtk.obj -\> object end**

Adds scrollbars to its child widget

*val scrolled\_window* :  **?hadjustment:GData.adjustment -\>** **?vadjustment:GData.adjustment -\>** **?hpolicy:Gtk.Tags.policy\_type -\>** **?vpolicy:Gtk.Tags.policy\_type -\>** **?placement:Gtk.Tags.corner\_type -\>** **?shadow\_type:Gtk.Tags.shadow\_type -\>** **?border\_width:int -\>** **?width:int -\>** **?height:int -\>** **?packing:(GObj.widget -\> unit) -\> ?show:bool -\> unit -\> scrolled\_window**

**===** **GtkEventBox** **===**

*class event\_box :* **\[\> Gtk.event\_box \] Gtk.obj -\> object end**

A widget used to catch events for widgets which do not have their own window

*val event\_box* :  **?border\_width:int -\>** **?width:int -\>** **?height:int -\>** **?packing:(GObj.widget -\> unit) -\> ?show:bool -\> unit -\> event\_box**

**===** **GtkHandleBox** **===**

*class handle\_box\_signals :* **\[\> Gtk.handle\_box \] Gtk.obj -\> object end**

*class handle\_box :* **Gtk.handle\_box Gtk.obj -\> object end**

A widget for detachable window portions

*val handle\_box* :  **?handle\_position:Gtk.Tags.position -\>** **?snap\_edge:Gtk.Tags.position -\>** **?shadow\_type:Gtk.Tags.shadow\_type -\>** **?border\_width:int -\>** **?width:int -\>** **?height:int -\>** **?packing:(GObj.widget -\> unit) -\> ?show:bool -\> unit -\> handle\_box**

**===** **GtkFrame & GtkAspectFrame** **===**

*class frame\_skel :* **\[\> Gtk.frame \] Gtk.obj -\> object end**

*class frame :* **Gtk.frame Gtk.obj -\> object end**

A bin with a decorative frame and optional label

*val frame* :  **?label:string -\>** **?label\_xalign:Gtk.clampf -\>** **?label\_yalign:Gtk.clampf -\>** **?shadow\_type:Gtk.Tags.shadow\_type -\>** **?border\_width:int -\>** **?width:int -\>** **?height:int -\>** **?packing:(GObj.widget -\> unit) -\> ?show:bool -\> unit -\> frame**

*class aspect\_frame :* **Gtk.aspect\_frame Gtk.obj -\> object end**

A frame that constrains its child to a particular aspect ratio

*val aspect\_frame* :  **?obey\_child:bool -\>** **?ratio:float -\>** **?xalign:Gtk.clampf -\>** **?yalign:Gtk.clampf -\>** **?label:string -\>** **?label\_xalign:Gtk.clampf -\>** **?label\_yalign:Gtk.clampf -\>** **?shadow\_type:Gtk.Tags.shadow\_type -\>** **?border\_width:int -\>** **?width:int -\>** **?height:int -\>** **?packing:(GObj.widget -\> unit) -\> ?show:bool -\> unit -\> aspect\_frame**

**===** **GtkViewport** **===**

*class viewport :* **Gtk.viewport Gtk.obj -\> object end**

*val viewport* :  **?hadjustment:GData.adjustment -\>** **?vadjustment:GData.adjustment -\>** **?shadow\_type:Gtk.Tags.shadow\_type -\>** **?border\_width:int -\>** **?width:int -\>** **?height:int -\>** **?packing:(GObj.widget -\> unit) -\> ?show:bool -\> unit -\> viewport**

**===** **GtkAlignment** **A widget which controls the alignment and size of its child ===** *class alignment :* **Gtk.alignment Gtk.obj -\> object end**

*val alignment* :  **?padding:int \* int \* int \* int -\>** **?xalign:Gtk.clampf -\>** **?yalign:Gtk.clampf -\>** **?xscale:Gtk.clampf -\>** **?yscale:Gtk.clampf -\>** **?border\_width:int -\>** **?width:int -\>** **?height:int -\>** **?packing:(GObj.widget -\> unit) -\> ?show:bool -\> unit -\> alignment**

*val alignment\_cast* :  **#GObj.widget -\> alignment**

**===** **GtkExpander** **A container which can hide its child ===** *class expander\_signals :* **\[\> Gtk.expander \] Gtk.obj -\> object end**

**Since** GTK 2.4

*class expander :* **\[\> Gtk.expander \] Gtk.obj -\> object end**

**Since** GTK 2.4

*val expander* :  **?expanded:bool -\>** **?label:string -\>** **?spacing:int -\>** **?use\_underline:bool -\>** **?border\_width:int -\>** **?width:int -\>** **?height:int -\>** **?packing:(GObj.widget -\> unit) -\> ?show:bool -\> unit -\> expander**

**Since** GTK 2.4
