# Gtk Extension

The GTK ActionScript class follows the same API as Gtk2, even down to the same arguments to the same function names. This means you're actually programming GTK,you're just using ActionScript instead of python, perl, or C. This extension makes it possible to write Flash movies that use the Gtk2 widgets for user interface components.

window_new

  Create a new window.

signal_connect

  Add an event handler to a widget.

container_set_border_width

  Set the width of the window border.

button_new_with_label

  Create a new button and give it the specified label.

signal_connect_swapped

  Swap signals. Commonly used for delete event handling.

container_add

  Add one widget to another as a child.

widget_show

  Display the widget on the screen.

main

  Start the main GTK event loop. This function does not return.