### sds: this file is taken from gtk-server-2.1.1.tar.gz
#
# This is an EXAMPLE config file containing API calls used by the GTK-server.
#
# When developing your own application, feel free to change any of the
# definitions below to your needs. Per application you can use an individual
# configfile. Just put the GTK-server configfile in the same directory as your
# client script, as the GTK-server will look there first.
#
# Do you want to add more GTK functions? Please consult the GTK documentation
# at http://www.gtk.org/api/.
#
# The layout of this file is explained in the man-page:
#
#	man gtk-server.cfg
#
#
# Happy GUIfying!
#	Peter van Eerten
#
#---------------------------------------------------------------------------
#
# Only when the gtk-server binary does not contain the GTK libs, these
# settings must be activated.
#
# Linux
#
# GTK1 backend:
# GTK_LIB_NAME = libgtk.so
# GDK_LIB_NAME = libgdk.so
# GLIB_LIB_NAME = libglib.so
#
# GTK2 backend:
GTK_LIB_NAME = libgtk-x11-2.0.so
GDK_LIB_NAME = libgdk-x11-2.0.so
GLIB_LIB_NAME = libglib-2.0.so
GOBJECT_LIB_NAME = libgobject-2.0.so
ATK_LIB_NAME = libatk-1.0.so
PANGO_LIB_NAME = libpango-1.0.so
PIXBUF_LIB_NAME = libgdk_pixbuf_xlib-2.0.so
#
# XForms backend:
# FORMS_LIB_NAME = libforms.so
# FLIMAGE_LIB_NAME = libflimage.so
# FORMSGL_LIB_NAME = libformsGL.so
#
#---------------------------------------------------------------------------
#
# Windows
#
# GTK1 backend:
# GTK_LIB_NAME = libgtk-0.dll
# GDK_LIB_NAME = libgdk-0.dll
# GLIB_LIB_NAME = libglib-2.0-0.dll
#
# GTK2 backend:
# GTK_LIB_NAME = libgtk-win32-2.0-0.dll
# GDK_LIB_NAME = libgdk-win32-2.0-0.dll
# GLIB_LIB_NAME = libglib-2.0-0.dll
# GOBJECT_LIB_NAME = libgobject-2.0-0.dll
# ATK_LIB_NAME = libatk-1.0-0.dll
# PANGO_LIB_NAME = libpango-1.0-0.dll
# PIXBUF_LIB_NAME = libgdk_pixbuf-2.0-0.dll
#
#---------------------------------------------------------------------------
#
# Directory where to put the logfile if logging is enabled.
# In Windows, also use a slash forward (/) to separate directory's!
#
# Linux:
LOG_FILE = /tmp
#
# Windows:
# LOG_FILE = c:
#
#---------------------------------------------------------------------------
#
# API name, callback signal type, return value, amount of arguments, arg1, arg2...
#
# GTK_WINDOW
#
FUNCTION_NAME = gtk_window_new, delete-event, WIDGET, 1, LONG
FUNCTION_NAME = gtk_window_set_title, NONE, NONE, 2, WIDGET, STRING
FUNCTION_NAME = gtk_window_get_title, NONE, STRING, 1, WIDGET
FUNCTION_NAME = gtk_window_set_default_size, NONE, NONE, 3, WIDGET, LONG, LONG
FUNCTION_NAME = gtk_window_set_position, NONE, NONE, 2, WIDGET, LONG
FUNCTION_NAME = gtk_window_set_resizable, NONE, NONE, 2, WIDGET, BOOL
FUNCTION_NAME = gtk_window_set_transient_for, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_window_maximize, NONE, NONE, 1, WIDGET
FUNCTION_NAME = gtk_message_dialog_new, response, WIDGET, 5, WIDGET, LONG, LONG, LONG, STRING
FUNCTION_NAME = gtk_window_set_icon_from_file, NONE, BOOL, 3, WIDGET, STRING, NULL
FUNCTION_NAME = gtk_window_set_keep_above, NONE, NONE, 2, WIDGET, BOOL
FUNCTION_NAME = gtk_window_set_keep_below, NONE, NONE, 2, WIDGET, BOOL
FUNCTION_NAME = gtk_about_dialog_set_version, NONE, NONE, 2, WIDGET, STRING
#
# Containers
#
FUNCTION_NAME = gtk_table_new, NONE, WIDGET, 3, LONG, LONG, BOOL
FUNCTION_NAME = gtk_table_attach_defaults, NONE, NONE, 6, WIDGET, WIDGET, LONG, LONG, LONG, LONG
FUNCTION_NAME = gtk_container_add, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_container_remove, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_container_set_border_width, NONE, NONE, 2, WIDGET, LONG
FUNCTION_NAME = gtk_hbox_new, NONE, WIDGET, 2, BOOL, LONG
FUNCTION_NAME = gtk_vbox_new, NONE, WIDGET, 2, BOOL, LONG
FUNCTION_NAME = gtk_box_pack_start, NONE, NONE, 5, WIDGET, WIDGET, BOOL, BOOL, LONG
FUNCTION_NAME = gtk_box_pack_end, NONE, NONE, 5, WIDGET, WIDGET, BOOL, BOOL, LONG
FUNCTION_NAME = gtk_box_pack_start_defaults, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_box_pack_end_defaults, NONE, NONE, 2, WIDGET, WIDGET
#
# GTK_BUTTON
#
FUNCTION_NAME = gtk_button_new, clicked, WIDGET, 0
FUNCTION_NAME = gtk_button_new_with_label, clicked, WIDGET, 1, STRING
FUNCTION_NAME = gtk_button_new_from_stock, clicked, WIDGET, 1, STRING
FUNCTION_NAME = gtk_button_new_with_mnemonic, clicked, WIDGET, 1, STRING
FUNCTION_NAME = gtk_button_set_use_stock, NONE, NONE, 2, WIDGET, BOOL
FUNCTION_NAME = gtk_button_set_label, NONE, NONE, 2, WIDGET, STRING
FUNCTION_NAME = gtk_button_set_relief, NONE, NONE, 2, WIDGET, LONG
#
# GTK_TOGGLE
#
FUNCTION_NAME = gtk_toggle_button_new, clicked, WIDGET, 0
FUNCTION_NAME = gtk_toggle_button_new_with_label, clicked, WIDGET, 1, STRING
FUNCTION_NAME = gtk_toggle_button_get_active, NONE, BOOL, 1, WIDGET
FUNCTION_NAME = gtk_toggle_button_set_active, NONE, NONE, 2, WIDGET, BOOL
#
# GTK_CHECK_BUTTON
#
FUNCTION_NAME = gtk_check_button_new_with_label, clicked, WIDGET, 1, STRING
#
# GTK_ENTRY
#
FUNCTION_NAME = gtk_entry_new, activate, WIDGET, 0
FUNCTION_NAME = gtk_entry_get_text, NONE, STRING, 1, WIDGET
FUNCTION_NAME = gtk_entry_set_text, NONE, NONE, 2, WIDGET, STRING
FUNCTION_NAME = gtk_entry_set_visibility, NONE, NONE, 2, WIDGET, BOOL
#
# GTK_EDITABLE
#
FUNCTION_NAME = gtk_editable_delete_text, NONE, NONE, 3, WIDGET, LONG, LONG
FUNCTION_NAME = gtk_editable_get_chars, NONE, STRING, 3, WIDGET, LONG, LONG
FUNCTION_NAME = gtk_editable_set_editable, NONE, NONE, 2, WIDGET, BOOL
FUNCTION_NAME = gtk_editable_select_region, NONE, NONE, 3, WIDGET, LONG, LONG
#
# GTK_TEXT_VIEW related(GTK2.x)
#
FUNCTION_NAME = gtk_text_buffer_new, NONE, WIDGET, 1, NULL
FUNCTION_NAME = gtk_text_buffer_set_text, NONE, NONE, 3, WIDGET, STRING, LONG
FUNCTION_NAME = gtk_text_buffer_insert_at_cursor, NONE, NONE, 3, WIDGET, STRING, LONG
FUNCTION_NAME = gtk_text_buffer_get_insert, NONE, WIDGET, 1, WIDGET
FUNCTION_NAME = gtk_text_buffer_get_start_iter, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_text_buffer_get_end_iter, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_text_buffer_get_bounds, NONE, NONE, 3, WIDGET, WIDGET, WIDGET
FUNCTION_NAME = gtk_text_buffer_get_selection_bounds, NONE, BOOL, 3, WIDGET, WIDGET, WIDGET
FUNCTION_NAME = gtk_text_buffer_get_iter_at_offset, NONE, NONE, 3, WIDGET, WIDGET, LONG
FUNCTION_NAME = gtk_text_buffer_get_text, NONE, STRING, 4, WIDGET, WIDGET, WIDGET, BOOL
FUNCTION_NAME = gtk_text_buffer_insert, NONE, NONE, 4, WIDGET, WIDGET, STRING, LONG
FUNCTION_NAME = gtk_text_buffer_create_tag, NONE, WIDGET, 5, WIDGET, STRING, STRING, LONG, NULL
FUNCTION_NAME = gtk_text_buffer_insert_with_tags_by_name, NONE, NONE, 8, WIDGET, WIDGET, STRING, LONG, STRING, STRING, STRING, NULL
FUNCTION_NAME = gtk_text_buffer_apply_tag_by_name, NONE, NONE, 4, WIDGET, STRING, WIDGET, WIDGET
FUNCTION_NAME = gtk_text_buffer_remove_tag_by_name, NONE, NONE, 4, WIDGET, STRING, WIDGET, WIDGET
FUNCTION_NAME = gtk_text_buffer_remove_all_tags, NONE, NONE, 3, WIDGET, WIDGET, WIDGET
FUNCTION_NAME = gtk_text_buffer_get_tag_table, NONE, WIDGET, 1, WIDGET
FUNCTION_NAME = gtk_text_buffer_select_range, NONE, NONE, 3, WIDGET, WIDGET, WIDGET
FUNCTION_NAME = gtk_text_buffer_get_selection_bound, NONE, WIDGET, 1, WIDGET
FUNCTION_NAME = gtk_text_buffer_get_line_count, NONE, LONG, 1, WIDGET
FUNCTION_NAME = gtk_text_buffer_create_mark, NONE, WIDGET, 4, WIDGET, STRING, WIDGET, BOOL
FUNCTION_NAME = gtk_text_buffer_get_iter_at_mark, NONE, NONE, 3, WIDGET, WIDGET, WIDGET
FUNCTION_NAME = gtk_text_buffer_get_iter_at_line, NONE, NONE, 3, WIDGET, WIDGET, LONG
FUNCTION_NAME = gtk_text_buffer_delete, NONE, NONE, 3, WIDGET, WIDGET, WIDGET
FUNCTION_NAME = gtk_text_buffer_delete_mark, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_text_buffer_delete_mark_by_name, NONE, NONE, 2, WIDGET, STRING
FUNCTION_NAME = gtk_text_buffer_place_cursor, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_text_buffer_copy_clipboard, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_text_buffer_cut_clipboard, NONE, NONE, 3, WIDGET, WIDGET, BOOL
FUNCTION_NAME = gtk_text_buffer_paste_clipboard, NONE, NONE, 4, WIDGET, WIDGET, NULL, BOOL
FUNCTION_NAME = gtk_scrolled_window_new, NONE, WIDGET, 2, NULL, NULL
FUNCTION_NAME = gtk_scrolled_window_set_policy, NONE, NONE, 3, WIDGET, LONG, LONG
FUNCTION_NAME = gtk_scrolled_window_set_shadow_type, NONE, NONE, 2, WIDGET, LONG
FUNCTION_NAME = gtk_scrolled_window_add_with_viewport, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_text_view_new_with_buffer, NONE, WIDGET, 1, WIDGET
FUNCTION_NAME = gtk_text_view_set_wrap_mode, NONE, NONE, 2, WIDGET, LONG
FUNCTION_NAME = gtk_text_view_set_editable, NONE, NONE, 2, WIDGET, BOOL
FUNCTION_NAME = gtk_text_view_set_border_window_size, NONE, NONE, 3, WIDGET, LONG, LONG
FUNCTION_NAME = gtk_text_view_move_mark_onscreen, NONE, BOOL, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_text_view_scroll_to_mark, NONE, NONE, 6, WIDGET, WIDGET, DOUBLE, BOOL, DOUBLE, DOUBLE
FUNCTION_NAME = gtk_text_view_scroll_mark_onscreen, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_text_view_set_pixels_inside_wrap, NONE, NONE, 2, WIDGET, LONG
FUNCTION_NAME = gtk_text_view_get_pixels_inside_wrap, NONE, LONG, 1, WIDGET
FUNCTION_NAME = gtk_text_view_set_pixels_above_lines, NONE, NONE, 2, WIDGET, LONG
FUNCTION_NAME = gtk_text_view_get_pixels_above_lines, NONE, LONG, 1, WIDGET
FUNCTION_NAME = gtk_text_view_set_cursor_visible, NONE, NONE, 2, WIDGET, BOOL
FUNCTION_NAME = gtk_text_view_window_to_buffer_coords, NONE, NONE, 6, WIDGET, LONG, LONG, LONG, WIDGET, WIDGET
FUNCTION_NAME = gtk_text_iter_forward_search, NONE, BOOL, 6, WIDGET, STRING, LONG, WIDGET, WIDGET, NULL
FUNCTION_NAME = gtk_text_iter_forward_visible_cursor_position, NONE, BOOL, 1, WIDGET
FUNCTION_NAME = gtk_text_iter_forward_to_line_end, NONE, BOOL, 1, WIDGET
FUNCTION_NAME = gtk_text_iter_set_line, NONE, NONE, 2, WIDGET, LONG
FUNCTION_NAME = gtk_text_iter_set_line_offset, NONE, NONE, 2, WIDGET, LONG
FUNCTION_NAME = gtk_text_iter_set_line_index, NONE, NONE, 2, WIDGET, LONG
FUNCTION_NAME = gtk_text_iter_get_text, NONE, STRING, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_text_iter_get_line, NONE, LONG, 1, WIDGET
FUNCTION_NAME = gtk_text_view_new, NONE, WIDGET, 0
FUNCTION_NAME = gtk_text_view_get_buffer, NONE, WIDGET, 1, WIDGET
FUNCTION_NAME = gtk_text_tag_table_remove, NONE, NONE, 2, WIDGET, WIDGET
#
# GTK_TEXT --- sds commented out
#
# FUNCTION_NAME = gtk_text_new, NONE, WIDGET, 2, NULL, NULL
# FUNCTION_NAME = gtk_text_set_editable, NONE, NONE, 2, WIDGET, LONG
# FUNCTION_NAME = gtk_text_insert, NONE, NONE, 6, WIDGET, NULL, NULL, NULL, STRING, LONG
# FUNCTION_NAME = gtk_text_set_adjustments, NONE, NONE, 3, WIDGET, NULL, WIDGET
# FUNCTION_NAME = gtk_text_get_length, NONE, LONG, 1, WIDGET
# FUNCTION_NAME = gtk_text_set_word_wrap, NONE, NONE, 2, WIDGET, LONG
# FUNCTION_NAME = gtk_text_backward_delete, NONE, BOOL, 2, WIDGET, LONG
# FUNCTION_NAME = gtk_text_forward_delete, NONE, BOOL, 2, WIDGET, LONG
# FUNCTION_NAME = gtk_text_set_point, NONE, NONE, 2, WIDGET, LONG
#
# GDK functions and drawing stuff
#
FUNCTION_NAME = gdk_font_load, NONE, WIDGET, 1, STRING
FUNCTION_NAME = gdk_pixmap_new, NONE, WIDGET, 4, WIDGET, LONG, LONG, LONG
FUNCTION_NAME = gdk_pixmap_unref, NONE, NONE, 1, WIDGET
FUNCTION_NAME = gdk_pixmap_create_from_xpm, NONE, WIDGET, 4, WIDGET, NULL, NULL, STRING
FUNCTION_NAME = gdk_pixmap_colormap_create_from_xpm, NONE, WIDGET, 5, NULL, WIDGET, NULL, NULL, STRING
FUNCTION_NAME = gdk_draw_rectangle, NONE, NONE, 7, WIDGET, WIDGET, BOOL, LONG, LONG, LONG, LONG
FUNCTION_NAME = gdk_draw_arc, NONE, NONE, 9, WIDGET, WIDGET, BOOL, LONG, LONG, LONG, LONG, LONG, LONG
FUNCTION_NAME = gdk_draw_line, NONE, NONE, 6, WIDGET, WIDGET, LONG, LONG, LONG, LONG
FUNCTION_NAME = gdk_draw_point, NONE, NONE, 4, WIDGET, WIDGET, LONG, LONG
FUNCTION_NAME = gdk_draw_layout, NONE, NONE, 5, WIDGET, WIDGET, LONG, LONG, WIDGET
FUNCTION_NAME = gdk_draw_drawable, NONE, NONE, 9, WIDGET, WIDGET, WIDGET, LONG, LONG, LONG, LONG, LONG, LONG
FUNCTION_NAME = gdk_gc_new, NONE, WIDGET, 1, WIDGET
FUNCTION_NAME = gdk_gc_set_rgb_fg_color, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gdk_gc_set_rgb_bg_color, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gdk_gc_set_foreground, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gdk_gc_set_background, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gdk_gc_set_colormap, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gdk_color_alloc, NONE, LONG, 2, WIDGET, WIDGET
FUNCTION_NAME = gdk_color_parse, NONE, LONG, 2, STRING, WIDGET
FUNCTION_NAME = gdk_colormap_get_system, NONE, WIDGET, 0
FUNCTION_NAME = gdk_colormap_alloc_color, NONE, BOOL, 4, WIDGET, WIDGET, BOOL, BOOL
FUNCTION_NAME = gdk_get_default_root_window, NONE, WIDGET, 0
FUNCTION_NAME = gdk_rgb_find_color, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gdk_drawable_set_colormap, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gdk_drawable_get_size, NONE, NONE, 3, WIDGET, WIDGET, WIDGET
FUNCTION_NAME = gdk_keymap_translate_keyboard_state, NONE, BOOL, 8, NULL, LONG, LONG, LONG, WIDGET, NULL, NULL, NULL
FUNCTION_NAME = gdk_window_process_all_updates, NONE, NONE, 0
FUNCTION_NAME = gdk_window_get_geometry, NONE, NONE, 6, WIDGET, NULL, NULL, WIDGET, STRING, NULL
FUNCTION_NAME = gdk_screen_get_default, NONE, WIDGET, 0
FUNCTION_NAME = gdk_screen_get_width, NONE, LONG, 1, WIDGET
FUNCTION_NAME = gdk_screen_get_height, NONE, LONG, 1, WIDGET
FUNCTION_NAME = gdk_screen_width, NONE, LONG, 0
FUNCTION_NAME = gdk_screen_height, NONE, LONG, 0
FUNCTION_NAME = gdk_flush, NONE, NONE, 0
FUNCTION_NAME = gdk_init, NONE, NONE, 2, NULL, NULL
FUNCTION_NAME = gdk_display_get_default, NONE, WIDGET, 0
FUNCTION_NAME = gdk_display_get_pointer, NONE, NONE, 5, WIDGET, NULL, WIDGET, WIDGET, NULL
#
# GTK functions for drawings
#
FUNCTION_NAME = gtk_image_new, NONE, WIDGET, 0
FUNCTION_NAME = gtk_image_new_from_pixmap, NONE, WIDGET, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_image_set_from_pixbuf, NONE, WIDGET, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_image_set_from_pixmap, NONE, NONE, 3, WIDGET, WIDGET, NULL
FUNCTION_NAME = gtk_image_set, NONE, NONE, 3, WIDGET, WIDGET, NULL
FUNCTION_NAME = gtk_image_set_from_file, NONE, NONE, 2, WIDGET, STRING
FUNCTION_NAME = gtk_image_new_from_file, NONE, WIDGET, 1, STRING
FUNCTION_NAME = gtk_pixmap_new, NONE, WIDGET, 2, WIDGET, NULL
FUNCTION_NAME = gtk_drawing_area_new, NONE, WIDGET, 0
FUNCTION_NAME = gtk_widget_queue_draw, NONE, NONE, 1, WIDGET
FUNCTION_NAME = gtk_widget_get_colormap, NONE, WIDGET, 1, WIDGET
FUNCTION_NAME = gtk_widget_get_parent_window, NONE, WIDGET, 1, WIDGET
FUNCTION_NAME = gtk_widget_create_pango_layout, NONE, WIDGET, 2, WIDGET, STRING
#
# GTK_SCROLLBARS
#
FUNCTION_NAME = gtk_vscrollbar_new, NONE, WIDGET, 1, WIDGET
#
# GTK_LABEL
#
FUNCTION_NAME = gtk_label_new, NONE, WIDGET, 1, STRING
FUNCTION_NAME = gtk_label_set_text, NONE, NONE, 2, WIDGET, STRING
FUNCTION_NAME = gtk_label_get_text, NONE, STRING, 1, WIDGET
FUNCTION_NAME = gtk_label_set_line_wrap, NONE, NONE, 2, WIDGET, BOOL
FUNCTION_NAME = gtk_label_set_selectable, NONE, NONE, 2, WIDGET, BOOL
FUNCTION_NAME = gtk_label_set_use_markup, NONE, NONE, 2, WIDGET, BOOL
FUNCTION_NAME = gtk_label_set_justify, NONE, NONE, 2, WIDGET, LONG
FUNCTION_NAME = gtk_label_get_width_chars, NONE, LONG, 1, WIDGET
FUNCTION_NAME = gtk_label_get_max_width_chars, NONE, LONG, 1, WIDGET
FUNCTION_NAME = gtk_label_set_markup_with_mnemonic, NONE, NONE, 2, WIDGET, STRING
#
# GTK_FRAME
#
FUNCTION_NAME = gtk_frame_new, NONE, WIDGET, 1, NULL
FUNCTION_NAME = gtk_frame_set_label_align, NONE, NONE, 3, WIDGET, FLOAT, FLOAT
FUNCTION_NAME = gtk_frame_set_label, NONE, NONE, 2, WIDGET, STRING
FUNCTION_NAME = gtk_frame_get_label, NONE, STRING, 1, WIDGET
FUNCTION_NAME = gtk_aspect_frame_new, NONE, WIDGET, 5, STRING, FLOAT, FLOAT, FLOAT, BOOL
FUNCTION_NAME = gtk_aspect_frame_set, NONE, NONE, 5, WIDGET, FLOAT, FLOAT, FLOAT, BOOL
#
# GTK_RADIO_BUTTON
#
FUNCTION_NAME = gtk_radio_button_new, clicked, WIDGET, 1, NULL
FUNCTION_NAME = gtk_radio_button_new_with_label, clicked, WIDGET, 2, WIDGET, STRING
FUNCTION_NAME = gtk_radio_button_new_from_widget, clicked, WIDGET, 1, WIDGET
FUNCTION_NAME = gtk_radio_button_new_with_label_from_widget, clicked, WIDGET, 2, WIDGET, STRING
#
# GTK_NOTEBOOK
#
FUNCTION_NAME = gtk_notebook_new, NONE, WIDGET, 0
FUNCTION_NAME = gtk_notebook_set_tab_pos, NONE, NONE, 2, WIDGET, LONG
FUNCTION_NAME = gtk_notebook_popup_enable, NONE, NONE, 1, WIDGET
FUNCTION_NAME = gtk_notebook_insert_page, NONE, NONE, 4, WIDGET, WIDGET, WIDGET, LONG
FUNCTION_NAME = gtk_notebook_remove_page, NONE, NONE, 2, WIDGET, LONG
FUNCTION_NAME = gtk_notebook_get_current_page, NONE, NONE, 1, WIDGET
FUNCTION_NAME = gtk_notebook_set_page, NONE, NONE, 2, WIDGET, LONG
FUNCTION_NAME = gtk_notebook_set_tab_label_text, NONE, NONE, 3, WIDGET, WIDGET, STRING
#
# GTK_ADJUSTMENT
#
FUNCTION_NAME = gtk_adjustment_new, NONE, WIDGET, 6, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE, DOUBLE
FUNCTION_NAME = gtk_adjustment_get_value, NONE, FLOAT, 1, WIDGET
#
# GTK_RANGE
#
FUNCTION_NAME = gtk_range_get_adjustment, NONE, WIDGET, 1, WIDGET
FUNCTION_NAME = gtk_range_get_value, NONE, FLOAT, 1, WIDGET
FUNCTION_NAME = gtk_range_set_value, NONE, NONE, 2, WIDGET, DOUBLE
#
# GTK_SCALE
#
FUNCTION_NAME = gtk_scale_set_draw_value, NONE, NONE, 2, WIDGET, BOOL
FUNCTION_NAME = gtk_scale_set_value_pos, NONE, NONE, 2, WIDGET, LONG
#
# GTK_HSCALE
#
FUNCTION_NAME = gtk_hscale_new, value-changed, WIDGET, 1, WIDGET
FUNCTION_NAME = gtk_hscale_new_with_range, value-changed, WIDGET, 3, DOUBLE, DOUBLE, DOUBLE
#
# GTK_VSCALE
#
FUNCTION_NAME = gtk_vscale_new_with_range, value-changed, WIDGET, 3, DOUBLE, DOUBLE, DOUBLE
#
# GTK_SPIN
#
FUNCTION_NAME = gtk_spin_button_new, NONE, WIDGET, 3, WIDGET, DOUBLE, LONG
FUNCTION_NAME = gtk_spin_button_get_value_as_int, NONE, LONG, 1, WIDGET
FUNCTION_NAME = gtk_spin_button_get_value, NONE, FLOAT, 1, WIDGET
FUNCTION_NAME = gtk_spin_button_set_wrap, NONE, NONE, 2, WIDGET, BOOL
FUNCTION_NAME = gtk_spin_button_set_value, NONE, NONE, 2, WIDGET, DOUBLE
#
# GTK_ARROW
#
FUNCTION_NAME = gtk_arrow_new, NONE, WIDGET, 2, LONG, LONG
#
# File selector
#
FUNCTION_NAME = gtk_file_chooser_dialog_new, NONE, WIDGET, 8, STRING, WIDGET, LONG, STRING, LONG, STRING, LONG, NULL
FUNCTION_NAME = gtk_file_chooser_widget_new, NONE, WIDGET, 1, LONG
FUNCTION_NAME = gtk_dialog_run, NONE, LONG, 1, WIDGET
FUNCTION_NAME = gtk_file_chooser_get_filename, NONE, STRING, 1, WIDGET
FUNCTION_NAME = gtk_file_chooser_set_filename, NONE, BOOL, 2, WIDGET, STRING
FUNCTION_NAME = gtk_file_filter_new, NONE, WIDGET, 0
FUNCTION_NAME = gtk_file_filter_add_pattern, NONE, NONE, 2, WIDGET, STRING
FUNCTION_NAME = gtk_file_filter_set_name, NONE, NONE, 2, WIDGET, STRING
FUNCTION_NAME = gtk_file_chooser_add_filter, NONE, NONE, 2, WIDGET, WIDGET
#
# FONT selector
#
FUNCTION_NAME = gtk_font_selection_dialog_new, button-press-event, WIDGET, 1, STRING
FUNCTION_NAME = gtk_font_selection_dialog_get_font_name, NONE, STRING, 1, WIDGET
FUNCTION_NAME = gtk_font_selection_new, NONE, WIDGET, 0
FUNCTION_NAME = gtk_font_selection_get_font_name, NONE, STRING, 1, WIDGET
FUNCTION_NAME = gtk_font_selection_set_font_name, NONE, BOOL, 2, WIDGET, STRING
#
# Color selections
#
FUNCTION_NAME = gtk_color_selection_new, NONE, WIDGET, 0
FUNCTION_NAME = gtk_color_selection_set_has_opacity_control, NONE, NONE, 2, WIDGET, BOOL
FUNCTION_NAME = gtk_color_selection_set_current_color, NONE, NONE, 2, WIDGET, STRING
FUNCTION_NAME = gtk_color_selection_get_current_color, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_color_selection_set_color, NONE, NONE, 2, WIDGET, STRING
#
# Menubar
#
FUNCTION_NAME = gtk_menu_bar_new, NONE, WIDGET, 0
FUNCTION_NAME = gtk_menu_shell_append, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_menu_item_new, activate, WIDGET, 0
FUNCTION_NAME = gtk_menu_item_new_with_label, activate, WIDGET, 1, STRING
FUNCTION_NAME = gtk_menu_item_new_with_mnemonic, activate, WIDGET, 1, STRING
FUNCTION_NAME = gtk_menu_new, NONE, WIDGET, 0
FUNCTION_NAME = gtk_menu_item_set_right_justified, NONE, NONE, 2, WIDGET, BOOL
FUNCTION_NAME = gtk_menu_item_set_submenu, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_check_menu_item_new_with_label, activate, WIDGET, 1, STRING
FUNCTION_NAME = gtk_check_menu_item_new_with_mnemonic, activate, WIDGET, 1, STRING
FUNCTION_NAME = gtk_check_menu_item_get_active, NONE, BOOL, 1, WIDGET
FUNCTION_NAME = gtk_check_menu_item_set_active, NONE, NONE, 2, WIDGET, BOOL
FUNCTION_NAME = gtk_menu_popup, NONE, NONE, 7, WIDGET, NULL, NULL, NULL, NULL, LONG, LONG
#
# GTK_PROGRESS_BAR
#
FUNCTION_NAME = gtk_progress_bar_new, NONE, WIDGET, 0
FUNCTION_NAME = gtk_progress_bar_set_text, NONE, NONE, 2, WIDGET, STRING
FUNCTION_NAME = gtk_progress_bar_set_fraction, NONE, NONE, 2, WIDGET, DOUBLE
FUNCTION_NAME = gtk_progress_bar_pulse, NONE, NONE, 1, WIDGET
FUNCTION_NAME = gtk_progress_bar_set_pulse_step, NONE, NONE, 2, WIDGET, DOUBLE
#
# GTK_STATUS_BAR
#
FUNCTION_NAME = gtk_statusbar_new, NONE, WIDGET, 0
FUNCTION_NAME = gtk_statusbar_get_context_id, NONE, LONG, 2, WIDGET, STRING
FUNCTION_NAME = gtk_statusbar_push, NONE, LONG, 3, WIDGET, LONG, STRING
FUNCTION_NAME = gtk_statusbar_pop, NONE, NONE, 2, WIDGET, LONG
FUNCTION_NAME = gtk_statusbar_remove, NONE, NONE, 3, WIDGET, LONG, LONG
FUNCTION_NAME = gtk_statusbar_set_has_resize_grip, NONE, NONE, 2, WIDGET, BOOL
#
# EVENT_BOX
#
FUNCTION_NAME = gtk_event_box_new, NONE, WIDGET, 0
#
# COMBO BOX - only with GTK 2.4.x or higher
#
FUNCTION_NAME = gtk_combo_box_new_text, changed, WIDGET, 0
FUNCTION_NAME = gtk_combo_box_append_text, NONE, NONE, 2, WIDGET, STRING
FUNCTION_NAME = gtk_combo_box_insert_text, NONE, NONE, 3, WIDGET, LONG, STRING
FUNCTION_NAME = gtk_combo_box_prepend_text, NONE, NONE, 2, WIDGET, STRING
FUNCTION_NAME = gtk_combo_box_remove_text, NONE, NONE, 2, WIDGET, LONG
FUNCTION_NAME = gtk_combo_box_get_active, NONE, LONG, 1, WIDGET
FUNCTION_NAME = gtk_combo_box_set_active, NONE, NONE, 2, WIDGET, LONG
FUNCTION_NAME = gtk_combo_box_get_active_text, NONE, STRING, 1, WIDGET
#
# SEPARATORS
#
FUNCTION_NAME = gtk_vseparator_new, NONE, WIDGET, 0
FUNCTION_NAME = gtk_hseparator_new, NONE, WIDGET, 0
#
# Clipboards
#
FUNCTION_NAME = gtk_editable_copy_clipboard, NONE, NONE, 1, WIDGET
FUNCTION_NAME = gtk_editable_cut_clipboard, NONE, NONE, 1, WIDGET
FUNCTION_NAME = gtk_editable_paste_clipboard, NONE, NONE, 1, WIDGET
FUNCTION_NAME = gdk_atom_intern, NONE, WIDGET, 2, STRING, LONG
FUNCTION_NAME = gtk_clipboard_get, NONE, WIDGET, 1, LONG
FUNCTION_NAME = gtk_clipboard_set_text, NONE, NONE, 3, WIDGET, STRING, LONG
FUNCTION_NAME = gtk_clipboard_wait_for_text, NONE, STRING, 1, WIDGET
#
# CLists (GTK 1.x, obsolete in GTK2)
#
FUNCTION_NAME = gtk_clist_new, select-row, WIDGET, 1, LONG
FUNCTION_NAME = gtk_clist_set_column_title, NONE, NONE, 3, WIDGET, LONG, STRING
FUNCTION_NAME = gtk_clist_column_titles_show, NONE, NONE, 1, WIDGET
FUNCTION_NAME = gtk_clist_append, NONE, LONG, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_clist_set_text, NONE, NONE, 4, WIDGET, LONG, LONG, STRING
#
# GTK fixed
#
FUNCTION_NAME = gtk_fixed_new, NONE, WIDGET, 0
FUNCTION_NAME = gtk_fixed_put, NONE, NONE, 4, WIDGET, WIDGET, LONG, LONG
FUNCTION_NAME = gtk_fixed_move, NONE, NONE, 4, WIDGET, WIDGET, LONG, LONG
#
# Lists (GTK2.x) defined for 1 column with strings
# Redefine with 'gtk_server_redefine' if necessary
#
FUNCTION_NAME = gtk_list_store_new, NONE, WIDGET, 2, LONG, LONG
FUNCTION_NAME = gtk_list_store_append, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_list_store_set, NONE, NONE, 5, WIDGET, WIDGET, LONG, STRING, LONG
FUNCTION_NAME = gtk_list_store_set_value, NONE, NONE, 4, WIDGET, WIDGET, LONG, STRING
FUNCTION_NAME = gtk_list_store_clear, NONE, NONE, 1, WIDGET
FUNCTION_NAME = gtk_list_store_remove, NONE, BOOL, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_cell_renderer_text_new, NONE, WIDGET, 0
FUNCTION_NAME = gtk_tree_view_new_with_model, row-activated, WIDGET, 1, WIDGET
FUNCTION_NAME = gtk_tree_view_column_new, NONE, WIDGET, 0
FUNCTION_NAME = gtk_tree_view_column_new_with_attributes, clicked, WIDGET, 5, STRING, WIDGET, STRING, LONG, NULL
FUNCTION_NAME = gtk_tree_view_column_pack_start, NONE, NONE, 3, WIDGET, WIDGET, BOOL
FUNCTION_NAME = gtk_tree_view_append_column, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_tree_view_set_headers_visible, NONE, NONE, 2, WIDGET, BOOL
FUNCTION_NAME = gtk_tree_view_set_headers_clickable, NONE, NONE, 2, WIDGET, BOOL
FUNCTION_NAME = gtk_tree_view_get_selection, NONE, WIDGET, 1, WIDGET
FUNCTION_NAME = gtk_tree_view_column_set_resizable, NONE, NONE, 2, WIDGET, BOOL
FUNCTION_NAME = gtk_tree_view_column_set_clickable, NONE, NONE, 2, WIDGET, BOOL
FUNCTION_NAME = gtk_tree_selection_get_selected, NONE, BOOL, 3, WIDGET, NULL, WIDGET
FUNCTION_NAME = gtk_tree_selection_select_iter, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_tree_selection_select_path, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_tree_model_get, NONE, NONE, 5, WIDGET, WIDGET, LONG, STRING, LONG
FUNCTION_NAME = gtk_tree_model_get_string_from_iter, NONE, STRING, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_tree_path_new_from_string, NONE, WIDGET, 1, STRING
FUNCTION_NAME = gtk_tree_path_free, NONE, NONE, 1, WIDGET
FUNCTION_NAME = gtk_tree_sortable_set_sort_column_id, NONE, NONE, 3, WIDGET, LONG, LONG
#
# General GTK routines
#
FUNCTION_NAME = gtk_init, NONE, NONE, 2, NULL, NULL
FUNCTION_NAME = gtk_widget_show, NONE, NONE, 1, WIDGET
FUNCTION_NAME = gtk_widget_show_all, NONE, NONE, 1, WIDGET
FUNCTION_NAME = gtk_widget_realize, NONE, NONE, 1, WIDGET
FUNCTION_NAME = gtk_widget_unrealize, NONE, NONE, 1, WIDGET
FUNCTION_NAME = gtk_widget_hide, NONE, NONE, 1, WIDGET
FUNCTION_NAME = gtk_widget_destroy, NONE, NONE, 1, WIDGET
FUNCTION_NAME = gtk_widget_grab_focus, NONE, NONE, 1, WIDGET
FUNCTION_NAME = gtk_widget_set_size_request, NONE, NONE, 3, WIDGET, LONG, LONG
FUNCTION_NAME = gtk_widget_size_request, NONE, NONE, 2, WIDGET, WIDGET
FUNCTION_NAME = gtk_widget_set_usize, NONE, NONE, 3, WIDGET, LONG, LONG
FUNCTION_NAME = gtk_widget_modify_base, NONE, NONE, 3, WIDGET, LONG, LONG
FUNCTION_NAME = gtk_widget_modify_bg, NONE, NONE, 3, WIDGET, LONG, LONG
FUNCTION_NAME = gtk_widget_set_sensitive, NONE, NONE, 2, WIDGET, BOOL
FUNCTION_NAME = gtk_settings_get_default, NONE, WIDGET, 0
FUNCTION_NAME = gtk_widget_get_parent, NONE, WIDGET, 1, WIDGET
FUNCTION_NAME = gtk_misc_set_alignment, NONE, NONE, 3, WIDGET, FLOAT, FLOAT
FUNCTION_NAME = gtk_main, NONE, NONE, 0
FUNCTION_NAME = gtk_main_iteration, NONE, BOOL, 0
FUNCTION_NAME = gtk_main_iteration_do, NONE, BOOL, 1, BOOL
FUNCTION_NAME = gtk_events_pending, NONE, BOOL, 0
FUNCTION_NAME = gtk_exit, NONE, NONE, 1, LONG
FUNCTION_NAME = gtk_main_quit, NONE, NONE, 0
FUNCTION_NAME = gtk_rc_parse, NONE, NONE, 1, STRING
FUNCTION_NAME = gtk_rc_parse_string, NONE, NONE, 1, STRING
FUNCTION_NAME = gtk_rc_reparse_all, NONE, BOOL, 0
FUNCTION_NAME = gtk_rc_reset_styles, NONE, NONE, 1, WIDGET
FUNCTION_NAME = gtk_rc_add_default_file, NONE, NONE, 1, STRING
FUNCTION_NAME = gtk_widget_set_name, NONE, NONE, 2, WIDGET, STRING
FUNCTION_NAME = gtk_check_version, NONE, STRING, 3, LONG, LONG, LONG
FUNCTION_NAME = gtk_drag_source_set, NONE, NONE, 5, WIDGET, LONG, LONG, LONG, LONG
FUNCTION_NAME = gtk_drag_dest_set, NONE, NONE, 5, WIDGET, LONG, LONG, LONG, LONG
FUNCTION_NAME = gtk_drag_finish, NONE, NONE, 4, WIDGET, BOOL, BOOL, LONG
FUNCTION_NAME = gtk_get_current_event_time, NONE, LONG, 0
FUNCTION_NAME = gtk_widget_get_size_request, NONE, NONE, 3, WIDGET, WIDGET, WIDGET
FUNCTION_NAME = gtk_signal_emit_by_name, NONE, NONE, 2, WIDGET, STRING
FUNCTION_NAME = gtk_invisible_new, NONE, WIDGET, 0
#
# Some GDK_PIXBUF functions
# Put GTK_LIB_EXTRA to 'libgdk_pixbuf_xlib.so'
#
FUNCTION_NAME = gdk_pixbuf_new_from_file, NONE, WIDGET, 2, STRING, NULL
FUNCTION_NAME = gdk_pixbuf_new_from_file_at_size, NONE, WIDGET, 4, STRING, LONG, LONG, NULL
FUNCTION_NAME = gdk_pixbuf_rotate_simple, NONE, WIDGET, 2, WIDGET, LONG
FUNCTION_NAME = g_object_unref, NONE, NONE, 1, WIDGET
FUNCTION_NAME = g_locale_to_utf8, NONE, STRING, 5, STRING, LONG, NULL, NULL, NULL
FUNCTION_NAME = g_locale_from_utf8, NONE, STRING, 5, STRING, LONG, NULL, NULL, NULL
FUNCTION_NAME = g_free, NONE, NONE, 1, WIDGET
#[sds]FUNCTION_NAME = g_printf, NONE, NONE, 2, STRING, WIDGET
#
# The internal functions (not necessary but sometimes handy for language bindings like newLisp) --- sds commented out
#
# FUNCTION_NAME = gtk_server_version, NONE, STRING, 0
# FUNCTION_NAME = gtk_server_callback, NONE, STRING, 1, STRING
# FUNCTION_NAME = gtk_server_callback_value, NONE, STRING, 1, STRING
# FUNCTION_NAME = gtk_server_connect, NONE, STRING, 3, STRING, STRING, STRING
# FUNCTION_NAME = gtk_server_connect_after, NONE, STRING, 3, STRING, STRING, STRING
# FUNCTION_NAME = gtk_server_disconnect, NONE, STRING, 0
# FUNCTION_NAME = gtk_server_enable_c_string_escaping, NONE, STRING, 0
# FUNCTION_NAME = gtk_server_disable_c_string_escaping, NONE, STRING, 0
# FUNCTION_NAME = gtk_server_mouse, NONE, STRING, 1, STRING
# FUNCTION_NAME = gtk_server_redefine, NONE, STRING, 1, STRING
# FUNCTION_NAME = gtk_server_timeout, NONE, STRING, 3, STRING, STRING, STRING
# FUNCTION_NAME = gtk_server_echo, NONE, STRING, 1, STRING
# FUNCTION_NAME = gtk_server_glade_file, NONE, STRING, 1, STRING
# FUNCTION_NAME = gtk_server_glade_string, NONE, STRING, 1, STRING
# FUNCTION_NAME = gtk_server_glade_widget, NONE, STRING, 1, STRING
# FUNCTION_NAME = gtk_server_cfg, NONE, STRING, 1, STRING
#
#---------------------------------------------------------------------------
#
# XForms calls --- sds commented out
#
# FUNCTION_NAME = fl_bgn_form, NONE, WIDGET, 3, LONG, LONG, LONG
# FUNCTION_NAME = fl_end_form, NONE, NONE, 0
# #
# FUNCTION_NAME = fl_add_box, NONE, WIDGET, 6, LONG, LONG, LONG, LONG, LONG, STRING
# #
# FUNCTION_NAME = fl_add_button, NONE, WIDGET, 6, LONG, LONG, LONG, LONG, LONG, STRING
# FUNCTION_NAME = fl_set_button, NONE, NONE, 2, WIDGET, LONG
# FUNCTION_NAME = fl_get_button, NONE, LONG, 1, WIDGET
# #
# FUNCTION_NAME = fl_add_slider, NONE, WIDGET, 6, LONG, LONG, LONG, LONG, LONG, STRING
# FUNCTION_NAME = fl_set_slider_value, NONE, NONE, 2, WIDGET, DOUBLE
# FUNCTION_NAME = fl_set_slider_bounds, NONE, NONE, 3, WIDGET, DOUBLE, DOUBLE
# FUNCTION_NAME = fl_get_slider_value, NONE, FLOAT, 1, WIDGET
# FUNCTION_NAME = fl_add_valslider, NONE, WIDGET, 6, LONG, LONG, LONG, LONG, LONG, STRING
# #
# FUNCTION_NAME = fl_add_text, NONE, WIDGET, 6, LONG, LONG, LONG, LONG, LONG, STRING
# #
# FUNCTION_NAME = fl_add_input, NONE, WIDGET, 6, LONG, LONG, LONG, LONG, LONG, STRING
# FUNCTION_NAME = fl_set_input, NONE, NONE, 2, WIDGET, STRING
# FUNCTION_NAME = fl_set_input_color, NONE, NONE, 3, WIDGET, LONG, LONG
# FUNCTION_NAME = fl_get_input, NONE, STRING, 1, WIDGET
# #
# FUNCTION_NAME = fl_add_frame, NONE, WIDGET, 6, LONG, LONG, LONG, LONG, LONG, STRING
# #
# FUNCTION_NAME = fl_show_form, NONE, NONE, 4, WIDGET, LONG, LONG, STRING
# FUNCTION_NAME = fl_hide_object, NONE, NONE, 1, WIDGET
# FUNCTION_NAME = fl_show_object, NONE, NONE, 1, WIDGET
# FUNCTION_NAME = fl_deactivate_object, NONE, NONE, 1, WIDGET
# FUNCTION_NAME = fl_activate_object, NONE, NONE, 1, WIDGET
# FUNCTION_NAME = fl_set_object_color, NONE, NONE, 3, WIDGET, LONG, LONG
# FUNCTION_NAME = fl_set_icm_color, NONE, NONE, 4, LONG, LONG, LONG, LONG
# FUNCTION_NAME = fl_set_focus_object, NONE, NONE, 2, WIDGET, WIDGET
# FUNCTION_NAME = fl_get_focus_object, NONE, WIDGET, 1, WIDGET
# FUNCTION_NAME = fl_bgn_group, NONE, WIDGET, 0
# FUNCTION_NAME = fl_end_group, NONE, WIDGET, 0
# FUNCTION_NAME = fl_addto_group, NONE, NONE, 1, WIDGET
