Changeset 376

Show
Ignore:
Timestamp:
01/02/08 14:55:59 (1 year ago)
Author:
Mike Wey
Message:

These two were missing from r375

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/gtkc/gtk.d

    r366 r376  
    21312131    gint function(GtkRadioAction* action)gtk_radio_action_get_current_value; 
    21322132    void function(GtkRadioAction* action, gint currentValue)gtk_radio_action_set_current_value; 
     2133     
     2134    // gtk.RecentAction 
     2135     
     2136    GtkAction* function(gchar* name, gchar* label, gchar* tooltip, gchar* stockId)gtk_recent_action_new; 
     2137    GtkAction* function(gchar* name, gchar* label, gchar* tooltip, gchar* stockId, GtkRecentManager* manager)gtk_recent_action_new_for_manager; 
     2138    gboolean function(GtkRecentAction* action)gtk_recent_action_get_show_numbers; 
     2139    void function(GtkRecentAction* action, gboolean showNumbers)gtk_recent_action_set_show_numbers; 
    21332140     
    21342141    // gtk.ColorButton 
     
    31873194     
    31883195    GtkWidget* function()gtk_vruler_new; 
     3196     
     3197    // gtk.RecentManager 
     3198     
     3199    GtkRecentManager* function()gtk_recent_manager_new; 
     3200    GtkRecentManager* function()gtk_recent_manager_get_default; 
     3201    GtkRecentManager* function(GdkScreen* screen)gtk_recent_manager_get_for_screen; 
     3202    void function(GtkRecentManager* manager, GdkScreen* screen)gtk_recent_manager_set_screen; 
     3203    gboolean function(GtkRecentManager* manager, gchar* uri)gtk_recent_manager_add_item; 
     3204    gboolean function(GtkRecentManager* manager, gchar* uri, GtkRecentData* recentData)gtk_recent_manager_add_full; 
     3205    gboolean function(GtkRecentManager* manager, gchar* uri, GError** error)gtk_recent_manager_remove_item; 
     3206    GtkRecentInfo* function(GtkRecentManager* manager, gchar* uri, GError** error)gtk_recent_manager_lookup_item; 
     3207    gboolean function(GtkRecentManager* manager, gchar* uri)gtk_recent_manager_has_item; 
     3208    gboolean function(GtkRecentManager* manager, gchar* uri, gchar* newUri, GError** error)gtk_recent_manager_move_item; 
     3209    gint function(GtkRecentManager* manager)gtk_recent_manager_get_limit; 
     3210    void function(GtkRecentManager* manager, gint limit)gtk_recent_manager_set_limit; 
     3211    GList* function(GtkRecentManager* manager)gtk_recent_manager_get_items; 
     3212    gint function(GtkRecentManager* manager, GError** error)gtk_recent_manager_purge_items; 
     3213     
     3214    // gtk.RecentInfo 
     3215     
     3216    GtkRecentInfo* function(GtkRecentInfo* info)gtk_recent_info_ref; 
     3217    void function(GtkRecentInfo* info)gtk_recent_info_unref; 
     3218    gchar* function(GtkRecentInfo* info)gtk_recent_info_get_uri; 
     3219    gchar* function(GtkRecentInfo* info)gtk_recent_info_get_display_name; 
     3220    gchar* function(GtkRecentInfo* info)gtk_recent_info_get_description; 
     3221    gchar* function(GtkRecentInfo* info)gtk_recent_info_get_mime_type; 
     3222    time_t function(GtkRecentInfo* info)gtk_recent_info_get_added; 
     3223    time_t function(GtkRecentInfo* info)gtk_recent_info_get_modified; 
     3224    time_t function(GtkRecentInfo* info)gtk_recent_info_get_visited; 
     3225    gboolean function(GtkRecentInfo* info)gtk_recent_info_get_private_hint; 
     3226    gboolean function(GtkRecentInfo* info, gchar* appName, gchar** appExec, guint* count, time_t* time)gtk_recent_info_get_application_info; 
     3227    gchar** function(GtkRecentInfo* info, gsize* length)gtk_recent_info_get_applications; 
     3228    gchar* function(GtkRecentInfo* info)gtk_recent_info_last_application; 
     3229    gchar** function(GtkRecentInfo* info, gsize* length)gtk_recent_info_get_groups; 
     3230    gboolean function(GtkRecentInfo* info, gchar* groupName)gtk_recent_info_has_group; 
     3231    gboolean function(GtkRecentInfo* info, gchar* appName)gtk_recent_info_has_application; 
     3232    GdkPixbuf* function(GtkRecentInfo* info, gint size)gtk_recent_info_get_icon; 
     3233    gchar* function(GtkRecentInfo* info)gtk_recent_info_get_short_name; 
     3234    gchar* function(GtkRecentInfo* info)gtk_recent_info_get_uri_display; 
     3235    gint function(GtkRecentInfo* info)gtk_recent_info_get_age; 
     3236    gboolean function(GtkRecentInfo* info)gtk_recent_info_is_local; 
     3237    gboolean function(GtkRecentInfo* info)gtk_recent_info_exists; 
     3238    gboolean function(GtkRecentInfo* infoA, GtkRecentInfo* infoB)gtk_recent_info_match; 
     3239     
     3240    // gtk.RecentChooserT 
     3241     
     3242     
     3243    // gtk.RecentChooserT 
     3244     
     3245    void function(GtkRecentChooser* chooser, gboolean showPrivate)gtk_recent_chooser_set_show_private; 
     3246    gboolean function(GtkRecentChooser* chooser)gtk_recent_chooser_get_show_private; 
     3247    void function(GtkRecentChooser* chooser, gboolean showNotFound)gtk_recent_chooser_set_show_not_found; 
     3248    gboolean function(GtkRecentChooser* chooser)gtk_recent_chooser_get_show_not_found; 
     3249    void function(GtkRecentChooser* chooser, gboolean showIcons)gtk_recent_chooser_set_show_icons; 
     3250    gboolean function(GtkRecentChooser* chooser)gtk_recent_chooser_get_show_icons; 
     3251    void function(GtkRecentChooser* chooser, gboolean selectMultiple)gtk_recent_chooser_set_select_multiple; 
     3252    gboolean function(GtkRecentChooser* chooser)gtk_recent_chooser_get_select_multiple; 
     3253    void function(GtkRecentChooser* chooser, gboolean localOnly)gtk_recent_chooser_set_local_only; 
     3254    gboolean function(GtkRecentChooser* chooser)gtk_recent_chooser_get_local_only; 
     3255    void function(GtkRecentChooser* chooser, gint limit)gtk_recent_chooser_set_limit; 
     3256    gint function(GtkRecentChooser* chooser)gtk_recent_chooser_get_limit; 
     3257    void function(GtkRecentChooser* chooser, gboolean showTips)gtk_recent_chooser_set_show_tips; 
     3258    gboolean function(GtkRecentChooser* chooser)gtk_recent_chooser_get_show_tips; 
     3259    void function(GtkRecentChooser* chooser, gboolean showNumbers)gtk_recent_chooser_set_show_numbers; 
     3260    gboolean function(GtkRecentChooser* chooser)gtk_recent_chooser_get_show_numbers; 
     3261    void function(GtkRecentChooser* chooser, GtkRecentSortType sortType)gtk_recent_chooser_set_sort_type; 
     3262    GtkRecentSortType function(GtkRecentChooser* chooser)gtk_recent_chooser_get_sort_type; 
     3263    void function(GtkRecentChooser* chooser, GtkRecentSortFunc sortFunc, gpointer sortData, GDestroyNotify dataDestroy)gtk_recent_chooser_set_sort_func; 
     3264    gboolean function(GtkRecentChooser* chooser, gchar* uri, GError** error)gtk_recent_chooser_set_current_uri; 
     3265    gchar* function(GtkRecentChooser* chooser)gtk_recent_chooser_get_current_uri; 
     3266    GtkRecentInfo* function(GtkRecentChooser* chooser)gtk_recent_chooser_get_current_item; 
     3267    gboolean function(GtkRecentChooser* chooser, gchar* uri, GError** error)gtk_recent_chooser_select_uri; 
     3268    void function(GtkRecentChooser* chooser, gchar* uri)gtk_recent_chooser_unselect_uri; 
     3269    void function(GtkRecentChooser* chooser)gtk_recent_chooser_select_all; 
     3270    void function(GtkRecentChooser* chooser)gtk_recent_chooser_unselect_all; 
     3271    GList* function(GtkRecentChooser* chooser)gtk_recent_chooser_get_items; 
     3272    gchar** function(GtkRecentChooser* chooser, gsize* length)gtk_recent_chooser_get_uris; 
     3273    void function(GtkRecentChooser* chooser, GtkRecentFilter* filter)gtk_recent_chooser_add_filter; 
     3274    void function(GtkRecentChooser* chooser, GtkRecentFilter* filter)gtk_recent_chooser_remove_filter; 
     3275    GSList* function(GtkRecentChooser* chooser)gtk_recent_chooser_list_filters; 
     3276    void function(GtkRecentChooser* chooser, GtkRecentFilter* filter)gtk_recent_chooser_set_filter; 
     3277    GtkRecentFilter* function(GtkRecentChooser* chooser)gtk_recent_chooser_get_filter; 
     3278     
     3279    // gtk.RecentChooserDialog 
     3280     
     3281    GtkWidget* function(gchar* title, GtkWindow* parent, gchar* firstButtonText, ... )gtk_recent_chooser_dialog_new; 
     3282    GtkWidget* function(gchar* title, GtkWindow* parent, GtkRecentManager* manager, gchar* firstButtonText, ... )gtk_recent_chooser_dialog_new_for_manager; 
     3283     
     3284    // gtk.RecentChooserMenu 
     3285     
     3286    GtkWidget* function()gtk_recent_chooser_menu_new; 
     3287    GtkWidget* function(GtkRecentManager* manager)gtk_recent_chooser_menu_new_for_manager; 
     3288    gboolean function(GtkRecentChooserMenu* menu)gtk_recent_chooser_menu_get_show_numbers; 
     3289    void function(GtkRecentChooserMenu* menu, gboolean showNumbers)gtk_recent_chooser_menu_set_show_numbers; 
     3290     
     3291    // gtk.RecentChooserWidget 
     3292     
     3293    GtkWidget* function()gtk_recent_chooser_widget_new; 
     3294    GtkWidget* function(GtkRecentManager* manager)gtk_recent_chooser_widget_new_for_manager; 
     3295     
     3296    // gtk.RecentFilter 
     3297     
     3298    GtkRecentFilter* function()gtk_recent_filter_new; 
     3299    gchar* function(GtkRecentFilter* filter)gtk_recent_filter_get_name; 
     3300    void function(GtkRecentFilter* filter, gchar* name)gtk_recent_filter_set_name; 
     3301    void function(GtkRecentFilter* filter, gchar* mimeType)gtk_recent_filter_add_mime_type; 
     3302    void function(GtkRecentFilter* filter, gchar* pattern)gtk_recent_filter_add_pattern; 
     3303    void function(GtkRecentFilter* filter)gtk_recent_filter_add_pixbuf_formats; 
     3304    void function(GtkRecentFilter* filter, gchar* application)gtk_recent_filter_add_application; 
     3305    void function(GtkRecentFilter* filter, gchar* group)gtk_recent_filter_add_group; 
     3306    void function(GtkRecentFilter* filter, gint days)gtk_recent_filter_add_age; 
     3307    void function(GtkRecentFilter* filter, GtkRecentFilterFlags needed, GtkRecentFilterFunc func, gpointer data, GDestroyNotify dataDestroy)gtk_recent_filter_add_custom; 
     3308    GtkRecentFilterFlags function(GtkRecentFilter* filter)gtk_recent_filter_get_needed; 
     3309    gboolean function(GtkRecentFilter* filter, GtkRecentFilterInfo* filterInfo)gtk_recent_filter_filter; 
    31893310     
    31903311    // gtk.FileSelection 
     
    50205141    { "gtk_radio_action_get_current_value",  cast(void**)& gtk_radio_action_get_current_value}, 
    50215142    { "gtk_radio_action_set_current_value",  cast(void**)& gtk_radio_action_set_current_value}, 
     5143    { "gtk_recent_action_new",  cast(void**)& gtk_recent_action_new}, 
     5144    { "gtk_recent_action_new_for_manager",  cast(void**)& gtk_recent_action_new_for_manager}, 
     5145    { "gtk_recent_action_get_show_numbers",  cast(void**)& gtk_recent_action_get_show_numbers}, 
     5146    { "gtk_recent_action_set_show_numbers",  cast(void**)& gtk_recent_action_set_show_numbers}, 
    50225147    { "gtk_color_button_new",  cast(void**)& gtk_color_button_new}, 
    50235148    { "gtk_color_button_new_with_color",  cast(void**)& gtk_color_button_new_with_color}, 
     
    58485973    { "gtk_hruler_new",  cast(void**)& gtk_hruler_new}, 
    58495974    { "gtk_vruler_new",  cast(void**)& gtk_vruler_new}, 
     5975    { "gtk_recent_manager_new",  cast(void**)& gtk_recent_manager_new}, 
     5976    { "gtk_recent_manager_get_default",  cast(void**)& gtk_recent_manager_get_default}, 
     5977    { "gtk_recent_manager_get_for_screen",  cast(void**)& gtk_recent_manager_get_for_screen}, 
     5978    { "gtk_recent_manager_set_screen",  cast(void**)& gtk_recent_manager_set_screen}, 
     5979    { "gtk_recent_manager_add_item",  cast(void**)& gtk_recent_manager_add_item}, 
     5980    { "gtk_recent_manager_add_full",  cast(void**)& gtk_recent_manager_add_full}, 
     5981    { "gtk_recent_manager_remove_item",  cast(void**)& gtk_recent_manager_remove_item}, 
     5982    { "gtk_recent_manager_lookup_item",  cast(void**)& gtk_recent_manager_lookup_item}, 
     5983    { "gtk_recent_manager_has_item",  cast(void**)& gtk_recent_manager_has_item}, 
     5984    { "gtk_recent_manager_move_item",  cast(void**)& gtk_recent_manager_move_item}, 
     5985    { "gtk_recent_manager_get_limit",  cast(void**)& gtk_recent_manager_get_limit}, 
     5986    { "gtk_recent_manager_set_limit",  cast(void**)& gtk_recent_manager_set_limit}, 
     5987    { "gtk_recent_manager_get_items",  cast(void**)& gtk_recent_manager_get_items}, 
     5988    { "gtk_recent_manager_purge_items",  cast(void**)& gtk_recent_manager_purge_items}, 
     5989    { "gtk_recent_info_ref",  cast(void**)& gtk_recent_info_ref}, 
     5990    { "gtk_recent_info_unref",  cast(void**)& gtk_recent_info_unref}, 
     5991    { "gtk_recent_info_get_uri",  cast(void**)& gtk_recent_info_get_uri}, 
     5992    { "gtk_recent_info_get_display_name",  cast(void**)& gtk_recent_info_get_display_name}, 
     5993    { "gtk_recent_info_get_description",  cast(void**)& gtk_recent_info_get_description}, 
     5994    { "gtk_recent_info_get_mime_type",  cast(void**)& gtk_recent_info_get_mime_type}, 
     5995    { "gtk_recent_info_get_added",  cast(void**)& gtk_recent_info_get_added}, 
     5996    { "gtk_recent_info_get_modified",  cast(void**)& gtk_recent_info_get_modified}, 
     5997    { "gtk_recent_info_get_visited",  cast(void**)& gtk_recent_info_get_visited}, 
     5998    { "gtk_recent_info_get_private_hint",  cast(void**)& gtk_recent_info_get_private_hint}, 
     5999    { "gtk_recent_info_get_application_info",  cast(void**)& gtk_recent_info_get_application_info}, 
     6000    { "gtk_recent_info_get_applications",  cast(void**)& gtk_recent_info_get_applications}, 
     6001    { "gtk_recent_info_last_application",  cast(void**)& gtk_recent_info_last_application}, 
     6002    { "gtk_recent_info_get_groups",  cast(void**)& gtk_recent_info_get_groups}, 
     6003    { "gtk_recent_info_has_group",  cast(void**)& gtk_recent_info_has_group}, 
     6004    { "gtk_recent_info_has_application",  cast(void**)& gtk_recent_info_has_application}, 
     6005    { "gtk_recent_info_get_icon",  cast(void**)& gtk_recent_info_get_icon}, 
     6006    { "gtk_recent_info_get_short_name",  cast(void**)& gtk_recent_info_get_short_name}, 
     6007    { "gtk_recent_info_get_uri_display",  cast(void**)& gtk_recent_info_get_uri_display}, 
     6008    { "gtk_recent_info_get_age",  cast(void**)& gtk_recent_info_get_age}, 
     6009    { "gtk_recent_info_is_local",  cast(void**)& gtk_recent_info_is_local}, 
     6010    { "gtk_recent_info_exists",  cast(void**)& gtk_recent_info_exists}, 
     6011    { "gtk_recent_info_match",  cast(void**)& gtk_recent_info_match}, 
     6012    { "gtk_recent_chooser_set_show_private",  cast(void**)& gtk_recent_chooser_set_show_private}, 
     6013    { "gtk_recent_chooser_get_show_private",  cast(void**)& gtk_recent_chooser_get_show_private}, 
     6014    { "gtk_recent_chooser_set_show_not_found",  cast(void**)& gtk_recent_chooser_set_show_not_found}, 
     6015    { "gtk_recent_chooser_get_show_not_found",  cast(void**)& gtk_recent_chooser_get_show_not_found}, 
     6016    { "gtk_recent_chooser_set_show_icons",  cast(void**)& gtk_recent_chooser_set_show_icons}, 
     6017    { "gtk_recent_chooser_get_show_icons",  cast(void**)& gtk_recent_chooser_get_show_icons}, 
     6018    { "gtk_recent_chooser_set_select_multiple",  cast(void**)& gtk_recent_chooser_set_select_multiple}, 
     6019    { "gtk_recent_chooser_get_select_multiple",  cast(void**)& gtk_recent_chooser_get_select_multiple}, 
     6020    { "gtk_recent_chooser_set_local_only",  cast(void**)& gtk_recent_chooser_set_local_only}, 
     6021    { "gtk_recent_chooser_get_local_only",  cast(void**)& gtk_recent_chooser_get_local_only}, 
     6022    { "gtk_recent_chooser_set_limit",  cast(void**)& gtk_recent_chooser_set_limit}, 
     6023    { "gtk_recent_chooser_get_limit",  cast(void**)& gtk_recent_chooser_get_limit}, 
     6024    { "gtk_recent_chooser_set_show_tips",  cast(void**)& gtk_recent_chooser_set_show_tips}, 
     6025    { "gtk_recent_chooser_get_show_tips",  cast(void**)& gtk_recent_chooser_get_show_tips}, 
     6026    { "gtk_recent_chooser_set_show_numbers",  cast(void**)& gtk_recent_chooser_set_show_numbers}, 
     6027    { "gtk_recent_chooser_get_show_numbers",  cast(void**)& gtk_recent_chooser_get_show_numbers}, 
     6028    { "gtk_recent_chooser_set_sort_type",  cast(void**)& gtk_recent_chooser_set_sort_type}, 
     6029    { "gtk_recent_chooser_get_sort_type",  cast(void**)& gtk_recent_chooser_get_sort_type}, 
     6030    { "gtk_recent_chooser_set_sort_func",  cast(void**)& gtk_recent_chooser_set_sort_func}, 
     6031    { "gtk_recent_chooser_set_current_uri",  cast(void**)& gtk_recent_chooser_set_current_uri}, 
     6032    { "gtk_recent_chooser_get_current_uri",  cast(void**)& gtk_recent_chooser_get_current_uri}, 
     6033    { "gtk_recent_chooser_get_current_item",  cast(void**)& gtk_recent_chooser_get_current_item}, 
     6034    { "gtk_recent_chooser_select_uri",  cast(void**)& gtk_recent_chooser_select_uri}, 
     6035    { "gtk_recent_chooser_unselect_uri",  cast(void**)& gtk_recent_chooser_unselect_uri}, 
     6036    { "gtk_recent_chooser_select_all",  cast(void**)& gtk_recent_chooser_select_all}, 
     6037    { "gtk_recent_chooser_unselect_all",  cast(void**)& gtk_recent_chooser_unselect_all}, 
     6038    { "gtk_recent_chooser_get_items",  cast(void**)& gtk_recent_chooser_get_items}, 
     6039    { "gtk_recent_chooser_get_uris",  cast(void**)& gtk_recent_chooser_get_uris}, 
     6040    { "gtk_recent_chooser_add_filter",  cast(void**)& gtk_recent_chooser_add_filter}, 
     6041    { "gtk_recent_chooser_remove_filter",  cast(void**)& gtk_recent_chooser_remove_filter}, 
     6042    { "gtk_recent_chooser_list_filters",  cast(void**)& gtk_recent_chooser_list_filters}, 
     6043    { "gtk_recent_chooser_set_filter",  cast(void**)& gtk_recent_chooser_set_filter}, 
     6044    { "gtk_recent_chooser_get_filter",  cast(void**)& gtk_recent_chooser_get_filter}, 
     6045    { "gtk_recent_chooser_dialog_new",  cast(void**)& gtk_recent_chooser_dialog_new}, 
     6046    { "gtk_recent_chooser_dialog_new_for_manager",  cast(void**)& gtk_recent_chooser_dialog_new_for_manager}, 
     6047    { "gtk_recent_chooser_menu_new",  cast(void**)& gtk_recent_chooser_menu_new}, 
     6048    { "gtk_recent_chooser_menu_new_for_manager",  cast(void**)& gtk_recent_chooser_menu_new_for_manager}, 
     6049    { "gtk_recent_chooser_menu_get_show_numbers",  cast(void**)& gtk_recent_chooser_menu_get_show_numbers}, 
     6050    { "gtk_recent_chooser_menu_set_show_numbers",  cast(void**)& gtk_recent_chooser_menu_set_show_numbers}, 
     6051    { "gtk_recent_chooser_widget_new",  cast(void**)& gtk_recent_chooser_widget_new}, 
     6052    { "gtk_recent_chooser_widget_new_for_manager",  cast(void**)& gtk_recent_chooser_widget_new_for_manager}, 
     6053    { "gtk_recent_filter_new",  cast(void**)& gtk_recent_filter_new}, 
     6054    { "gtk_recent_filter_get_name",  cast(void**)& gtk_recent_filter_get_name}, 
     6055    { "gtk_recent_filter_set_name",  cast(void**)& gtk_recent_filter_set_name}, 
     6056    { "gtk_recent_filter_add_mime_type",  cast(void**)& gtk_recent_filter_add_mime_type}, 
     6057    { "gtk_recent_filter_add_pattern",  cast(void**)& gtk_recent_filter_add_pattern}, 
     6058    { "gtk_recent_filter_add_pixbuf_formats",  cast(void**)& gtk_recent_filter_add_pixbuf_formats}, 
     6059    { "gtk_recent_filter_add_application",  cast(void**)& gtk_recent_filter_add_application}, 
     6060    { "gtk_recent_filter_add_group",  cast(void**)& gtk_recent_filter_add_group}, 
     6061    { "gtk_recent_filter_add_age",  cast(void**)& gtk_recent_filter_add_age}, 
     6062    { "gtk_recent_filter_add_custom",  cast(void**)& gtk_recent_filter_add_custom}, 
     6063    { "gtk_recent_filter_get_needed",  cast(void**)& gtk_recent_filter_get_needed}, 
     6064    { "gtk_recent_filter_filter",  cast(void**)& gtk_recent_filter_filter}, 
    58506065    { "gtk_file_selection_new",  cast(void**)& gtk_file_selection_new}, 
    58516066    { "gtk_file_selection_set_filename",  cast(void**)& gtk_file_selection_set_filename}, 
  • trunk/src/gtkc/gtktypes.d

    r366 r376  
    4343//alias int GtkDragResult; 
    4444//alias int GtkTooltip; 
    45  
     45alias uint time_t; 
    4646 
    4747/** 
     
    18531853} 
    18541854alias GtkTextDirection TextDirection; 
     1855 
     1856/** 
     1857 * Error codes for GtkRecentManager operations 
     1858 * GTK_RECENT_MANAGER_ERROR_NOT_FOUND 
     1859 */ 
     1860public enum GtkRecentManagerError 
     1861{ 
     1862    NOT_FOUND, 
     1863    INVALID_URI, 
     1864    INVALID_ENCODING, 
     1865    NOT_REGISTERED, 
     1866    READ, 
     1867    WRITE, 
     1868    UNKNOWN 
     1869} 
     1870alias GtkRecentManagerError RecentManagerError; 
     1871 
     1872/** 
     1873 * These identify the various errors that can occur while calling 
     1874 * GtkRecentChooser functions. 
     1875 * GTK_RECENT_CHOOSER_ERROR_NOT_FOUND 
     1876 * Indicates that a file does not exist 
     1877 * GTK_RECENT_CHOOSER_ERROR_INVALID_URI 
     1878 * Indicates a malformed URI 
     1879 */ 
     1880public enum GtkRecentChooserError 
     1881{ 
     1882    NOT_FOUND, 
     1883    INVALID_URI 
     1884} 
     1885alias GtkRecentChooserError RecentChooserError; 
     1886 
     1887/** 
     1888 * Used to specify the sorting method to be applyed to the recently 
     1889 * used resource list. 
     1890 * GTK_RECENT_SORT_NONE 
     1891 */ 
     1892public enum GtkRecentSortType 
     1893{ 
     1894    NONE = 0, 
     1895    MRU, 
     1896    LRU, 
     1897    CUSTOM 
     1898} 
     1899alias GtkRecentSortType RecentSortType; 
     1900 
     1901/** 
     1902 * These flags indicate what parts of a GtkRecentFilterInfo struct 
     1903 * are filled or need to be filled. 
     1904 * GTK_RECENT_FILTER_URI 
     1905 * the URI of the file being tested 
     1906 * GTK_RECENT_FILTER_DISPLAY_NAME 
     1907 * the string that will be used to 
     1908 */ 
     1909public enum GtkRecentFilterFlags 
     1910{ 
     1911    URI = 1 << 0, 
     1912    DISPLAY_NAME = 1 << 1, 
     1913    MIME_TYPE = 1 << 2, 
     1914    APPLICATION = 1 << 3, 
     1915    GROUP = 1 << 4, 
     1916    AGE = 1 << 5 
     1917} 
     1918alias GtkRecentFilterFlags RecentFilterFlags; 
    18551919 
    18561920 
     
    34663530/** 
    34673531 * Main Gtk struct. 
     3532 */ 
     3533public struct GtkRecentAction{} 
     3534 
     3535 
     3536/** 
     3537 * Main Gtk struct. 
    34683538 * The GtkColorButton struct has only private fields and 
    34693539 * should not be used directly. 
     
    44064476 */ 
    44074477public struct GtkVRuler{} 
     4478 
     4479 
     4480/** 
     4481 * Main Gtk struct. 
     4482 * Acts as a database of information about the list of recently 
     4483 * used files. Normally, you retrieve the recent manager for a 
     4484 * particular screen using gtk_recent_manager_get_for_screen() 
     4485 * and it will contain information about current recent manager 
     4486 * for that screen. 
     4487 */ 
     4488public struct GtkRecentManager{} 
     4489 
     4490 
     4491/** 
     4492 * Contains informations found when looking up an entry of the 
     4493 * recently used files list. 
     4494 */ 
     4495public struct GtkRecentInfo{} 
     4496 
     4497 
     4498/** 
     4499 * Meta-data to be passed to gtk_recent_manager_add_full() when 
     4500 * registering a recently used resource. 
     4501 * gchar*display_name; 
     4502 */ 
     4503public struct GtkRecentData 
     4504{ 
     4505    char *displayName; 
     4506    char *description; 
     4507    char *mimeType; 
     4508    char *appName; 
     4509    char *appExec; 
     4510    char **groups; 
     4511    int isPrivate; 
     4512} 
     4513 
     4514 
     4515/** 
     4516 * Main Gtk struct. 
     4517 */ 
     4518public struct GtkRecentChooser{} 
     4519 
     4520 
     4521public struct GtkRecentChooserIface{} 
     4522// GTypeInterface baseIface; 
     4523// GtkRecentChooser.html 
     4524// /+* 
     4525// GtkRecentChooser.html 
     4526// * Methods 
     4527// GtkRecentChooser.html 
     4528// +/ 
     4529// GtkRecentChooser.html 
     4530// int (* setCurrentUri) (GtkRecentChooser *chooser, 
     4531// GtkRecentChooser.html 
     4532// char *uri, 
     4533// GtkRecentChooser.html 
     4534// GError **error); 
     4535// GtkRecentChooser.html 
     4536// char * (* getCurrentUri) (GtkRecentChooser *chooser); 
     4537// GtkRecentChooser.html 
     4538// int (* selectUri) (GtkRecentChooser *chooser, 
     4539// GtkRecentChooser.html 
     4540// char *uri, 
     4541// GtkRecentChooser.html 
     4542// GError **error); 
     4543// GtkRecentChooser.html 
     4544// void (* unselectUri) (GtkRecentChooser *chooser, 
     4545// GtkRecentChooser.html 
     4546// char *uri); 
     4547// GtkRecentChooser.html 
     4548// void (* selectAll) (GtkRecentChooser *chooser); 
     4549// GtkRecentChooser.html 
     4550// void (* unselectAll) (GtkRecentChooser *chooser); 
     4551// GtkRecentChooser.html 
     4552// GList * (* getItems) (GtkRecentChooser *chooser); 
     4553// GtkRecentChooser.html 
     4554// GtkRecentManager *(* getRecentManager) (GtkRecentChooser *chooser); 
     4555// GtkRecentChooser.html 
     4556// void (* addFilter) (GtkRecentChooser *chooser, 
     4557// GtkRecentChooser.html 
     4558// GtkRecentFilter *filter); 
     4559// GtkRecentChooser.html 
     4560// void (* removeFilter) (GtkRecentChooser *chooser, 
     4561// GtkRecentChooser.html 
     4562// GtkRecentFilter *filter); 
     4563// GtkRecentChooser.html 
     4564// GSList * (* listFilters) (GtkRecentChooser *chooser); 
     4565// GtkRecentChooser.html 
     4566// void (* setSortFunc) (GtkRecentChooser *chooser, 
     4567// GtkRecentChooser.html 
     4568// GtkRecentSortFunc sortFunc, 
     4569// GtkRecentChooser.html 
     4570// void* data, 
     4571// GtkRecentChooser.html 
     4572// GDestroyNotify destroy); 
     4573// GtkRecentChooser.html 
     4574// /+* 
     4575// GtkRecentChooser.html 
     4576// * Signals 
     4577// GtkRecentChooser.html 
     4578// +/ 
     4579// GtkRecentChooser.html 
     4580// void (* itemActivated) (GtkRecentChooser *chooser); 
     4581// GtkRecentChooser.html 
     4582// void (* selectionChanged) (GtkRecentChooser *chooser); 
     4583// GtkRecentChooser.html 
     4584 
     4585 
     4586/** 
     4587 * Main Gtk struct. 
     4588 */ 
     4589public struct GtkRecentChooserDialog{} 
     4590 
     4591 
     4592/** 
     4593 * Main Gtk struct. 
     4594 */ 
     4595public struct GtkRecentChooserMenu{} 
     4596 
     4597 
     4598/** 
     4599 * Main Gtk struct. 
     4600 */ 
     4601public struct GtkRecentChooserWidget{} 
     4602 
     4603 
     4604/** 
     4605 * Main Gtk struct. 
     4606 * The GtkRecentFilter struct contains 
     4607 * only private fields and should not be directly accessed. 
     4608 */ 
     4609public struct GtkRecentFilter{} 
     4610 
     4611 
     4612/** 
     4613 * A GtkRecentFilterInfo struct is used 
     4614 * to pass information about the tested file to gtk_recent_filter_filter(). 
     4615 * GtkRecentFilterFlagscontains; 
     4616 * Flags indicating which of the following fields need 
     4617 */ 
     4618public struct GtkRecentFilterInfo{} 
     4619// GtkRecentFilterFlags contains; 
     4620// GtkRecentFilter.html 
     4621// char *uri; 
     4622// GtkRecentFilter.html 
     4623// char *displayName; 
     4624// GtkRecentFilter.html 
     4625// char *mimeType; 
     4626// GtkRecentFilter.html 
     4627// char **applications; 
     4628// GtkRecentFilter.html 
     4629// char **groups; 
     4630// GtkRecentFilter.html 
     4631// int age; 
     4632// GtkRecentFilter.html 
    44084633 
    44094634 
     
    65876812// void (*GtkCallback) (GtkWidget *widget,  gpointer data); 
    65886813public typedef extern(C) void  function (GtkWidget*, void*) GtkCallback; 
     6814 
     6815/* 
     6816 * a: 
     6817 * b: 
     6818 * user_data: 
     6819 * Returns: 
     6820 */ 
     6821// gint (*GtkRecentSortFunc) (GtkRecentInfo *a,  GtkRecentInfo *b,  gpointer user_data); 
     6822public typedef extern(C) int  function (GtkRecentInfo*, GtkRecentInfo*, void*) GtkRecentSortFunc; 
     6823 
     6824/* 
     6825 * The type of function that is used with custom filters, 
     6826 * see gtk_recent_filter_add_custom(). 
     6827 * filter_info: 
     6828 * a GtkRecentFilterInfo that is filled according 
     6829 *  to the needed flags passed to gtk_recent_filter_add_custom() 
     6830 * user_data: 
     6831 * user data passed to gtk_recent_filter_add_custom() 
     6832 * Returns: 
     6833 * TRUE if the file should be displayed 
     6834 */ 
     6835// gboolean (*GtkRecentFilterFunc) (const GtkRecentFilterInfo *filter_info,  gpointer user_data); 
     6836public typedef extern(C) int  function (GtkRecentFilterInfo*, void*) GtkRecentFilterFunc; 
    65896837 
    65906838/*