Creating Widgets

You create a widget by

  [Module].[widget name] options ... ()

Many optional arguments are admitted. The last two of them, packing: and show:, allow you respectively to call a function on your newly created widget, and to decide wether to show it immediately or not. By default all widgets except toplevel windows (GWindow module) are shown immediately.

    Default arguments

    For many constructor or method arguments, default values are provided.

    Memory management

    Important efforts have been dedicated to cooperate with Gtk's reference counting mechanism.

comments powered by Disqus