Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 2.14 KB

Reference.md

File metadata and controls

37 lines (29 loc) · 2.14 KB

Introduction

Gtkaml has a couple of its own keywords (attributes), but relies heavily on existing Gtk widgets (or other libraries).

gtkaml keywords

This is the complete list of gtkaml keywords as of 0.2.x: name namespace implements public private existing standalone construct preconstruct

Gtk+ bindings

Gtk+ classes are further 'annotated' in Gtk.implicits with the following information:

  • containers : implicit methods to pick for 'add-to-container' meaning (e.g. subtags of a tag are added like this)
  • constructor parameters meaningful name (where needed) and/or default values

Gtk.implicits is automatically picked up by gtkaml when you're using the Vala namespace "Gtk" by assigning it an XML namespace/prefix (see xmlns in the example)

Here's a list of Gtk containers which are annotated: Container ScrolledWindow Box VBox HBox Fixed Paned HPaned VPaned Notebook