updated the archive.
This is a shellscript, that launches some other ones, and then compiles ginsbasic.
The "other ones" will scan the Gtk documentation, and build a new gins.c.
The path to the gtk-documentation must be set in "_html2func.pb".
In this file you also can set, which pages are scanned.
Code: Select all
a = gtk_set_locale ( 0 , 0 , 0 , 0 , 0 , 0 )
gtk_disable_setlocale ( 0 , 0 , 0 , 0 , 0 , 0 )
gtk_exit ( gint error_code , 0 , 0 , 0 , 0 , 0 )
a = gtk_events_pending ( 0 , 0 , 0 , 0 , 0 , 0 )
gtk_main ( 0 , 0 , 0 , 0 , 0 , 0 )
gtk_main_quit ( 0 , 0 , 0 , 0 , 0 , 0 )
a = gtk_main_iteration ( 0 , 0 , 0 , 0 , 0 , 0 )
a = gtk_main_iteration_do ( gboolean blocking , 0 , 0 , 0 , 0 , 0 )
gtk_main_do_event ( GDK_EVENT *event , 0 , 0 , 0 , 0 , 0 )
a = gtk_true ( 0 , 0 , 0 , 0 , 0 , 0 )
a = gtk_false ( 0 , 0 , 0 , 0 , 0 , 0 )
gtk_grab_add ( GTK_WIDGET *widget , 0 , 0 , 0 , 0 , 0 )
gtk_grab_remove ( GTK_WIDGET *widget , 0 , 0 , 0 , 0 , 0 )
gtk_quit_remove ( guint quit_handler_id , 0 , 0 , 0 , 0 , 0 )
gtk_quit_remove_by_data ( gpointer data , 0 , 0 , 0 , 0 , 0 )
gtk_timeout_remove ( guint timeout_handler_id , 0 , 0 , 0 , 0 , 0 )
gtk_idle_remove ( guint idle_handler_id , 0 , 0 , 0 , 0 , 0 )
gtk_idle_remove_by_data ( gpointer data , 0 , 0 , 0 , 0 , 0 )
gtk_input_remove ( guint input_handler_id , 0 , 0 , 0 , 0 , 0 )
gtk_key_snooper_remove ( guint snooper_handler_id , 0 , 0 , 0 , 0 , 0 )
a = gtk_get_current_event_state ( GDK_MODIFIER_TYPE *state , 0 , 0 , 0 , 0 , 0 )
gtk_accel_group_lock ( GTK_ACCEL_GROUP *accel_group , 0 , 0 , 0 , 0 , 0 )
gtk_accel_group_unlock ( GTK_ACCEL_GROUP *accel_group , 0 , 0 , 0 , 0 , 0 )
gtk_drag_dest_unset ( GTK_WIDGET *widget , 0 , 0 , 0 , 0 , 0 )
gtk_drag_dest_add_text_targets ( GTK_WIDGET *widget , 0 , 0 , 0 , 0 , 0 )
gtk_drag_dest_add_image_targets ( GTK_WIDGET *widget , 0 , 0 , 0 , 0 , 0 )
gtk_drag_dest_add_uri_targets ( GTK_WIDGET *widget , 0 , 0 , 0 , 0 , 0 )
gtk_drag_highlight ( GTK_WIDGET *widget , 0 , 0 , 0 , 0 , 0 )
gtk_drag_unhighlight ( GTK_WIDGET *widget , 0 , 0 , 0 , 0 , 0 )
gtk_drag_set_icon_stock ( GDK_DRAG_CONTEXT *context , const gchar *stock_id , gint hot_x , gint hot_y , 0 , 0 )
gtk_drag_set_icon_name ( GDK_DRAG_CONTEXT *context , const gchar *icon_name , gint hot_x , gint hot_y , 0 , 0 )
gtk_drag_set_icon_default ( GDK_DRAG_CONTEXT *context , 0 , 0 , 0 , 0 , 0 )
a = gtk_drag_check_threshold ( GTK_WIDGET *widget , gint start_x , gint start_y , gint current_x , gint current_y , 0 )
gtk_drag_source_set_icon_stock ( GTK_WIDGET *widget , const gchar *stock_id , 0 , 0 , 0 , 0 )
gtk_drag_source_set_icon_name ( GTK_WIDGET *widget , const gchar *icon_name , 0 , 0 , 0 , 0 )
gtk_drag_source_unset ( GTK_WIDGET *widget , 0 , 0 , 0 , 0 , 0 )
gtk_drag_source_add_text_targets ( GTK_WIDGET *widget , 0 , 0 , 0 , 0 , 0 )
gtk_drag_source_add_image_targets ( GTK_WIDGET *widget , 0 , 0 , 0 , 0 , 0 )
gtk_drag_source_add_uri_targets ( GTK_WIDGET *widget , 0 , 0 , 0 , 0 , 0 )
gtk_icon_theme_set_search_path ( GTK_ICON_THEME *icon_theme , const gchar *path[] , gint n_elements , 0 , 0 , 0 )
gtk_icon_theme_get_search_path ( GTK_ICON_THEME *icon_theme , gchar **path[] , gint *n_elements , 0 , 0 , 0 )
gtk_icon_theme_append_search_path ( GTK_ICON_THEME *icon_theme , const gchar *path , 0 , 0 , 0 , 0 )
gtk_icon_theme_prepend_search_path ( GTK_ICON_THEME *icon_theme , const gchar *path , 0 , 0 , 0 , 0 )
gtk_icon_theme_set_custom_theme ( GTK_ICON_THEME *icon_theme , const gchar *theme_name , 0 , 0 , 0 , 0 )
a = gtk_icon_theme_has_icon ( GTK_ICON_THEME *icon_theme , const gchar *icon_name , 0 , 0 , 0 , 0 )
a = gtk_icon_theme_rescan_if_needed ( GTK_ICON_THEME *icon_theme , 0 , 0 , 0 , 0 , 0 )
gtk_icon_info_free ( GTK_ICON_INFO *icon_info , 0 , 0 , 0 , 0 , 0 )
a = gtk_icon_info_get_filename ( GTK_ICON_INFO *icon_info , 0 , 0 , 0 , 0 , 0 )
gtk_icon_info_set_raw_coordinates ( GTK_ICON_INFO *icon_info , gboolean raw_coordinates , 0 , 0 , 0 , 0 )
a = gtk_icon_info_get_display_name ( GTK_ICON_INFO *icon_info , 0 , 0 , 0 , 0 , 0 )
gtk_clipboard_clear ( GTK_CLIPBOARD *clipboard , 0 , 0 , 0 , 0 , 0 )
gtk_clipboard_set_text ( GTK_CLIPBOARD *clipboard , const gchar *text , gint len , 0 , 0 , 0 )
a = gtk_clipboard_wait_for_text ( GTK_CLIPBOARD *clipboard , 0 , 0 , 0 , 0 , 0 )
a = gtk_clipboard_wait_is_text_available ( GTK_CLIPBOARD *clipboard , 0 , 0 , 0 , 0 , 0 )
a = gtk_clipboard_wait_is_image_available ( GTK_CLIPBOARD *clipboard , 0 , 0 , 0 , 0 , 0 )
gtk_clipboard_store ( GTK_CLIPBOARD *clipboard , 0 , 0 , 0 , 0 , 0 )
gtk_rc_add_widget_name_style ( GTK_RC_STYLE *rc_style , const gchar *pattern , 0 , 0 , 0 , 0 )
gtk_rc_add_widget_class_style ( GTK_RC_STYLE *rc_style , const gchar *pattern , 0 , 0 , 0 , 0 )
gtk_rc_add_class_style ( GTK_RC_STYLE *rc_style , const gchar *pattern , 0 , 0 , 0 , 0 )
gtk_rc_parse ( const gchar *filename , 0 , 0 , 0 , 0 , 0 )
gtk_rc_parse_string ( const gchar *rc_string , 0 , 0 , 0 , 0 , 0 )
a = gtk_rc_reparse_all ( 0 , 0 , 0 , 0 , 0 , 0 )
a = gtk_rc_reparse_all_for_settings ( GTK_SETTINGS *settings , gboolean force_load , 0 , 0 , 0 , 0 )
gtk_rc_reset_styles ( GTK_SETTINGS *settings , 0 , 0 , 0 , 0 , 0 )
gtk_rc_add_default_file ( const gchar *filename , 0 , 0 , 0 , 0 , 0 )
gtk_rc_set_default_files ( gchar **filenames , 0 , 0 , 0 , 0 , 0 )
a = gtk_rc_find_module_in_path ( const gchar *module_file , 0 , 0 , 0 , 0 , 0 )
a = gtk_rc_get_module_dir ( 0 , 0 , 0 , 0 , 0 , 0 )
a = gtk_rc_get_im_module_path ( 0 , 0 , 0 , 0 , 0 , 0 )
a = gtk_rc_get_im_module_file ( 0 , 0 , 0 , 0 , 0 , 0 )
a = gtk_rc_get_theme_dir ( 0 , 0 , 0 , 0 , 0 , 0 )
gtk_rc_style_ref ( GTK_RC_STYLE *rc_style , 0 , 0 , 0 , 0 , 0 )
gtk_rc_style_unref ( GTK_RC_STYLE *rc_style , 0 , 0 , 0 , 0 , 0 )
a = gtk_check_version ( guint required_major , guint required_minor , guint required_micro , 0 , 0 , 0 )
gtk_label_set_text ( GTK_LABEL *label , const gchar *str , 0 , 0 , 0 , 0 )
gtk_label_set_markup ( GTK_LABEL *label , const gchar *str , 0 , 0 , 0 , 0 )
gtk_label_set_markup_with_mnemonic ( GTK_LABEL *label , const gchar *str , 0 , 0 , 0 , 0 )
gtk_label_set_pattern ( GTK_LABEL *label , const gchar *pattern , 0 , 0 , 0 , 0 )
gtk_label_set_width_chars ( GTK_LABEL *label , gint n_chars , 0 , 0 , 0 , 0 )
gtk_label_set_max_width_chars ( GTK_LABEL *label , gint n_chars , 0 , 0 , 0 , 0 )
gtk_label_get ( GTK_LABEL *label , gchar **str , 0 , 0 , 0 , 0 )
gtk_label_set_line_wrap ( GTK_LABEL *label , gboolean wrap , 0 , 0 , 0 , 0 )
gtk_label_get_layout_offsets ( GTK_LABEL *label , gint *x , gint *y , 0 , 0 , 0 )
a = gtk_label_get_selectable ( GTK_LABEL *label , 0 , 0 , 0 , 0 , 0 )
a = gtk_label_get_text ( GTK_LABEL *label , 0 , 0 , 0 , 0 , 0 )
gtk_label_select_region ( GTK_LABEL *label , gint start_offset , gint end_offset , 0 , 0 , 0 )
gtk_label_set_selectable ( GTK_LABEL *label , gboolean setting , 0 , 0 , 0 , 0 )
gtk_label_set_text_with_mnemonic ( GTK_LABEL *label , const gchar *str , 0 , 0 , 0 , 0 )
a = gtk_label_get_label ( GTK_LABEL *label , 0 , 0 , 0 , 0 , 0 )
a = gtk_label_get_line_wrap ( GTK_LABEL *label , 0 , 0 , 0 , 0 , 0 )
a = gtk_label_get_selection_bounds ( GTK_LABEL *label , gint *start , gint *end , 0 , 0 , 0 )
a = gtk_label_get_use_markup ( GTK_LABEL *label , 0 , 0 , 0 , 0 , 0 )
a = gtk_label_get_use_underline ( GTK_LABEL *label , 0 , 0 , 0 , 0 , 0 )
a = gtk_label_get_single_line_mode ( GTK_LABEL *label , 0 , 0 , 0 , 0 , 0 )
a = gtk_label_get_angle ( GTK_LABEL *label , 0 , 0 , 0 , 0 , 0 )
gtk_label_set_label ( GTK_LABEL *label , const gchar *str , 0 , 0 , 0 , 0 )
gtk_label_set_use_markup ( GTK_LABEL *label , gboolean setting , 0 , 0 , 0 , 0 )
gtk_label_set_use_underline ( GTK_LABEL *label , gboolean setting , 0 , 0 , 0 , 0 )
gtk_label_set_single_line_mode ( GTK_LABEL *label , gboolean single_line_mode , 0 , 0 , 0 , 0 )
gtk_label_set_angle ( GTK_LABEL *label , gdouble angle , 0 , 0 , 0 , 0 )
gtk_button_pressed ( GTK_BUTTON *button , 0 , 0 , 0 , 0 , 0 )
gtk_button_released ( GTK_BUTTON *button , 0 , 0 , 0 , 0 , 0 )
gtk_button_clicked ( GTK_BUTTON *button , 0 , 0 , 0 , 0 , 0 )
gtk_button_enter ( GTK_BUTTON *button , 0 , 0 , 0 , 0 , 0 )
gtk_button_leave ( GTK_BUTTON *button , 0 , 0 , 0 , 0 , 0 )
a = gtk_button_get_label ( GTK_BUTTON *button , 0 , 0 , 0 , 0 , 0 )
gtk_button_set_label ( GTK_BUTTON *button , const gchar *label , 0 , 0 , 0 , 0 )
a = gtk_button_get_use_stock ( GTK_BUTTON *button , 0 , 0 , 0 , 0 , 0 )
gtk_button_set_use_stock ( GTK_BUTTON *button , gboolean use_stock , 0 , 0 , 0 , 0 )
a = gtk_button_get_use_underline ( GTK_BUTTON *button , 0 , 0 , 0 , 0 , 0 )
gtk_button_set_use_underline ( GTK_BUTTON *button , gboolean use_underline , 0 , 0 , 0 , 0 )
gtk_button_set_focus_on_click ( GTK_BUTTON *button , gboolean focus_on_click , 0 , 0 , 0 , 0 )
a = gtk_button_get_focus_on_click ( GTK_BUTTON *button , 0 , 0 , 0 , 0 , 0 )
gtk_button_set_alignment ( GTK_BUTTON *button , gfloat xalign , gfloat yalign , 0 , 0 , 0 )
gtk_button_get_alignment ( GTK_BUTTON *button , gfloat *xalign , gfloat *yalign , 0 , 0 , 0 )
gtk_file_chooser_set_local_only ( GTK_FILE_CHOOSER *chooser , gboolean local_only , 0 , 0 , 0 , 0 )
a = gtk_file_chooser_get_local_only ( GTK_FILE_CHOOSER *chooser , 0 , 0 , 0 , 0 , 0 )
gtk_file_chooser_set_select_multiple ( GTK_FILE_CHOOSER *chooser , gboolean select_multiple , 0 , 0 , 0 , 0 )
a = gtk_file_chooser_get_select_multiple ( GTK_FILE_CHOOSER *chooser , 0 , 0 , 0 , 0 , 0 )
gtk_file_chooser_set_show_hidden ( GTK_FILE_CHOOSER *chooser , gboolean show_hidden , 0 , 0 , 0 , 0 )
a = gtk_file_chooser_get_show_hidden ( GTK_FILE_CHOOSER *chooser , 0 , 0 , 0 , 0 , 0 )
gtk_file_chooser_set_do_overwrite_confirmation ( GTK_FILE_CHOOSER *chooser , gboolean do_overwrite_confirmation , 0 , 0 , 0 , 0 )
a = gtk_file_chooser_get_do_overwrite_confirmation ( GTK_FILE_CHOOSER *chooser , 0 , 0 , 0 , 0 , 0 )
gtk_file_chooser_set_current_name ( GTK_FILE_CHOOSER *chooser , const gchar *name , 0 , 0 , 0 , 0 )
a = gtk_file_chooser_get_filename ( GTK_FILE_CHOOSER *chooser , 0 , 0 , 0 , 0 , 0 )
gtk_file_chooser_select_all ( GTK_FILE_CHOOSER *chooser , 0 , 0 , 0 , 0 , 0 )
gtk_file_chooser_unselect_all ( GTK_FILE_CHOOSER *chooser , 0 , 0 , 0 , 0 , 0 )
a = gtk_file_chooser_set_current_folder ( GTK_FILE_CHOOSER *chooser , const gchar *filename , 0 , 0 , 0 , 0 )
a = gtk_file_chooser_get_current_folder ( GTK_FILE_CHOOSER *chooser , 0 , 0 , 0 , 0 , 0 )
a = gtk_file_chooser_get_uri ( GTK_FILE_CHOOSER *chooser , 0 , 0 , 0 , 0 , 0 )
a = gtk_file_chooser_set_current_folder_uri ( GTK_FILE_CHOOSER *chooser , const gchar *uri , 0 , 0 , 0 , 0 )
a = gtk_file_chooser_get_current_folder_uri ( GTK_FILE_CHOOSER *chooser , 0 , 0 , 0 , 0 , 0 )
gtk_file_chooser_set_preview_widget_active ( GTK_FILE_CHOOSER *chooser , gboolean active , 0 , 0 , 0 , 0 )
a = gtk_file_chooser_get_preview_widget_active ( GTK_FILE_CHOOSER *chooser , 0 , 0 , 0 , 0 , 0 )
gtk_file_chooser_set_use_preview_label ( GTK_FILE_CHOOSER *chooser , gboolean use_label , 0 , 0 , 0 , 0 )
a = gtk_file_chooser_get_use_preview_label ( GTK_FILE_CHOOSER *chooser , 0 , 0 , 0 , 0 , 0 )
a = gtk_file_chooser_button_get_title ( GTK_FILE_CHOOSER_BUTTON *button , 0 , 0 , 0 , 0 , 0 )
gtk_file_chooser_button_set_title ( GTK_FILE_CHOOSER_BUTTON *button , const gchar *title , 0 , 0 , 0 , 0 )
gtk_file_chooser_button_set_width_chars ( GTK_FILE_CHOOSER_BUTTON *button , gint n_chars , 0 , 0 , 0 , 0 )
gtk_file_selection_set_filename ( GTK_FILE_SELECTION *filesel , const gchar *filename , 0 , 0 , 0 , 0 )
a = gtk_file_selection_get_filename ( GTK_FILE_SELECTION *filesel , 0 , 0 , 0 , 0 , 0 )
gtk_file_selection_complete ( GTK_FILE_SELECTION *filesel , const gchar *pattern , 0 , 0 , 0 , 0 )
gtk_file_selection_show_fileop_buttons ( GTK_FILE_SELECTION *filesel , 0 , 0 , 0 , 0 , 0 )
gtk_file_selection_hide_fileop_buttons ( GTK_FILE_SELECTION *filesel , 0 , 0 , 0 , 0 , 0 )
gtk_file_selection_set_select_multiple ( GTK_FILE_SELECTION *filesel , gboolean select_multiple , 0 , 0 , 0 , 0 )
a = gtk_file_selection_get_select_multiple ( GTK_FILE_SELECTION *filesel , 0 , 0 , 0 , 0 , 0 )
gtk_color_button_set_use_alpha ( GTK_COLOR_BUTTON *color_button , gboolean use_alpha , 0 , 0 , 0 , 0 )
a = gtk_color_button_get_use_alpha ( GTK_COLOR_BUTTON *color_button , 0 , 0 , 0 , 0 , 0 )
gtk_color_button_set_title ( GTK_COLOR_BUTTON *color_button , const gchar *title , 0 , 0 , 0 , 0 )
a = gtk_color_button_get_title ( GTK_COLOR_BUTTON *color_button , 0 , 0 , 0 , 0 , 0 )
a = gtk_text_view_place_cursor_onscreen ( GTK_TEXT_VIEW *text_view , 0 , 0 , 0 , 0 , 0 )
a = gtk_text_child_anchor_get_deleted ( GTK_TEXT_CHILD_ANCHOR *anchor , 0 , 0 , 0 , 0 , 0 )
gtk_text_view_set_editable ( GTK_TEXT_VIEW *text_view , gboolean setting , 0 , 0 , 0 , 0 )
a = gtk_text_view_get_editable ( GTK_TEXT_VIEW *text_view , 0 , 0 , 0 , 0 , 0 )
gtk_text_view_set_cursor_visible ( GTK_TEXT_VIEW *text_view , gboolean setting , 0 , 0 , 0 , 0 )
a = gtk_text_view_get_cursor_visible ( GTK_TEXT_VIEW *text_view , 0 , 0 , 0 , 0 , 0 )
gtk_text_view_set_overwrite ( GTK_TEXT_VIEW *text_view , gboolean overwrite , 0 , 0 , 0 , 0 )
a = gtk_text_view_get_overwrite ( GTK_TEXT_VIEW *text_view , 0 , 0 , 0 , 0 , 0 )
gtk_text_view_set_pixels_above_lines ( GTK_TEXT_VIEW *text_view , gint pixels_above_lines , 0 , 0 , 0 , 0 )
gtk_text_view_set_pixels_below_lines ( GTK_TEXT_VIEW *text_view , gint pixels_below_lines , 0 , 0 , 0 , 0 )
gtk_text_view_set_pixels_inside_wrap ( GTK_TEXT_VIEW *text_view , gint pixels_inside_wrap , 0 , 0 , 0 , 0 )
gtk_text_view_set_left_margin ( GTK_TEXT_VIEW *text_view , gint left_margin , 0 , 0 , 0 , 0 )
gtk_text_view_set_right_margin ( GTK_TEXT_VIEW *text_view , gint right_margin , 0 , 0 , 0 , 0 )
gtk_text_view_set_indent ( GTK_TEXT_VIEW *text_view , gint indent , 0 , 0 , 0 , 0 )
gtk_text_view_set_accepts_tab ( GTK_TEXT_VIEW *text_view , gboolean accepts_tab , 0 , 0 , 0 , 0 )
a = gtk_text_view_get_accepts_tab ( GTK_TEXT_VIEW *text_view , 0 , 0 , 0 , 0 , 0 )
gtk_entry_set_text ( GTK_ENTRY *entry , const gchar *text , 0 , 0 , 0 , 0 )
gtk_entry_append_text ( GTK_ENTRY *entry , const gchar *text , 0 , 0 , 0 , 0 )
gtk_entry_prepend_text ( GTK_ENTRY *entry , const gchar *text , 0 , 0 , 0 , 0 )
gtk_entry_set_position ( GTK_ENTRY *entry , gint position , 0 , 0 , 0 , 0 )
a = gtk_entry_get_text ( GTK_ENTRY *entry , 0 , 0 , 0 , 0 , 0 )
gtk_entry_select_region ( GTK_ENTRY *entry , gint start , gint end , 0 , 0 , 0 )
gtk_entry_set_visibility ( GTK_ENTRY *entry , gboolean visible , 0 , 0 , 0 , 0 )
gtk_entry_set_editable ( GTK_ENTRY *entry , gboolean editable , 0 , 0 , 0 , 0 )
gtk_entry_set_max_length ( GTK_ENTRY *entry , gint max , 0 , 0 , 0 , 0 )
a = gtk_entry_get_activates_default ( GTK_ENTRY *entry , 0 , 0 , 0 , 0 , 0 )
a = gtk_entry_get_has_frame ( GTK_ENTRY *entry , 0 , 0 , 0 , 0 , 0 )
gtk_entry_set_activates_default ( GTK_ENTRY *entry , gboolean setting , 0 , 0 , 0 , 0 )
gtk_entry_set_has_frame ( GTK_ENTRY *entry , gboolean setting , 0 , 0 , 0 , 0 )
gtk_entry_set_width_chars ( GTK_ENTRY *entry , gint n_chars , 0 , 0 , 0 , 0 )
gtk_entry_set_alignment ( GTK_ENTRY *entry , gfloat xalign , 0 , 0 , 0 , 0 )
gtk_entry_get_layout_offsets ( GTK_ENTRY *entry , gint *x , gint *y , 0 , 0 , 0 )
a = gtk_entry_get_visibility ( GTK_ENTRY *entry , 0 , 0 , 0 , 0 , 0 )
Not every function might work, some might crash ginsbasic due to conversion-errors. But most incompatible ones are already sorted out automatically.
I'm sorry for this, but this is under heavy development, so there might be more changes in future.
But I hope, like this now I have more or less the final syntax.