Changeset 351
- Timestamp:
- 12/30/07 13:27:34 (1 year ago)
- Files:
-
- trunk/src/build/duit.d (modified) (8 diffs)
- trunk/src/gtk/CellRendererAccel.d (added)
- trunk/src/gtk/CellRendererSpin.d (added)
- trunk/src/gtk/LinkButton.d (added)
- trunk/src/gtk/ScaleButton.d (added)
- trunk/src/gtk/StatusIcon.d (added)
- trunk/src/gtk/Tooltip.d (added)
- trunk/src/gtk/VolumeButton.d (added)
- trunk/src/gtkc/gtk.d (modified) (19 diffs)
- trunk/src/gtkc/gtktypes.d (modified) (13 diffs)
- trunk/wrap/APILookupGtk.txt (modified) (14 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/build/duit.d
r322 r351 179 179 private import gdk.Device; 180 180 181 private import gtk. Duit;181 private import gtk.GtkD; 182 182 private import gtk.Timeout; 183 183 private import gtk.Idle; … … 214 214 private import gtk.ProgressBar; 215 215 private import gtk.Statusbar; 216 private import gtk.StatusIcon; 216 217 private import gtk.Button; 217 218 private import gtk.CheckButton; 218 219 private import gtk.RadioButton; 219 220 private import gtk.ToggleButton; 221 private import gtk.LinkButton; 222 private import gtk.ScaleButton; 223 private import gtk.VolumeButton; 220 224 private import gtk.Entry; 221 225 private import gtk.EntryCompletion; … … 250 254 private import gtk.CellRenderer; 251 255 private import gtk.CellEditable; 256 private import gtk.CellRendererAccel; 252 257 private import gtk.CellRendererCombo; 253 258 private import gtk.CellRendererPixbuf; 254 259 private import gtk.CellRendererProgress; 260 private import gtk.CellRendererSpin; 255 261 private import gtk.CellRendererText; 256 262 private import gtk.CellRendererToggle; … … 263 269 private import gtk.MenuBar; 264 270 private import gtk.MenuItem; 265 private import gtk.MenuShell;266 271 private import gtk.ImageMenuItem; 267 272 private import gtk.RadioMenuItem; … … 284 289 private import gtk.ColorSelection; 285 290 private import gtk.ColorSelectionDialog; 286 private import gtk.FileSelection;287 291 private import gtk.FileChooser; 288 292 private import gtk.FileChooserButton; … … 322 326 private import gtk.IMMulticontext; 323 327 private import gtk.SizeGroup; 324 private import gtk.Tooltip s;328 private import gtk.Tooltip; 325 329 private import gtk.Viewport; 326 330 private import gtk.Accessible; … … 330 334 private import gtk.Container; 331 335 private import gtk.Item; 336 private import gtk.MenuShell; 332 337 private import gtk.Misc; 333 338 private import gtk.ObjectGtk; … … 346 351 private import gtk.HRuler; 347 352 private import gtk.VRuler; 353 private import gtk.FileSelection; 348 354 private import gtk.ItemFactory; 355 private import gtk.Tooltips; 349 356 private import gtk.Progress; 350 357 trunk/src/gtkc/gtk.d
r348 r351 824 824 gboolean function(GtkStatusbar* statusbar)gtk_statusbar_get_has_resize_grip; 825 825 826 // gtk.StatusIcon 827 828 GtkStatusIcon* function()gtk_status_icon_new; 829 GtkStatusIcon* function(GdkPixbuf* pixbuf)gtk_status_icon_new_from_pixbuf; 830 GtkStatusIcon* function(gchar* filename)gtk_status_icon_new_from_file; 831 GtkStatusIcon* function(gchar* stockId)gtk_status_icon_new_from_stock; 832 GtkStatusIcon* function(gchar* iconName)gtk_status_icon_new_from_icon_name; 833 void function(GtkStatusIcon* statusIcon, GdkPixbuf* pixbuf)gtk_status_icon_set_from_pixbuf; 834 void function(GtkStatusIcon* statusIcon, gchar* filename)gtk_status_icon_set_from_file; 835 void function(GtkStatusIcon* statusIcon, gchar* stockId)gtk_status_icon_set_from_stock; 836 void function(GtkStatusIcon* statusIcon, gchar* iconName)gtk_status_icon_set_from_icon_name; 837 GtkImageType function(GtkStatusIcon* statusIcon)gtk_status_icon_get_storage_type; 838 GdkPixbuf* function(GtkStatusIcon* statusIcon)gtk_status_icon_get_pixbuf; 839 gchar* function(GtkStatusIcon* statusIcon)gtk_status_icon_get_stock; 840 gchar* function(GtkStatusIcon* statusIcon)gtk_status_icon_get_icon_name; 841 gint function(GtkStatusIcon* statusIcon)gtk_status_icon_get_size; 842 void function(GtkStatusIcon* statusIcon, GdkScreen* screen)gtk_status_icon_set_screen; 843 GdkScreen* function(GtkStatusIcon* statusIcon)gtk_status_icon_get_screen; 844 void function(GtkStatusIcon* statusIcon, gchar* tooltipText)gtk_status_icon_set_tooltip; 845 void function(GtkStatusIcon* statusIcon, gboolean visible)gtk_status_icon_set_visible; 846 gboolean function(GtkStatusIcon* statusIcon)gtk_status_icon_get_visible; 847 void function(GtkStatusIcon* statusIcon, gboolean blinking)gtk_status_icon_set_blinking; 848 gboolean function(GtkStatusIcon* statusIcon)gtk_status_icon_get_blinking; 849 gboolean function(GtkStatusIcon* statusIcon)gtk_status_icon_is_embedded; 850 void function(GtkMenu* menu, gint* x, gint* y, gboolean* pushIn, gpointer userData)gtk_status_icon_position_menu; 851 gboolean function(GtkStatusIcon* statusIcon, GdkScreen** screen, GdkRectangle* area, GtkOrientation* orientation)gtk_status_icon_get_geometry; 852 826 853 // gtk.Button 827 854 … … 881 908 gboolean function(GtkToggleButton* toggleButton)gtk_toggle_button_get_inconsistent; 882 909 void function(GtkToggleButton* toggleButton, gboolean setting)gtk_toggle_button_set_inconsistent; 910 911 // gtk.LinkButton 912 913 GtkWidget* function(gchar* uri)gtk_link_button_new; 914 GtkWidget* function(gchar* uri, gchar* label)gtk_link_button_new_with_label; 915 gchar* function(GtkLinkButton* linkButton)gtk_link_button_get_uri; 916 void function(GtkLinkButton* linkButton, gchar* uri)gtk_link_button_set_uri; 917 GtkLinkButtonUriFunc function(GtkLinkButtonUriFunc func, gpointer data, GDestroyNotify destroy)gtk_link_button_set_uri_hook; 918 919 // gtk.ScaleButton 920 921 GtkWidget* function(GtkIconSize size, gdouble min, gdouble max, gdouble step, gchar** icons)gtk_scale_button_new; 922 void function(GtkScaleButton* button, GtkAdjustment* adjustment)gtk_scale_button_set_adjustment; 923 void function(GtkScaleButton* button, gchar** icons)gtk_scale_button_set_icons; 924 void function(GtkScaleButton* button, gdouble value)gtk_scale_button_set_value; 925 GtkAdjustment* function(GtkScaleButton* button)gtk_scale_button_get_adjustment; 926 gdouble function(GtkScaleButton* button)gtk_scale_button_get_value; 927 928 // gtk.VolumeButton 929 930 GtkWidget* function()gtk_volume_button_new; 883 931 884 932 // gtk.Entry … … 1665 1713 void function(GtkCellEditable* cellEditable)gtk_cell_editable_remove_widget; 1666 1714 1715 // gtk.CellRendererAccel 1716 1717 GtkCellRenderer* function()gtk_cell_renderer_accel_new; 1718 1667 1719 // gtk.CellRendererCombo 1668 1720 … … 1676 1728 1677 1729 GtkCellRenderer* function()gtk_cell_renderer_progress_new; 1730 1731 // gtk.CellRendererSpin 1732 1733 GtkCellRenderer* function()gtk_cell_renderer_spin_new; 1678 1734 1679 1735 // gtk.CellRendererText … … 1833 1889 gboolean function(GtkMenuItem* menuItem)gtk_menu_item_get_right_justified; 1834 1890 GtkWidget* function(GtkMenuItem* menuItem)gtk_menu_item_get_submenu; 1835 1836 // gtk.MenuShell1837 1838 void function(GtkMenuShell* menuShell, GtkWidget* child)gtk_menu_shell_append;1839 void function(GtkMenuShell* menuShell, GtkWidget* child)gtk_menu_shell_prepend;1840 void function(GtkMenuShell* menuShell, GtkWidget* child, gint position)gtk_menu_shell_insert;1841 void function(GtkMenuShell* menuShell)gtk_menu_shell_deactivate;1842 void function(GtkMenuShell* menuShell, GtkWidget* menuItem)gtk_menu_shell_select_item;1843 void function(GtkMenuShell* menuShell, gboolean searchSensitive)gtk_menu_shell_select_first;1844 void function(GtkMenuShell* menuShell)gtk_menu_shell_deselect;1845 void function(GtkMenuShell* menuShell, GtkWidget* menuItem, gboolean forceDeactivate)gtk_menu_shell_activate_item;1846 void function(GtkMenuShell* menuShell)gtk_menu_shell_cancel;1847 void function(GtkMenuShell* menuShell, gboolean takeFocus)gtk_menu_shell_set_take_focus;1848 gboolean function(GtkMenuShell* menuShell)gtk_menu_shell_get_take_focus;1849 1891 1850 1892 // gtk.ImageMenuItem … … 2130 2172 2131 2173 GtkWidget* function(gchar* title)gtk_color_selection_dialog_new; 2132 2133 // gtk.FileSelection2134 2135 GtkWidget* function(gchar* title)gtk_file_selection_new;2136 void function(GtkFileSelection* filesel, gchar* filename)gtk_file_selection_set_filename;2137 gchar* function(GtkFileSelection* filesel)gtk_file_selection_get_filename;2138 void function(GtkFileSelection* filesel, gchar* pattern)gtk_file_selection_complete;2139 void function(GtkFileSelection* filesel)gtk_file_selection_show_fileop_buttons;2140 void function(GtkFileSelection* filesel)gtk_file_selection_hide_fileop_buttons;2141 gchar** function(GtkFileSelection* filesel)gtk_file_selection_get_selections;2142 void function(GtkFileSelection* filesel, gboolean selectMultiple)gtk_file_selection_set_select_multiple;2143 gboolean function(GtkFileSelection* filesel)gtk_file_selection_get_select_multiple;2144 2174 2145 2175 // gtk.FileChooser … … 2538 2568 GSList* function(GtkSizeGroup* sizeGroup)gtk_size_group_get_widgets; 2539 2569 2540 // gtk.Tooltips 2541 2542 GtkTooltips* function()gtk_tooltips_new; 2543 void function(GtkTooltips* tooltips)gtk_tooltips_enable; 2544 void function(GtkTooltips* tooltips)gtk_tooltips_disable; 2545 void function(GtkTooltips* tooltips, guint delay)gtk_tooltips_set_delay; 2546 void function(GtkTooltips* tooltips, GtkWidget* widget, gchar* tipText, gchar* tipPrivate)gtk_tooltips_set_tip; 2547 GtkTooltipsData* function(GtkWidget* widget)gtk_tooltips_data_get; 2548 void function(GtkTooltips* tooltips)gtk_tooltips_force_window; 2549 gboolean function(GtkWindow* tipWindow, GtkTooltips** tooltips, GtkWidget** currentWidget)gtk_tooltips_get_info_from_tip_window; 2570 // gtk.Tooltip 2571 2572 void function(GtkTooltip* tooltip, gchar* markup)gtk_tooltip_set_markup; 2573 void function(GtkTooltip* tooltip, gchar* text)gtk_tooltip_set_text; 2574 void function(GtkTooltip* tooltip, GdkPixbuf* pixbuf)gtk_tooltip_set_icon; 2575 void function(GtkTooltip* tooltip, gchar* stockId, GtkIconSize size)gtk_tooltip_set_icon_from_stock; 2576 void function(GtkTooltip* tooltip, GtkWidget* customWidget)gtk_tooltip_set_custom; 2577 void function(GdkDisplay* display)gtk_tooltip_trigger_tooltip_query; 2578 void function(GtkTooltip* tooltip, GdkRectangle* rect)gtk_tooltip_set_tip_area; 2550 2579 2551 2580 // gtk.Viewport … … 2633 2662 void function(GtkItem* item)gtk_item_deselect; 2634 2663 void function(GtkItem* item)gtk_item_toggle; 2664 2665 // gtk.MenuShell 2666 2667 void function(GtkMenuShell* menuShell, GtkWidget* child)gtk_menu_shell_append; 2668 void function(GtkMenuShell* menuShell, GtkWidget* child)gtk_menu_shell_prepend; 2669 void function(GtkMenuShell* menuShell, GtkWidget* child, gint position)gtk_menu_shell_insert; 2670 void function(GtkMenuShell* menuShell)gtk_menu_shell_deactivate; 2671 void function(GtkMenuShell* menuShell, GtkWidget* menuItem)gtk_menu_shell_select_item; 2672 void function(GtkMenuShell* menuShell, gboolean searchSensitive)gtk_menu_shell_select_first; 2673 void function(GtkMenuShell* menuShell)gtk_menu_shell_deselect; 2674 void function(GtkMenuShell* menuShell, GtkWidget* menuItem, gboolean forceDeactivate)gtk_menu_shell_activate_item; 2675 void function(GtkMenuShell* menuShell)gtk_menu_shell_cancel; 2676 void function(GtkMenuShell* menuShell, gboolean takeFocus)gtk_menu_shell_set_take_focus; 2677 gboolean function(GtkMenuShell* menuShell)gtk_menu_shell_get_take_focus; 2635 2678 2636 2679 // gtk.Misc … … 2923 2966 GtkWidget* function()gtk_vruler_new; 2924 2967 2968 // gtk.FileSelection 2969 2970 GtkWidget* function(gchar* title)gtk_file_selection_new; 2971 void function(GtkFileSelection* filesel, gchar* filename)gtk_file_selection_set_filename; 2972 gchar* function(GtkFileSelection* filesel)gtk_file_selection_get_filename; 2973 void function(GtkFileSelection* filesel, gchar* pattern)gtk_file_selection_complete; 2974 void function(GtkFileSelection* filesel)gtk_file_selection_show_fileop_buttons; 2975 void function(GtkFileSelection* filesel)gtk_file_selection_hide_fileop_buttons; 2976 gchar** function(GtkFileSelection* filesel)gtk_file_selection_get_selections; 2977 void function(GtkFileSelection* filesel, gboolean selectMultiple)gtk_file_selection_set_select_multiple; 2978 gboolean function(GtkFileSelection* filesel)gtk_file_selection_get_select_multiple; 2979 2925 2980 // gtk.ItemFactory 2926 2981 … … 2947 3002 void function(gchar* ifactoryPath, gchar* path)gtk_item_factories_path_delete; 2948 3003 void function(GtkItemFactory* ifactory, GtkTranslateFunc func, gpointer data, GtkDestroyNotify notify)gtk_item_factory_set_translate_func; 3004 3005 // gtk.Tooltips 3006 3007 GtkTooltips* function()gtk_tooltips_new; 3008 void function(GtkTooltips* tooltips)gtk_tooltips_enable; 3009 void function(GtkTooltips* tooltips)gtk_tooltips_disable; 3010 void function(GtkTooltips* tooltips, guint delay)gtk_tooltips_set_delay; 3011 void function(GtkTooltips* tooltips, GtkWidget* widget, gchar* tipText, gchar* tipPrivate)gtk_tooltips_set_tip; 3012 GtkTooltipsData* function(GtkWidget* widget)gtk_tooltips_data_get; 3013 void function(GtkTooltips* tooltips)gtk_tooltips_force_window; 3014 gboolean function(GtkWindow* tipWindow, GtkTooltips** tooltips, GtkWidget** currentWidget)gtk_tooltips_get_info_from_tip_window; 2949 3015 2950 3016 // gtk.Progress … … 3640 3706 { "gtk_statusbar_set_has_resize_grip", cast(void**)& gtk_statusbar_set_has_resize_grip}, 3641 3707 { "gtk_statusbar_get_has_resize_grip", cast(void**)& gtk_statusbar_get_has_resize_grip}, 3708 { "gtk_status_icon_new", cast(void**)& gtk_status_icon_new}, 3709 { "gtk_status_icon_new_from_pixbuf", cast(void**)& gtk_status_icon_new_from_pixbuf}, 3710 { "gtk_status_icon_new_from_file", cast(void**)& gtk_status_icon_new_from_file}, 3711 { "gtk_status_icon_new_from_stock", cast(void**)& gtk_status_icon_new_from_stock}, 3712 { "gtk_status_icon_new_from_icon_name", cast(void**)& gtk_status_icon_new_from_icon_name}, 3713 { "gtk_status_icon_set_from_pixbuf", cast(void**)& gtk_status_icon_set_from_pixbuf}, 3714 { "gtk_status_icon_set_from_file", cast(void**)& gtk_status_icon_set_from_file}, 3715 { "gtk_status_icon_set_from_stock", cast(void**)& gtk_status_icon_set_from_stock}, 3716 { "gtk_status_icon_set_from_icon_name", cast(void**)& gtk_status_icon_set_from_icon_name}, 3717 { "gtk_status_icon_get_storage_type", cast(void**)& gtk_status_icon_get_storage_type}, 3718 { "gtk_status_icon_get_pixbuf", cast(void**)& gtk_status_icon_get_pixbuf}, 3719 { "gtk_status_icon_get_stock", cast(void**)& gtk_status_icon_get_stock}, 3720 { "gtk_status_icon_get_icon_name", cast(void**)& gtk_status_icon_get_icon_name}, 3721 { "gtk_status_icon_get_size", cast(void**)& gtk_status_icon_get_size}, 3722 { "gtk_status_icon_set_screen", cast(void**)& gtk_status_icon_set_screen}, 3723 { "gtk_status_icon_get_screen", cast(void**)& gtk_status_icon_get_screen}, 3724 { "gtk_status_icon_set_tooltip", cast(void**)& gtk_status_icon_set_tooltip}, 3725 { "gtk_status_icon_set_visible", cast(void**)& gtk_status_icon_set_visible}, 3726 { "gtk_status_icon_get_visible", cast(void**)& gtk_status_icon_get_visible}, 3727 { "gtk_status_icon_set_blinking", cast(void**)& gtk_status_icon_set_blinking}, 3728 { "gtk_status_icon_get_blinking", cast(void**)& gtk_status_icon_get_blinking}, 3729 { "gtk_status_icon_is_embedded", cast(void**)& gtk_status_icon_is_embedded}, 3730 { "gtk_status_icon_position_menu", cast(void**)& gtk_status_icon_position_menu}, 3731 { "gtk_status_icon_get_geometry", cast(void**)& gtk_status_icon_get_geometry}, 3642 3732 { "gtk_button_new", cast(void**)& gtk_button_new}, 3643 3733 { "gtk_button_new_with_label", cast(void**)& gtk_button_new_with_label}, … … 3686 3776 { "gtk_toggle_button_get_inconsistent", cast(void**)& gtk_toggle_button_get_inconsistent}, 3687 3777 { "gtk_toggle_button_set_inconsistent", cast(void**)& gtk_toggle_button_set_inconsistent}, 3778 { "gtk_link_button_new", cast(void**)& gtk_link_button_new}, 3779 { "gtk_link_button_new_with_label", cast(void**)& gtk_link_button_new_with_label}, 3780 { "gtk_link_button_get_uri", cast(void**)& gtk_link_button_get_uri}, 3781 { "gtk_link_button_set_uri", cast(void**)& gtk_link_button_set_uri}, 3782 { "gtk_link_button_set_uri_hook", cast(void**)& gtk_link_button_set_uri_hook}, 3783 { "gtk_scale_button_new", cast(void**)& gtk_scale_button_new}, 3784 { "gtk_scale_button_set_adjustment", cast(void**)& gtk_scale_button_set_adjustment}, 3785 { "gtk_scale_button_set_icons", cast(void**)& gtk_scale_button_set_icons}, 3786 { "gtk_scale_button_set_value", cast(void**)& gtk_scale_button_set_value}, 3787 { "gtk_scale_button_get_adjustment", cast(void**)& gtk_scale_button_get_adjustment}, 3788 { "gtk_scale_button_get_value", cast(void**)& gtk_scale_button_get_value}, 3789 { "gtk_volume_button_new", cast(void**)& gtk_volume_button_new}, 3688 3790 { "gtk_entry_new", cast(void**)& gtk_entry_new}, 3689 3791 { "gtk_entry_new_with_max_length", cast(void**)& gtk_entry_new_with_max_length}, … … 4373 4475 { "gtk_cell_editable_editing_done", cast(void**)& gtk_cell_editable_editing_done}, 4374 4476 { "gtk_cell_editable_remove_widget", cast(void**)& gtk_cell_editable_remove_widget}, 4477 { "gtk_cell_renderer_accel_new", cast(void**)& gtk_cell_renderer_accel_new}, 4375 4478 { "gtk_cell_renderer_combo_new", cast(void**)& gtk_cell_renderer_combo_new}, 4376 4479 { "gtk_cell_renderer_pixbuf_new", cast(void**)& gtk_cell_renderer_pixbuf_new}, 4377 4480 { "gtk_cell_renderer_progress_new", cast(void**)& gtk_cell_renderer_progress_new}, 4481 { "gtk_cell_renderer_spin_new", cast(void**)& gtk_cell_renderer_spin_new}, 4378 4482 { "gtk_cell_renderer_text_new", cast(void**)& gtk_cell_renderer_text_new}, 4379 4483 { "gtk_cell_renderer_text_set_fixed_height_from_font", cast(void**)& gtk_cell_renderer_text_set_fixed_height_from_font}, … … 4503 4607 { "gtk_menu_item_get_right_justified", cast(void**)& gtk_menu_item_get_right_justified}, 4504 4608 { "gtk_menu_item_get_submenu", cast(void**)& gtk_menu_item_get_submenu}, 4505 { "gtk_menu_shell_append", cast(void**)& gtk_menu_shell_append},4506 { "gtk_menu_shell_prepend", cast(void**)& gtk_menu_shell_prepend},4507 { "gtk_menu_shell_insert", cast(void**)& gtk_menu_shell_insert},4508 { "gtk_menu_shell_deactivate", cast(void**)& gtk_menu_shell_deactivate},4509 { "gtk_menu_shell_select_item", cast(void**)& gtk_menu_shell_select_item},4510 { "gtk_menu_shell_select_first", cast(void**)& gtk_menu_shell_select_first},4511 { "gtk_menu_shell_deselect", cast(void**)& gtk_menu_shell_deselect},4512 { "gtk_menu_shell_activate_item", cast(void**)& gtk_menu_shell_activate_item},4513 { "gtk_menu_shell_cancel", cast(void**)& gtk_menu_shell_cancel},4514 { "gtk_menu_shell_set_take_focus", cast(void**)& gtk_menu_shell_set_take_focus},4515 { "gtk_menu_shell_get_take_focus", cast(void**)& gtk_menu_shell_get_take_focus},4516 4609 { "gtk_image_menu_item_set_image", cast(void**)& gtk_image_menu_item_set_image}, 4517 4610 { "gtk_image_menu_item_get_image", cast(void**)& gtk_image_menu_item_get_image}, … … 4737 4830 { "gtk_color_selection_get_color", cast(void**)& gtk_color_selection_get_color}, 4738 4831 { "gtk_color_selection_dialog_new", cast(void**)& gtk_color_selection_dialog_new}, 4739 { "gtk_file_selection_new", cast(void**)& gtk_file_selection_new},4740 { "gtk_file_selection_set_filename", cast(void**)& gtk_file_selection_set_filename},4741 { "gtk_file_selection_get_filename", cast(void**)& gtk_file_selection_get_filename},4742 { "gtk_file_selection_complete", cast(void**)& gtk_file_selection_complete},4743 { "gtk_file_selection_show_fileop_buttons", cast(void**)& gtk_file_selection_show_fileop_buttons},4744 { "gtk_file_selection_hide_fileop_buttons", cast(void**)& gtk_file_selection_hide_fileop_buttons},4745 { "gtk_file_selection_get_selections", cast(void**)& gtk_file_selection_get_selections},4746 { "gtk_file_selection_set_select_multiple", cast(void**)& gtk_file_selection_set_select_multiple},4747 { "gtk_file_selection_get_select_multiple", cast(void**)& gtk_file_selection_get_select_multiple},4748 4832 { "gtk_file_chooser_set_action", cast(void**)& gtk_file_chooser_set_action}, 4749 4833 { "gtk_file_chooser_get_action", cast(void**)& gtk_file_chooser_get_action}, … … 5030 5114 { "gtk_size_group_remove_widget", cast(void**)& gtk_size_group_remove_widget}, 5031 5115 { "gtk_size_group_get_widgets", cast(void**)& gtk_size_group_get_widgets}, 5032 { "gtk_tooltips_new", cast(void**)& gtk_tooltips_new}, 5033 { "gtk_tooltips_enable", cast(void**)& gtk_tooltips_enable}, 5034 { "gtk_tooltips_disable", cast(void**)& gtk_tooltips_disable}, 5035 { "gtk_tooltips_set_delay", cast(void**)& gtk_tooltips_set_delay}, 5036 { "gtk_tooltips_set_tip", cast(void**)& gtk_tooltips_set_tip}, 5037 { "gtk_tooltips_data_get", cast(void**)& gtk_tooltips_data_get}, 5038 { "gtk_tooltips_force_window", cast(void**)& gtk_tooltips_force_window}, 5039 { "gtk_tooltips_get_info_from_tip_window", cast(void**)& gtk_tooltips_get_info_from_tip_window}, 5116 { "gtk_tooltip_set_markup", cast(void**)& gtk_tooltip_set_markup}, 5117 { "gtk_tooltip_set_text", cast(void**)& gtk_tooltip_set_text}, 5118 { "gtk_tooltip_set_icon", cast(void**)& gtk_tooltip_set_icon}, 5119 { "gtk_tooltip_set_icon_from_stock", cast(void**)& gtk_tooltip_set_icon_from_stock}, 5120 { "gtk_tooltip_set_custom", cast(void**)& gtk_tooltip_set_custom}, 5121 { "gtk_tooltip_trigger_tooltip_query", cast(void**)& gtk_tooltip_trigger_tooltip_query}, 5122 { "gtk_tooltip_set_tip_area", cast(void**)& gtk_tooltip_set_tip_area}, 5040 5123 { "gtk_viewport_new", cast(void**)& gtk_viewport_new}, 5041 5124 { "gtk_viewport_get_hadjustment", cast(void**)& gtk_viewport_get_hadjustment}, … … 5102 5185 { "gtk_item_deselect", cast(void**)& gtk_item_deselect}, 5103 5186 { "gtk_item_toggle", cast(void**)& gtk_item_toggle}, 5187 { "gtk_menu_shell_append", cast(void**)& gtk_menu_shell_append}, 5188 { "gtk_menu_shell_prepend", cast(void**)& gtk_menu_shell_prepend}, 5189 { "gtk_menu_shell_insert", cast(void**)& gtk_menu_shell_insert}, 5190 { "gtk_menu_shell_deactivate", cast(void**)& gtk_menu_shell_deactivate}, 5191 { "gtk_menu_shell_select_item", cast(void**)& gtk_menu_shell_select_item}, 5192 { "gtk_menu_shell_select_first", cast(void**)& gtk_menu_shell_select_first}, 5193 { "gtk_menu_shell_deselect", cast(void**)& gtk_menu_shell_deselect}, 5194 { "gtk_menu_shell_activate_item", cast(void**)& gtk_menu_shell_activate_item}, 5195 { "gtk_menu_shell_cancel", cast(void**)& gtk_menu_shell_cancel}, 5196 { "gtk_menu_shell_set_take_focus", cast(void**)& gtk_menu_shell_set_take_focus}, 5197 { "gtk_menu_shell_get_take_focus", cast(void**)& gtk_menu_shell_get_take_focus}, 5104 5198 { "gtk_misc_set_alignment", cast(void**)& gtk_misc_set_alignment}, 5105 5199 { "gtk_misc_set_padding", cast(void**)& gtk_misc_set_padding}, … … 5343 5437 { "gtk_hruler_new", cast(void**)& gtk_hruler_new}, 5344 5438 { "gtk_vruler_new", cast(void**)& gtk_vruler_new}, 5439 { "gtk_file_selection_new", cast(void**)& gtk_file_selection_new}, 5440 { "gtk_file_selection_set_filename", cast(void**)& gtk_file_selection_set_filename}, 5441 { "gtk_file_selection_get_filename", cast(void**)& gtk_file_selection_get_filename}, 5442 { "gtk_file_selection_complete", cast(void**)& gtk_file_selection_complete}, 5443 { "gtk_file_selection_show_fileop_buttons", cast(void**)& gtk_file_selection_show_fileop_buttons}, 5444 { "gtk_file_selection_hide_fileop_buttons", cast(void**)& gtk_file_selection_hide_fileop_buttons}, 5445 { "gtk_file_selection_get_selections", cast(void**)& gtk_file_selection_get_selections}, 5446 { "gtk_file_selection_set_select_multiple", cast(void**)& gtk_file_selection_set_select_multiple}, 5447 { "gtk_file_selection_get_select_multiple", cast(void**)& gtk_file_selection_get_select_multiple}, 5345 5448 { "gtk_item_factory_new", cast(void**)& gtk_item_factory_new}, 5346 5449 { "gtk_item_factory_construct", cast(void**)& gtk_item_factory_construct}, … … 5365 5468 { "gtk_item_factories_path_delete", cast(void**)& gtk_item_factories_path_delete}, 5366 5469 { "gtk_item_factory_set_translate_func", cast(void**)& gtk_item_factory_set_translate_func}, 5470 { "gtk_tooltips_new", cast(void**)& gtk_tooltips_new}, 5471 { "gtk_tooltips_enable", cast(void**)& gtk_tooltips_enable}, 5472 { "gtk_tooltips_disable", cast(void**)& gtk_tooltips_disable}, 5473 { "gtk_tooltips_set_delay", cast(void**)& gtk_tooltips_set_delay}, 5474 { "gtk_tooltips_set_tip", cast(void**)& gtk_tooltips_set_tip}, 5475 { "gtk_tooltips_data_get", cast(void**)& gtk_tooltips_data_get}, 5476 { "gtk_tooltips_force_window", cast(void**)& gtk_tooltips_force_window}, 5477 { "gtk_tooltips_get_info_from_tip_window", cast(void**)& gtk_tooltips_get_info_from_tip_window}, 5367 5478 { "gtk_progress_set_show_text", cast(void**)& gtk_progress_set_show_text}, 5368 5479 { "gtk_progress_set_text_alignment", cast(void**)& gtk_progress_set_text_alignment}, trunk/src/gtkc/gtktypes.d
r348 r351 41 41 /* GtkDragResult is now an enum. */ 42 42 //alias int GtkDragResult; 43 alias int GtkTooltip;43 //alias int GtkTooltip; 44 44 45 45 … … 1403 1403 alias GtkCellRendererMode CellRendererMode; 1404 1404 1405 public enum GtkCellRendererAccelMode 1406 { 1407 MODE_GTK, 1408 MODE_OTHER 1409 } 1410 alias GtkCellRendererAccelMode CellRendererAccelMode; 1411 1405 1412 public enum GtkPackDirection 1406 1413 { … … 1411 1418 } 1412 1419 alias GtkPackDirection PackDirection; 1413 1414 /**1415 * An enumeration representing directional movements within a menu.1416 * GTK_MENU_DIR_PARENT1417 * To the parent menu shell.1418 * GTK_MENU_DIR_CHILD1419 * To the submenu, if any, associated with the item.1420 * GTK_MENU_DIR_NEXT1421 * To the next menu item.1422 * GTK_MENU_DIR_PREV1423 * To the previous menu item.1424 * Property Details1425 * The "take-focus" property1426 */1427 public enum GtkMenuDirectionType1428 {1429 PARENT,1430 CHILD,1431 NEXT,1432 PREV1433 }1434 alias GtkMenuDirectionType MenuDirectionType;1435 1420 1436 1421 /** … … 1590 1575 } 1591 1576 alias GtkSizeGroupMode SizeGroupMode; 1577 1578 /** 1579 * An enumeration representing directional movements within a menu. 1580 * GTK_MENU_DIR_PARENT 1581 * To the parent menu shell. 1582 * GTK_MENU_DIR_CHILD 1583 * To the submenu, if any, associated with the item. 1584 * GTK_MENU_DIR_NEXT 1585 * To the next menu item. 1586 * GTK_MENU_DIR_PREV 1587 * To the previous menu item. 1588 * Property Details 1589 * The "take-focus" property 1590 */ 1591 public enum GtkMenuDirectionType 1592 { 1593 PARENT, 1594 CHILD, 1595 NEXT, 1596 PREV 1597 } 1598 alias GtkMenuDirectionType MenuDirectionType; 1592 1599 1593 1600 /** … … 2265 2272 /** 2266 2273 * Main Gtk struct. 2274 */ 2275 public struct GtkStatusIcon{} 2276 2277 2278 /** 2279 * Main Gtk struct. 2267 2280 * This should not be accessed directly. Use the accessor functions below. 2268 2281 */ … … 2290 2303 */ 2291 2304 public struct GtkToggleButton{} 2305 2306 2307 /** 2308 * Main Gtk struct. 2309 * The GtkLinkButton struct contains private data only, and should be 2310 * manipulated using the functions below. 2311 */ 2312 public struct GtkLinkButton{} 2313 2314 2315 /** 2316 * Main Gtk struct. 2317 */ 2318 public struct GtkScaleButton{} 2319 2320 2321 /** 2322 * Main Gtk struct. 2323 */ 2324 public struct GtkVolumeButton{} 2292 2325 2293 2326 … … 2967 3000 * Main Gtk struct. 2968 3001 */ 3002 public struct GtkCellRendererAccel{} 3003 3004 3005 /** 3006 * Main Gtk struct. 3007 */ 2969 3008 public struct GtkCellRendererCombo{} 2970 3009 … … 2980 3019 */ 2981 3020 public struct GtkCellRendererProgress{} 3021 3022 3023 /** 3024 * Main Gtk struct. 3025 */ 3026 public struct GtkCellRendererSpin{} 2982 3027 2983 3028 … … 3037 3082 */ 3038 3083 public struct GtkMenuItem{} 3039 3040 3041 /**3042 * Main Gtk struct.3043 * The GtkMenuShell struct contains the following fields.3044 * (These fields should be considered read-only. They should never be set by3045 * an application.)3046 * GList *children;3047 * The list of GtkMenuItem objects contained by this GtkMenuShell.3048 */3049 public struct GtkMenuShell{}3050 3084 3051 3085 … … 3321 3355 */ 3322 3356 public struct GtkColorSelectionDialog{} 3357 3358 3359 /** 3360 * Main Gtk struct. 3361 */ 3362 public struct GtkFileChooser{} 3363 3364 3365 /** 3366 * Main Gtk struct. 3367 * This should not be accessed directly. Use the accessor functions below. 3368 */ 3369 public struct GtkFileChooserButton{} 3370 3371 3372 /** 3373 * Main Gtk struct. 3374 */ 3375 public struct GtkFileChooserDialog{} 3376 3377 3378 /** 3379 * Main Gtk struct. 3380 */ 3381 public struct GtkFileChooserWidget{} 3382 3383 3384 /** 3385 * Main Gtk struct. 3386 * The GtkFileFilter struct contains 3387 * only private fields and should not be directly accessed. 3388 */ 3389 public struct GtkFileFilter{} 3390 3391 3392 /** 3393 * A GtkFileFilterInfo struct is used 3394 * to pass information about the tested file to 3395 * gtk_file_filter_filter(). 3396 * GtkFileFilterFlagscontains; 3397 * Flags indicating which of the following fields need 3398 */ 3399 public struct GtkFileFilterInfo{} 3400 // GtkFileFilterFlags contains; 3401 // gtk-gtkfilefilter.html 3402 // char *filename; 3403 // gtk-gtkfilefilter.html 3404 // char *uri; 3405 // gtk-gtkfilefilter.html 3406 // char *displayName; 3407 // gtk-gtkfilefilter.html 3408 // char *mimeType; 3409 // gtk-gtkfilefilter.html 3410 3411 3412 /** 3413 * Main Gtk struct. 3414 * The GtkFontButton struct has only private members and should not be used 3415 * directly. 3416 */ 3417 public struct GtkFontButton{} 3418 3419 3420 /** 3421 * Main Gtk struct. 3422 * The GtkFontSelection struct contains private data only, and should 3423 * only be accessed using the functions below. 3424 */ 3425 public struct GtkFontSelection{} 3426 3427 3428 /** 3429 * Main Gtk struct. 3430 * GtkWidget*ok_button; 3431 * The OK button of the dialog 3432 * GtkWidget*apply_button; 3433 * The Apply button of the dialog. This button is hidden 3434 * by default but you can show/hide it 3435 * GtkWidget*cancel_button; 3436 * The Cancel button of the dialog 3437 */ 3438 public struct GtkFontSelectionDialog{} 3439 // GtkWidget *okButton; 3440 // GtkFontSelectionDialog.html 3441 // GtkWidget *applyButton; 3442 // GtkFontSelectionDialog.html 3443 // GtkWidget *cancelButton; 3444 // GtkFontSelectionDialog.html 3445 3446 3447 /** 3448 * Main Gtk struct. 3449 */ 3450 public struct GtkInputDialog{} 3451 3452 3453 /** 3454 * Main Gtk struct. 3455 * The GtkAlignment struct contains private data only, and should 3456 * be accessed using the functions below. 3457 */ 3458 public struct GtkAlignment{} 3459 3460 3461 /** 3462 * Main Gtk struct. 3463 */ 3464 public struct GtkAspectFrame{} 3465 3466 3467 /** 3468 * Main Gtk struct. 3469 */ 3470 public struct GtkHBox{} 3471 3472 3473 /** 3474 * Main Gtk struct. 3475 */ 3476 public struct GtkVBox{} 3477 3478 3479 /** 3480 * Main Gtk struct. 3481 * GtkHButtonBox does not contain any public fields. 3482 */ 3483 public struct GtkHButtonBox{} 3484 3485 3486 /** 3487 * Main Gtk struct. 3488 * GtkVButtonBox does not contain any public fields. 3489 */ 3490 public struct GtkVButtonBox{} 3491 3492 3493 /** 3494 * Main Gtk struct. 3495 * The GtkFixed struct contains the following fields. 3496 * (These fields should be considered read-only. They should never be set by 3497 * an application.) 3498 * GList *children; 3499 * a list of GtkFixedChild elements, containing the child widgets and 3500 * their positions. 3501 */ 3502 public struct GtkFixed{} 3503 3504 3505 /** 3506 * The GtkFixedChild struct contains the following fields. 3507 * (These fields should be considered read-only. They should never be set by 3508 * an application.) 3509 * GtkWidget *widget; 3510 * the child GtkWidget. 3511 * gint x; 3512 * the horizontal position of the widget within the GtkFixed 3513 * container. 3514 * gint y; 3515 * the vertical position of the widget within the GtkFixed 3516 * container. 3517 */ 3518 public struct GtkFixedChild{} 3519 // GtkWidget *widget; 3520 // GtkFixed.html 3521 // int x; 3522 // GtkFixed.html 3523 // int y; 3524 // GtkFixed.html 3525 3526 3527 /** 3528 * Main Gtk struct. 3529 */ 3530 public struct GtkHPaned{} 3531 3532 3533 /** 3534 * Main Gtk struct. 3535 */ 3536 public struct GtkVPaned{} 3537 3538 3539 /** 3540 * Main Gtk struct. 3541 */ 3542 public struct GtkLayout{} 3543 // GdkWindow *binWindow; 3544 // GtkLayout.html 3545 3546 3547 /** 3548 * Main Gtk struct. 3549 */ 3550 public struct GtkNotebook{} 3551 3552 3553 /** 3554 * The GtkNotebookPage is an opaque implementation detail of GtkNotebook. 3555 */ 3556 public struct GtkNotebookPage{} 3557 3558 3559 /** 3560 * Main Gtk struct. 3561 * The GtkTable structure holds the data for the actual table itself. 3562 * children is a GList of all the widgets the table contains. rows and columns are pointers to GtkTableRowCol structures, which contain the default spacing and expansion details for the GtkTable's rows and columns, respectively. 3563 * nrows and ncols are 16bit integers storing the number of rows and columns the table has. 3564 */ 3565 public struct GtkTable{} 3566 3567 3568 /** 3569 * The widget field is a pointer to the widget that 3570 * this GtkTableChild structure is keeping track of. 3571 * The left_attach, 3572 * right_attach, 3573 * top_attach, and 3574 * bottom_attach fields specify the row and column 3575 * numbers which make up the invisible rectangle that the child widget is packed into. 3576 * xpadding and ypadding 3577 * specify the space between this widget and the surrounding table cells. 3578 */ 3579 public struct GtkTableChild{} 3580 // GtkWidget *widget; 3581 // GtkTable.html 3582 // ushort leftAttach; 3583 // GtkTable.html 3584 // ushort rightAttach; 3585 // GtkTable.html 3586 // ushort topAttach; 3587 // GtkTable.html 3588 // ushort bottomAttach; 3589 // GtkTable.html 3590 // ushort xpadding; 3591 // GtkTable.html 3592 // ushort ypadding; 3593 // GtkTable.html 3594 // uint xexpand : 1; 3595 // GtkTable.html 3596 // uint yexpand : 1; 3597 // GtkTable.html 3598 // uint xshrink : 1; 3599 // GtkTable.html 3600 // uint yshrink : 1; 3601 // GtkTable.html 3602 // uint xfill : 1; 3603 // GtkTable.html 3604 // uint yfill : 1; 3605 // GtkTable.html 3606 3607 3608 /** 3609 * These fields should be considered read-only and not be modified directly. 3610 */ 3611 public struct GtkTableRowCol 3612 { 3613 ushort requisition; 3614 ushort allocation; 3615 ushort spacing; 3616 uint bitfield; 3617 //uint needExpand : 1; 3618 } 3619 3620 3621 /** 3622 * Main Gtk struct. 3623 */ 3624 public struct GtkExpander{} 3625 3626 3627 /** 3628 * Main Gtk struct. 3629 */ 3630 public struct GtkFrame{} 3631 3632 3633 /** 3634 * Main Gtk struct. 3635 * The GtkHSeparator struct contains private data only, and 3636 * should be accessed using the functions below. 3637 */ 3638 public struct GtkHSeparator{} 3639 3640 3641 /** 3642 * Main Gtk struct. 3643 * The GtkVSeparator struct contains private data only, and 3644 * should be accessed using the functions below. 3645 */ 3646 public struct GtkVSeparator{} 3647 3648 3649 /** 3650 * Main Gtk struct. 3651 * The GtkHScrollbar struct contains private data and should be accessed 3652 * using the functions below. 3653 */ 3654 public struct GtkHScrollbar{} 3655 3656 3657 /** 3658 * Main Gtk struct. 3659 */ 3660 public struct GtkVScrollbar{} 3661 3662 3663 /** 3664 * Main Gtk struct. 3665 * There are no public fields in the GtkScrolledWindow struct; it should 3666 * only be accessed using the functions below. 3667 */ 3668 public struct GtkScrolledWindow{} 3669 // GtkWidget *hscrollbar; 3670 // GtkScrolledWindow.html 3671 // GtkWidget *vscrollbar; 3672 // GtkScrolledWindow.html 3673 3674 3675 /** 3676 * Main Gtk struct. 3677 * The GtkAdjustment struct contains the following fields. 3678 * gdouble lower; 3679 * the minimum value. 3680 * gdouble upper; 3681 * the maximum value. 3682 * gdouble value; 3683 * the current value. 3684 * gdouble step_increment; 3685 * the increment to use to make minor changes to the value. 3686 * In a GtkScrollbar this increment is used when the mouse is clicked on the 3687 * arrows at the top and bottom of the scrollbar, to scroll by a small amount. 3688 * gdouble page_increment; 3689 * the increment to use to make major changes to the value. 3690 * In a GtkScrollbar this increment is used when the mouse is clicked in the 3691 * trough, to scroll by a large amount. 3692 * gdouble page_size; 3693 * the page size. 3694 * In a GtkScrollbar this is the size of the area which is currently visible. 3695 */ 3696 public struct GtkAdjustment{} 3697 3698 3699 /** 3700 * Main Gtk struct. 3701 * The GtkArrow struct containes the following fields. 3702 * (These fields should be considered read-only. They should never be set by 3703 * an application.) 3704 */ 3705 public struct GtkArrow{} 3706 3707 3708 /** 3709 * Main Gtk struct. 3710 * num_marked_dates is an integer containing the 3711 * number of days that have a mark over them. 3712 * marked_date is an array containing the day numbers 3713 * that currently have a mark over them. 3714 * month, year, and 3715 * selected_day contain the currently visible month, 3716 * year, and selected day respectively. 3717 * All of these fields should be considered read only, and everything in this 3718 * struct should only be modified using the functions provided below. 3719 * Note 3720 * Note that month is zero-based (i.e it allowed values 3721 * are 0-11) while selected_day is one-based 3722 * (i.e. allowed values are 1-31). 3723 */ 3724 public struct GtkCalendar{} 3725 3726 3727 /** 3728 * Main Gtk struct. 3729 * The GtkDrawingArea struct contains private data only, and 3730 * should be accessed using the functions below. 3731 */ 3732 public struct GtkDrawingArea{} 3733 3734 3735 /** 3736 * Main Gtk struct. 3737 * The GtkEventBox struct contains private data only, and 3738 * should be accessed using the functions below. 3739 */ 3740 public struct GtkEventBox{} 3741 3742 3743 /** 3744 * Main Gtk struct. 3745 * The GtkHandleBox struct contains the following fields. 3746 * (These fields should be considered read-only. They should never be set by 3747 * an application.) 3748 * GtkShadowType shadow_type; 3749 * The shadow type for the entry. (See gtk_handle_box_set_shadow_type()). 3750 * GtkPositionType handle_position; 3751 * The position of the handlebox's handle with respect 3752 * to the child. (See gtk_handle_box_set_handle_position()) 3753 * gint snap_edge; 3754 * A value of type GtkPosition type indicating snap edge for the widget. 3755 * (See gtk_handle_box_set_snap_edge). The value of -1 indicates 3756 * that this value has not been set. 3757 * gboolean child_detached; 3758 * A boolean value indicating whether the handlebox's 3759 * child is attached or detached. 3760 */ 3761 public struct GtkHandleBox{} 3762 3763 3764 /** 3765 * Main Gtk struct. 3766 */ 3767 public struct GtkIMContextSimple{} 3768 3769 3770 /** 3771 * Main Gtk struct. 3772 */ 3773 public struct GtkIMMulticontext{} 3774 3775 3776 /** 3777 * Main Gtk struct. 3778 */ 3779 public struct GtkSizeGroup{} 3780 3781 3782 /** 3783 * Main Gtk struct. 3784 */ 3785 public struct GtkTooltip{} 3786 3787 3788 /** 3789 * Main Gtk struct. 3790 */ 3791 public struct GtkViewport{} 3792 3793 3794 /** 3795 * Main Gtk struct. 3796 */ 3797 public struct GtkAccessible{} 3798 3799 3800 /** 3801 * Main Gtk struct. 3802 * The GtkBin struct contains the following fields. 3803 * (These fields should be considered read-only. They should never be set by 3804 * an application.) 3805 * GtkWidget *child; 3806 * the child widget. 3807 */ 3808 public struct GtkBin{} 3809 3810 3811 /** 3812 * Main Gtk struct. 3813 * The GtkBox describes an instance of GtkBox and contains the 3814 * following fields. (These fields should be considered read-only. 3815 * They should never be set by an application.) 3816 * GList*children; 3817 * a list of children belonging the GtkBox. 3818 */ 3819 public struct GtkBox{} 3820 // GList *children; 3821 // GtkBox.html 3822 // short spacing; 3823 // GtkBox.html 3824 // uint homogeneous : 1; 3825 // GtkBox.html 3826 3827 3828 /** 3829 * The GtkBoxChild holds a child widget of GtkBox and describes 3830 * how the child is to be packed into the GtkBox. Use 383
