X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gtk%2Fgtk.generated-classes.lisp;h=ddfba0ba23f95a54f82711fbcb39a695051d4215;hb=9096c37a1caaf430e1e6a11ace984484295e4b2e;hp=2075e12e268f9f874c31111c091fe692d18a069c;hpb=b638875984a67b3c43341cdf17607d981c7903ae;p=cl-gtk2.git diff --git a/gtk/gtk.generated-classes.lisp b/gtk/gtk.generated-classes.lisp index 2075e12..ddfba0b 100644 --- a/gtk/gtk.generated-classes.lisp +++ b/gtk/gtk.generated-classes.lisp @@ -7,15 +7,15 @@ (:export t :type-initializer "gtk_size_group_mode_get_type") (:none 0) (:horizontal 1) (:vertical 2) (:both 3)) -(define-g-enum "GtkUnit" unit (:export t :type-initializer "gtk_unit_get_type") - (:pixel 0) (:points 1) (:inch 2) (:mm 3)) - (define-g-enum "GtkPrintStatus" print-status (:export t :type-initializer "gtk_print_status_get_type") (:initial 0) (:preparing 1) (:generating-data 2) (:sending-data 3) (:pending 4) (:pending-issue 5) (:printing 6) (:finished 7) (:finished-aborted 8)) +(define-g-enum "GtkUnit" unit (:export t :type-initializer "gtk_unit_get_type") + (:pixel 0) (:points 1) (:inch 2) (:mm 3)) + (define-g-enum "GtkRecentSortType" recent-sort-type (:export t :type-initializer "gtk_recent_sort_type_get_type") (:none 0) (:mru 1) (:lru 2) (:custom 3)) @@ -38,16 +38,16 @@ "gtk_tree_view_column_sizing_get_type") (:grow-only 0) (:autosize 1) (:fixed 2)) +(define-g-enum "GtkProgressBarStyle" progress-bar-style + (:export t :type-initializer "gtk_progress_bar_style_get_type") + (:continuous 0) (:discrete 1)) + (define-g-enum "GtkProgressBarOrientation" progress-bar-orientation (:export t :type-initializer "gtk_progress_bar_orientation_get_type") (:left-to-right 0) (:right-to-left 1) (:bottom-to-top 2) (:top-to-bottom 3)) -(define-g-enum "GtkProgressBarStyle" progress-bar-style - (:export t :type-initializer "gtk_progress_bar_style_get_type") - (:continuous 0) (:discrete 1)) - (define-g-enum "GtkUpdateType" update-type (:export t :type-initializer "gtk_update_type_get_type") (:continuous 0) (:discontinuous 1) (:delayed 2)) @@ -82,14 +82,14 @@ (:export t :type-initializer "gtk_toolbar_style_get_type") (:icons 0) (:text 1) (:both 2) (:both-horiz 3)) -(define-g-enum "GtkWrapMode" wrap-mode - (:export t :type-initializer "gtk_wrap_mode_get_type") (:none 0) - (:char 1) (:word 2) (:word-char 3)) - (define-g-enum "GtkJustification" justification (:export t :type-initializer "gtk_justification_get_type") (:left 0) (:right 1) (:center 2) (:fill 3)) +(define-g-enum "GtkWrapMode" wrap-mode + (:export t :type-initializer "gtk_wrap_mode_get_type") (:none 0) + (:char 1) (:word 2) (:word-char 3)) + (define-g-enum "GtkButtonBoxStyle" button-box-style (:export t :type-initializer "gtk_button_box_style_get_type") (:default-style 0) (:spread 1) (:edge 2) (:start 3) (:end 4) @@ -562,28 +562,52 @@ (define-g-interface "GtkFileChooser" file-chooser (:export t :type-initializer "gtk_file_chooser_get_type") - (show-hidden file-chooser-show-hidden "show-hidden" - "gboolean" t t) - (select-multiple file-chooser-select-multiple - "select-multiple" "gboolean" t t) - (action file-chooser-action "action" "GtkFileChooserAction" - t t) - (preview-widget file-chooser-preview-widget - "preview-widget" "GtkWidget" t t) + (preview-widget-active file-chooser-preview-widget-active + "preview-widget-active" "gboolean" t t) (file-system-backend file-chooser-file-system-backend "file-system-backend" "gchararray" nil nil) - (use-preview-label file-chooser-use-preview-label - "use-preview-label" "gboolean" t t) (filter file-chooser-filter "filter" "GtkFileFilter" t t) - (preview-widget-active file-chooser-preview-widget-active - "preview-widget-active" "gboolean" t t) (local-only file-chooser-local-only "local-only" "gboolean" t t) (extra-widget file-chooser-extra-widget "extra-widget" "GtkWidget" t t) + (action file-chooser-action "action" "GtkFileChooserAction" + t t) + (select-multiple file-chooser-select-multiple + "select-multiple" "gboolean" t t) (do-overwrite-confirmation file-chooser-do-overwrite-confirmation - "do-overwrite-confirmation" "gboolean" t t)) + "do-overwrite-confirmation" "gboolean" t t) + (show-hidden file-chooser-show-hidden "show-hidden" + "gboolean" t t) + (use-preview-label file-chooser-use-preview-label + "use-preview-label" "gboolean" t t) + (preview-widget file-chooser-preview-widget + "preview-widget" "GtkWidget" t t) + (:cffi current-name file-chooser-current-name + (:string :free-to-foreign t :encoding :utf-8) nil + "gtk_file_chooser_set_current_name") + (:cffi filename file-chooser-filename + (g-string :free-from-foreign t :free-to-foreign t) + "gtk_file_chooser_get_filename" + "gtk_file_chooser_set_filename") + (:cffi current-folder file-chooser-current-folder + (g-string :free-from-foreign t :free-to-foreign t) + "gtk_file_chooser_get_current_folder" + "gtk_file_chooser_set_current_folder") + (:cffi uri file-chooser-uri + (g-string :free-from-foreign t :free-to-foreign t) + "gtk_file_chooser_get_uri" "gtk_file_chooser_set_uri") + (:cffi current-folder-uri file-chooser-current-folder-uri + (g-string :free-from-foreign t :free-to-foreign t) + "gtk_file_chooser_get_current_folder_uri" + "gtk_file_chooser_set_current_folder_uri") + (:cffi preview-filename file-chooser-preview-filename + (g-string :free-from-foreign t :free-to-foreign t) + "gtk_file_chooser_get_preview_filename" nil) + (:cffi preview-uri file-chooser-preview-uri + (g-string :free-from-foreign t :free-to-foreign t) + "gtk_file_chooser_get_preview_uri" nil)) (define-g-interface "GtkFileChooserEmbed" file-chooser-embed (:export t)) @@ -606,25 +630,25 @@ (define-g-interface "GtkRecentChooser" recent-chooser (:export t :type-initializer "gtk_recent_chooser_get_type") - (limit recent-chooser-limit "limit" "gint" t t) + (select-multiple recent-chooser-select-multiple + "select-multiple" "gboolean" t t) + (filter recent-chooser-filter "filter" "GtkRecentFilter" t + t) + (show-tips recent-chooser-show-tips "show-tips" "gboolean" + t t) + (sort-type recent-chooser-sort-type "sort-type" + "GtkRecentSortType" t t) (recent-manager recent-chooser-recent-manager "recent-manager" "GtkRecentManager" nil nil) (show-not-found recent-chooser-show-not-found "show-not-found" "gboolean" t t) + (limit recent-chooser-limit "limit" "gint" t t) (show-icons recent-chooser-show-icons "show-icons" "gboolean" t t) (local-only recent-chooser-local-only "local-only" "gboolean" t t) - (show-tips recent-chooser-show-tips "show-tips" "gboolean" - t t) (show-private recent-chooser-show-private "show-private" - "gboolean" t t) - (filter recent-chooser-filter "filter" "GtkRecentFilter" t - t) - (sort-type recent-chooser-sort-type "sort-type" - "GtkRecentSortType" t t) - (select-multiple recent-chooser-select-multiple - "select-multiple" "gboolean" t t)) + "gboolean" t t)) (define-g-interface "GtkToolShell" tool-shell (:export t :type-initializer "gtk_tool_shell_get_type")) @@ -674,7 +698,20 @@ "gchararray" t t) (tooltip-text widget-tooltip-text "tooltip-text" "gchararray" t t) - (window widget-window "window" "GdkWindow" t nil))) + (window widget-window "window" "GdkWindow" t nil) + (:cffi direction widget-direction text-direction + "gtk_widget_get_direction" "gtk_widget_set_direction") + (:cffi composite-name widget-composite-name + (g-string :free-from-foreign t :free-to-foreign t) + "gtk_widget_get_composite_name" + "gtk_widget_set_composite_name") + (:cffi redraw-on-allocate widget-redraw-on-allocate + :boolean nil "gtk_widget_set_redraw_on_allocate") + (:cffi accessible widget-accessible g-object + "gtk_widget_get_accessible" nil) + (:cffi tooltip-window widget-tooltip-window g-object + "gtk_widget_get_tooltip_window" + "gtk_window_set_tooltip_window"))) (define-g-object-class "GtkContainer" container (:superclass widget :export t :interfaces @@ -684,7 +721,16 @@ "guint" t t) (resize-mode container-resize-mode "resize-mode" "GtkResizeMode" t t) - (child container-child "child" "GtkWidget" nil t))) + (child container-child "child" "GtkWidget" nil t) + (:cffi focus-child container-focus-child g-object + "gtk_container_get_focus_child" + "gtk_container_set_focus_child") + (:cffi vadjustment-child container-vadjustment-child + g-object "gtk_container_get_vadjustment_child" + "gtk_container_set_vadjustment_child") + (:cffi hadjustment-child container-hadjustment-child + g-object "gtk_container_get_hadjustment_child" + "gtk_container_set_hadjustment_child"))) (define-g-object-class "GtkBin" bin (:superclass container :export t :interfaces @@ -806,7 +852,22 @@ (:superclass dialog :export t :interfaces ("AtkImplementorIface" "GtkBuildable") :type-initializer "gtk_font_selection_dialog_get_type") - nil) + ((:cffi font-name font-selection-dialog-font-name + (g-string :free-from-foreign t :free-to-foreign t) + "gtk_font_selection_dialog_get_font_name" + "gtk_font_selection_dialog_set_font_name") + (:cffi preview-text font-selection-dialog-preview-text + :string "gtk_font_selection_dialog_get_preview_text" + "gtk_font_selection_dialog_set_preview_text") + (:cffi apply-button font-selection-dialog-apply-button + g-object "gtk_font_selection_dialog_get_apply_button" + nil) + (:cffi cancel-button + font-selection-dialog-cancel-button g-object + "gtk_font_selection_dialog_get_cancel_button" nil) + (:cffi ok-button font-selection-dialog-ok-button + g-object "gtk_font_selection_dialog_get_ok_button" + nil))) (define-g-object-class "GtkInputDialog" input-dialog (:superclass dialog :export t :interfaces @@ -1503,7 +1564,9 @@ (:superclass container :export t :interfaces ("AtkImplementorIface" "GtkBuildable") :type-initializer "gtk_fixed_get_type") - nil) + ((:cffi has-window fixed-has-window :boolean + "gtk_fixed_get_has_window" + "gtk_gixed_set_has_window"))) (define-g-object-class "GtkPaned" paned (:superclass container :export t :interfaces @@ -1538,7 +1601,9 @@ (vadjustment layout-vadjustment "vadjustment" "GtkAdjustment" t t) (width layout-width "width" "guint" t t) - (height layout-height "height" "guint" t t))) + (height layout-height "height" "guint" t t) + (:cffi bin-window layout-bin-window g-object + "gtk_layout_get_bin_window" nil))) (define-g-object-class "GtkSocket" socket (:superclass container :export t :interfaces @@ -1629,6 +1694,12 @@ (sort-type c-list-sort-type "sort-type" "GtkSortType" t t))) +(define-g-object-class "GtkPathBar" path-bar + (:superclass container :export t :interfaces + ("AtkImplementorIface" "GtkBuildable") + :type-initializer "gtk_path_bar_get_type") + nil) + (define-g-object-class "GtkMisc" misc (:superclass widget :export t :interfaces ("AtkImplementorIface" "GtkBuildable") @@ -1734,7 +1805,9 @@ (detail-width-chars calendar-detail-width-chars "detail-width-chars" "gint" t t) (detail-height-rows calendar-detail-height-rows - "detail-height-rows" "gint" t t))) + "detail-height-rows" "gint" t t) + (:cffi detail-function calendar-detail-function nil nil + calendar-set-detail-function))) (define-g-object-class "GtkCellView" cell-view (:superclass widget :export t :interfaces @@ -2253,7 +2326,9 @@ (define-g-object-class "GtkFileFilter" file-filter (:superclass gtk-object :export t :interfaces nil :type-initializer "gtk_file_filter_get_type") - nil) + ((:cffi name file-filter-name :string + "gtk_file_filter_get_name" + "gtk_file_filter_set_name"))) (define-g-object-class "GtkRecentFilter" recent-filter (:superclass gtk-object :export t :interfaces nil @@ -2388,11 +2463,14 @@ "gtk-enable-tooltips" "gboolean" t t) (gtk-button-images settings-gtk-button-images "gtk-button-images" "gboolean" t t) - (gtk-menu-images settings-gtk-menu-images - "gtk-menu-images" "gboolean" t t) (gtk-scrolled-window-placement settings-gtk-scrolled-window-placement "gtk-scrolled-window-placement" "GtkCornerType" t t) + (gtk-label-select-on-focus + settings-gtk-label-select-on-focus + "gtk-label-select-on-focus" "gboolean" t t) + (gtk-menu-images settings-gtk-menu-images + "gtk-menu-images" "gboolean" t t) (gtk-can-change-accels settings-gtk-can-change-accels "gtk-can-change-accels" "gboolean" t t) (gtk-menu-popup-delay settings-gtk-menu-popup-delay @@ -2408,9 +2486,6 @@ "gtk-toolbar-style" "GtkToolbarStyle" t t) (gtk-toolbar-icon-size settings-gtk-toolbar-icon-size "gtk-toolbar-icon-size" "GtkIconSize" t t) - (gtk-label-select-on-focus - settings-gtk-label-select-on-focus - "gtk-label-select-on-focus" "gboolean" t t) (gtk-entry-select-on-focus settings-gtk-entry-select-on-focus "gtk-entry-select-on-focus" "gboolean" t t) @@ -2776,7 +2851,10 @@ "gboolean" t t) (paragraph-background-set text-tag-paragraph-background-set - "paragraph-background-set" "gboolean" t t))) + "paragraph-background-set" "gboolean" t t) + (:cffi priority text-tag-priority :int + "gtk_text_tag_get_priority" + "gtk_text_tag_set_priority"))) (define-g-object-class "GtkTextTagTable" text-tag-table (:superclass g-object :export t :interfaces nil