---
name: "GMain.Main"
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/GMain.Main"
---

# GMain.Main(3o)

no description

## NAME

GMain.Main - no description

## Module

Module   GMain.Main

## Documentation

Module **Main**\
  :  **sig end**

*val init* :  **?setlocale:bool -\> unit -\> string**

**init** also sets the locale and returns its name. Either set  **~setlocale** to  **false** or GTK\_SETLOCALE to "0" if you don't want to the locale to be set

*val main* :  **unit -\> unit**

**main** runs the main loop, until  **quit** is called. Do not use in multi-threaded programs.

*val quit* :  **unit -\> unit**

quit the main loop

*val version* :  **int \* int \* int**

**major, minor, micro**
