[gtkmm] Regenerated some .defs files.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Regenerated some .defs files.
- Date: Fri, 3 Dec 2010 12:05:53 +0000 (UTC)
commit d194bf31f30ca650a0622f141a713b2e81c31777
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Dec 3 13:05:47 2010 +0100
Regenerated some .defs files.
* gdk/src/gdk_signals.defs: Regenerated with extra_defs/.
* gdk/src/gdk_methods.defs:
* gtk/src/gtk_methods.defs: Regenerated with h2defs.py.
ChangeLog | 8 ++
gdk/src/gdk_methods.defs | 78 ++++-----------
gdk/src/gdk_signals.defs | 27 +++--
gtk/src/gtk_methods.defs | 251 ++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 294 insertions(+), 70 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d564de4..85c3322 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2010-12-03 Murray Cumming <murrayc murrayc com>
+ Regenerated some .defs files.
+
+ * gdk/src/gdk_signals.defs: Regenerated with extra_defs/.
+ * gdk/src/gdk_methods.defs:
+ * gtk/src/gtk_methods.defs: Regenerated with h2defs.py.
+
+2010-12-03 Murray Cumming <murrayc murrayc com>
+
ComboBoxText: Add append()/prepend()/insert overloads.
* gtk/src/comboboxtext.hg: Rename append_text(), prepend_text() and
diff --git a/gdk/src/gdk_methods.defs b/gdk/src/gdk_methods.defs
index c689d2c..76a9bc4 100644
--- a/gdk/src/gdk_methods.defs
+++ b/gdk/src/gdk_methods.defs
@@ -28,13 +28,6 @@
(gtype-id "GDK_TYPE_DRAG_CONTEXT")
)
-(define-object Drawable
- (in-module "Gdk")
- (parent "GObject")
- (c-name "GdkDrawable")
- (gtype-id "GDK_TYPE_DRAWABLE")
-)
-
(define-object Keymap
(in-module "Gdk")
(parent "GObject")
@@ -196,7 +189,6 @@
'("drop-finished" "GDK_DROP_FINISHED")
'("client-event" "GDK_CLIENT_EVENT")
'("visibility-notify" "GDK_VISIBILITY_NOTIFY")
- '("no-expose" "GDK_NO_EXPOSE")
'("scroll" "GDK_SCROLL")
'("window-state" "GDK_WINDOW_STATE")
'("setting" "GDK_SETTING")
@@ -651,16 +643,7 @@
(c-name "gdk_cairo_create")
(return-type "cairo_t*")
(parameters
- '("GdkDrawable*" "drawable")
- )
-)
-
-(define-function gdk_cairo_reset_clip
- (c-name "gdk_cairo_reset_clip")
- (return-type "none")
- (parameters
- '("cairo_t*" "cr")
- '("GdkDrawable*" "drawable")
+ '("GdkWindow*" "window")
)
)
@@ -1702,27 +1685,6 @@
-;; From gdkdrawable.h
-
-(define-function gdk_drawable_get_type
- (c-name "gdk_drawable_get_type")
- (return-type "GType")
-)
-
-(define-method get_clip_region
- (of-object "GdkDrawable")
- (c-name "gdk_drawable_get_clip_region")
- (return-type "cairo_region_t*")
-)
-
-(define-method get_visible_region
- (of-object "GdkDrawable")
- (c-name "gdk_drawable_get_visible_region")
- (return-type "cairo_region_t*")
-)
-
-
-
;; From gdkenumtypes.h
(define-function gdk_cursor_type_get_type
@@ -3610,8 +3572,8 @@
;; From gdkwindow.h
-(define-function gdk_window_object_get_type
- (c-name "gdk_window_object_get_type")
+(define-function gdk_window_get_type
+ (c-name "gdk_window_get_type")
(return-type "GType")
)
@@ -4079,6 +4041,18 @@
)
)
+(define-method get_clip_region
+ (of-object "GdkWindow")
+ (c-name "gdk_window_get_clip_region")
+ (return-type "cairo_region_t*")
+)
+
+(define-method get_visible_region
+ (of-object "GdkWindow")
+ (c-name "gdk_window_get_visible_region")
+ (return-type "cairo_region_t*")
+)
+
(define-method begin_paint_rect
(of-object "GdkWindow")
(c-name "gdk_window_begin_paint_rect")
@@ -4768,25 +4742,9 @@
;; From gdkx.h
-(define-function gdk_x11_drawable_get_xdisplay
- (c-name "gdk_x11_drawable_get_xdisplay")
- (return-type "Display*")
- (parameters
- '("GdkDrawable*" "drawable")
- )
-)
-
-(define-function gdk_x11_drawable_get_xid
- (c-name "gdk_x11_drawable_get_xid")
- (return-type "XID")
- (parameters
- '("GdkDrawable*" "drawable")
- )
-)
-
-(define-function gdk_x11_window_get_drawable_impl
- (c-name "gdk_x11_window_get_drawable_impl")
- (return-type "GdkDrawable*")
+(define-function gdk_x11_window_get_xid
+ (c-name "gdk_x11_window_get_xid")
+ (return-type "Window")
(parameters
'("GdkWindow*" "window")
)
diff --git a/gdk/src/gdk_signals.defs b/gdk/src/gdk_signals.defs
index 289080a..7625a21 100644
--- a/gdk/src/gdk_signals.defs
+++ b/gdk/src/gdk_signals.defs
@@ -1,9 +1,13 @@
-;; From GdkColormap
-
;; From GdkDragContext
;; From GdkDisplay
+(define-signal opened
+ (of-object "GdkDisplay")
+ (return-type "void")
+ (when "last")
+)
+
(define-signal closed
(of-object "GdkDisplay")
(return-type "void")
@@ -33,12 +37,6 @@
(construct-only #f)
)
-;; From GdkDrawable
-
-;; From GdkGC
-
-;; From GdkImage
-
;; From GdkPixbuf
(define-property colorspace
@@ -151,8 +149,6 @@
)
)
-;; From GdkPixmap
-
;; From GdkScreen
(define-signal size-changed
@@ -229,6 +225,16 @@
)
)
+(define-signal create-surface
+ (of-object "GdkWindow")
+ (return-type "CairoSurface*")
+ (when "last")
+ (parameters
+ '("gint" "p0")
+ '("gint" "p1")
+ )
+)
+
(define-property cursor
(of-object "GdkWindow")
(prop-type "GParamBoxed")
@@ -237,3 +243,4 @@
(writable #t)
(construct-only #f)
)
+
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index 1d1890a..4a550a3 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -988,6 +988,13 @@
(gtype-id "GTK_TYPE_COMBO_BOX")
)
+(define-object AppChooserButton
+ (in-module "Gtk")
+ (parent "GtkComboBox")
+ (c-name "GtkAppChooserButton")
+ (gtype-id "GTK_TYPE_APP_CHOOSER_BUTTON")
+)
+
(define-object ComboBoxEntry
(in-module "Gtk")
(parent "GtkComboBox")
@@ -1072,6 +1079,13 @@
(gtype-id "GTK_TYPE_FILE_CHOOSER_BUTTON")
)
+(define-object AppChooserWidget
+ (in-module "Gtk")
+ (parent "GtkBox")
+ (c-name "GtkAppChooserWidget")
+ (gtype-id "GTK_TYPE_APP_CHOOSER_WIDGET")
+)
+
(define-object ButtonBox
(in-module "Gtk")
(parent "GtkBox")
@@ -1184,6 +1198,13 @@
(gtype-id "GTK_TYPE_ABOUT_DIALOG")
)
+(define-object AppChooserDialog
+ (in-module "Gtk")
+ (parent "GtkDialog")
+ (c-name "GtkAppChooserDialog")
+ (gtype-id "GTK_TYPE_APP_CHOOSER_DIALOG")
+)
+
(define-object ColorSelectionDialog
(in-module "Gtk")
(parent "GtkDialog")
@@ -3910,6 +3931,236 @@
+;; From gtkappchooserbutton.h
+
+(define-function gtk_app_chooser_button_get_type
+ (c-name "gtk_app_chooser_button_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_app_chooser_button_new
+ (c-name "gtk_app_chooser_button_new")
+ (is-constructor-of "GtkAppChooserButton")
+ (return-type "GtkWidget*")
+ (parameters
+ '("const-gchar*" "content_type")
+ )
+)
+
+(define-method append_separator
+ (of-object "GtkAppChooserButton")
+ (c-name "gtk_app_chooser_button_append_separator")
+ (return-type "none")
+)
+
+(define-method append_custom_item
+ (of-object "GtkAppChooserButton")
+ (c-name "gtk_app_chooser_button_append_custom_item")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "name")
+ '("const-gchar*" "label")
+ '("GIcon*" "icon")
+ )
+)
+
+(define-method set_active_custom_item
+ (of-object "GtkAppChooserButton")
+ (c-name "gtk_app_chooser_button_set_active_custom_item")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "name")
+ )
+)
+
+(define-method set_show_dialog_item
+ (of-object "GtkAppChooserButton")
+ (c-name "gtk_app_chooser_button_set_show_dialog_item")
+ (return-type "none")
+ (parameters
+ '("gboolean" "setting")
+ )
+)
+
+(define-method get_show_dialog_item
+ (of-object "GtkAppChooserButton")
+ (c-name "gtk_app_chooser_button_get_show_dialog_item")
+ (return-type "gboolean")
+)
+
+
+
+;; From gtkappchooserdialog.h
+
+(define-function gtk_app_chooser_dialog_get_type
+ (c-name "gtk_app_chooser_dialog_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_app_chooser_dialog_new
+ (c-name "gtk_app_chooser_dialog_new")
+ (is-constructor-of "GtkAppChooserDialog")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GtkWindow*" "parent")
+ '("GtkDialogFlags" "flags")
+ '("GFile*" "file")
+ )
+)
+
+(define-function gtk_app_chooser_dialog_new_for_content_type
+ (c-name "gtk_app_chooser_dialog_new_for_content_type")
+ (return-type "GtkWidget*")
+ (parameters
+ '("GtkWindow*" "parent")
+ '("GtkDialogFlags" "flags")
+ '("const-gchar*" "content_type")
+ )
+)
+
+(define-method get_widget
+ (of-object "GtkAppChooserDialog")
+ (c-name "gtk_app_chooser_dialog_get_widget")
+ (return-type "GtkWidget*")
+)
+
+
+
+;; From gtkappchooser.h
+
+(define-function gtk_app_chooser_get_type
+ (c-name "gtk_app_chooser_get_type")
+ (return-type "GType")
+)
+
+(define-method get_app_info
+ (of-object "GtkAppChooser")
+ (c-name "gtk_app_chooser_get_app_info")
+ (return-type "GAppInfo*")
+)
+
+(define-method get_content_type
+ (of-object "GtkAppChooser")
+ (c-name "gtk_app_chooser_get_content_type")
+ (return-type "gchar*")
+)
+
+(define-method refresh
+ (of-object "GtkAppChooser")
+ (c-name "gtk_app_chooser_refresh")
+ (return-type "none")
+)
+
+
+
+;; From gtkappchooserwidget.h
+
+(define-function gtk_app_chooser_widget_get_type
+ (c-name "gtk_app_chooser_widget_get_type")
+ (return-type "GType")
+)
+
+(define-function gtk_app_chooser_widget_new
+ (c-name "gtk_app_chooser_widget_new")
+ (is-constructor-of "GtkAppChooserWidget")
+ (return-type "GtkWidget*")
+ (parameters
+ '("const-gchar*" "content_type")
+ )
+)
+
+(define-method set_show_default
+ (of-object "GtkAppChooserWidget")
+ (c-name "gtk_app_chooser_widget_set_show_default")
+ (return-type "none")
+ (parameters
+ '("gboolean" "setting")
+ )
+)
+
+(define-method get_show_default
+ (of-object "GtkAppChooserWidget")
+ (c-name "gtk_app_chooser_widget_get_show_default")
+ (return-type "gboolean")
+)
+
+(define-method set_show_recommended
+ (of-object "GtkAppChooserWidget")
+ (c-name "gtk_app_chooser_widget_set_show_recommended")
+ (return-type "none")
+ (parameters
+ '("gboolean" "setting")
+ )
+)
+
+(define-method get_show_recommended
+ (of-object "GtkAppChooserWidget")
+ (c-name "gtk_app_chooser_widget_get_show_recommended")
+ (return-type "gboolean")
+)
+
+(define-method set_show_fallback
+ (of-object "GtkAppChooserWidget")
+ (c-name "gtk_app_chooser_widget_set_show_fallback")
+ (return-type "none")
+ (parameters
+ '("gboolean" "setting")
+ )
+)
+
+(define-method get_show_fallback
+ (of-object "GtkAppChooserWidget")
+ (c-name "gtk_app_chooser_widget_get_show_fallback")
+ (return-type "gboolean")
+)
+
+(define-method set_show_other
+ (of-object "GtkAppChooserWidget")
+ (c-name "gtk_app_chooser_widget_set_show_other")
+ (return-type "none")
+ (parameters
+ '("gboolean" "setting")
+ )
+)
+
+(define-method get_show_other
+ (of-object "GtkAppChooserWidget")
+ (c-name "gtk_app_chooser_widget_get_show_other")
+ (return-type "gboolean")
+)
+
+(define-method set_show_all
+ (of-object "GtkAppChooserWidget")
+ (c-name "gtk_app_chooser_widget_set_show_all")
+ (return-type "none")
+ (parameters
+ '("gboolean" "setting")
+ )
+)
+
+(define-method get_show_all
+ (of-object "GtkAppChooserWidget")
+ (c-name "gtk_app_chooser_widget_get_show_all")
+ (return-type "gboolean")
+)
+
+(define-method set_default_text
+ (of-object "GtkAppChooserWidget")
+ (c-name "gtk_app_chooser_widget_set_default_text")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "text")
+ )
+)
+
+(define-method get_default_text
+ (of-object "GtkAppChooserWidget")
+ (c-name "gtk_app_chooser_widget_get_default_text")
+ (return-type "const-gchar*")
+)
+
+
+
;; From gtkapplication.h
(define-function gtk_application_get_type
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]