diff options
author | John Finlay <finlay@src.gnome.org> | 2006-06-10 00:46:33 +0000 |
---|---|---|
committer | John Finlay <finlay@src.gnome.org> | 2006-06-10 00:46:33 +0000 |
commit | e857c92b9592ca3c042a189a8f02f9a20431b2d6 (patch) | |
tree | 23f8b3e9e0f5607b72dc9d124bc32ad46b348cae /gtk/gtk-2.10-types.defs | |
parent | 5b3e4803aa1849d0d4e882acd02c468fc1966dfa (diff) | |
download | pygtk-e857c92b9592ca3c042a189a8f02f9a20431b2d6.tar.gz |
Add. (gtk_print_operation_set_default_page_setup)
* gtk/gtk-2.10.defs (gtk_button_set_image_position)
(gtk_button_get_image_position, gtk_print_context_set_cairo_context)
(gtk_print_operation_set_track_print_status)
(gtk_print_operation_set_show_progress)
(gtk_print_operation_set_allow_async)
(gtk_print_operation_set_custom_tab_label)
(gtk_print_operation_get_error, gtk_print_operation_cancel
(gtk_status_icon_get_geometry): Add.
(gtk_print_operation_set_default_page_setup)
(gtk_print_operation_set_print_settings): Allow default NULL arg.
* gtk/gtk-2.10-types.defs: Add PrintOperationPreview, RecentFilter,
RecentInfo. Sync enums.
Diffstat (limited to 'gtk/gtk-2.10-types.defs')
-rw-r--r-- | gtk/gtk-2.10-types.defs | 58 |
1 files changed, 37 insertions, 21 deletions
diff --git a/gtk/gtk-2.10-types.defs b/gtk/gtk-2.10-types.defs index 7a44548e..2c3a0c6b 100644 --- a/gtk/gtk-2.10-types.defs +++ b/gtk/gtk-2.10-types.defs @@ -21,12 +21,6 @@ (gtype-id "GTK_TYPE_PAGE_SETUP") ) -(define-boxed PaperSize - (in-module "Gtk") - (c-name "GtkPaperSize") - (gtype-id "GTK_TYPE_PAPER_SIZE") -) - (define-object PrintContext (in-module "Gtk") (parent "GObject") @@ -41,6 +35,12 @@ (gtype-id "GTK_TYPE_PRINT_OPERATION") ) +(define-object PrintOperationPreview + (in-module "Gtk") + (c-name "GtkPrintOperationPreview") + (gtype-id "GTK_TYPE_PRINT_OPERATION_PREVIEW") +) + (define-object PrintSettings (in-module "Gtk") (parent "GObject") @@ -54,6 +54,13 @@ (gtype-id "GTK_TYPE_RECENT_CHOOSER") ) +(define-object RecentFilter + (in-module "Gtk") + (parent "GtkObject") + (c-name "GtkRecentFilter") + (gtype-id "GTK_TYPE_RECENT_FILTER") +) + (define-object RecentManager (in-module "Gtk") (parent "GObject") @@ -103,6 +110,18 @@ (gtype-id "GTK_TYPE_ASSISTANT") ) +(define-boxed PaperSize + (in-module "Gtk") + (c-name "GtkPaperSize") + (gtype-id "GTK_TYPE_PAPER_SIZE") +) + +(define-boxed RecentInfo + (in-module "Gtk") + (c-name "GtkRecentInfo") + (gtype-id "GTK_TYPE_RECENT_INFO") +) + ;; Enumerations and flags ... (define-enum AssistantPageType @@ -225,18 +244,6 @@ ) ) -(define-enum PrintOperationAction - (in-module "Gtk") - (c-name "GtkPrintOperationAction") - (gtype-id "GTK_TYPE_PRINT_OPERATION_ACTION") - (values - '("print-dialog" "GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG") - '("print" "GTK_PRINT_OPERATION_ACTION_PRINT") - '("preview" "GTK_PRINT_OPERATION_ACTION_PREVIEW") - '("export" "GTK_PRINT_OPERATION_ACTION_EXPORT") - ) -) - (define-enum PrintOperationResult (in-module "Gtk") (c-name "GtkPrintOperationResult") @@ -245,11 +252,22 @@ '("error" "GTK_PRINT_OPERATION_RESULT_ERROR") '("apply" "GTK_PRINT_OPERATION_RESULT_APPLY") '("cancel" "GTK_PRINT_OPERATION_RESULT_CANCEL") - '("preview" "GTK_PRINT_OPERATION_RESULT_PREVIEW") '("in-progress" "GTK_PRINT_OPERATION_RESULT_IN_PROGRESS") ) ) +(define-enum PrintOperationAction + (in-module "Gtk") + (c-name "GtkPrintOperationAction") + (gtype-id "GTK_TYPE_PRINT_OPERATION_ACTION") + (values + '("print-dialog" "GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG") + '("print" "GTK_PRINT_OPERATION_ACTION_PRINT") + '("preview" "GTK_PRINT_OPERATION_ACTION_PREVIEW") + '("export" "GTK_PRINT_OPERATION_ACTION_EXPORT") + ) +) + (define-enum PrintError (in-module "Gtk") (c-name "GtkPrintError") @@ -304,10 +322,8 @@ (values '("not-found" "GTK_RECENT_MANAGER_ERROR_NOT_FOUND") '("invalid-uri" "GTK_RECENT_MANAGER_ERROR_INVALID_URI") - '("invalid-mime" "GTK_RECENT_MANAGER_ERROR_INVALID_MIME") '("invalid-encoding" "GTK_RECENT_MANAGER_ERROR_INVALID_ENCODING") '("not-registered" "GTK_RECENT_MANAGER_ERROR_NOT_REGISTERED") - '("bad-exec-string" "GTK_RECENT_MANAGER_ERROR_BAD_EXEC_STRING") '("read" "GTK_RECENT_MANAGER_ERROR_READ") '("write" "GTK_RECENT_MANAGER_ERROR_WRITE") '("unknown" "GTK_RECENT_MANAGER_ERROR_UNKNOWN") |