[gtkmm] Regenerate gtk .defs.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Regenerate gtk .defs.
- Date: Mon, 29 May 2017 10:33:30 +0000 (UTC)
commit 4ecb0c8ab6cc25d2986f456e08b3b73f01b81404
Author: Murray Cumming <murrayc murrayc com>
Date: Mon May 29 12:14:04 2017 +0200
Regenerate gtk .defs.
gtk/src/gtk_methods.defs | 165 +++--------------------
gtk/src/gtk_signals.defs | 331 +++++++++++++++++++++-------------------------
2 files changed, 173 insertions(+), 323 deletions(-)
---
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index 2f94105..f7425a1 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -11658,21 +11658,6 @@
(return-type "gboolean")
)
-(define-method get_window
- (of-object "GtkGesture")
- (c-name "gtk_gesture_get_window")
- (return-type "GdkWindow*")
-)
-
-(define-method set_window
- (of-object "GtkGesture")
- (c-name "gtk_gesture_set_window")
- (return-type "none")
- (parameters
- '("GdkWindow*" "window")
- )
-)
-
(define-method group
(of-object "GtkGesture")
(c-name "gtk_gesture_group")
@@ -13579,12 +13564,12 @@
(return-type "GType")
)
-(define-method set_client_window
+(define-method set_client_widget
(of-object "GtkIMContext")
- (c-name "gtk_im_context_set_client_window")
+ (c-name "gtk_im_context_set_client_widget")
(return-type "none")
(parameters
- '("GdkWindow*" "window")
+ '("GtkWidget*" "widget")
)
)
@@ -15365,7 +15350,24 @@
(c-name "gtk_get_event_widget")
(return-type "GtkWidget*")
(parameters
+ '("const-GdkEvent*" "event")
+ )
+)
+
+(define-function gtk_get_event_target
+ (c-name "gtk_get_event_target")
+ (return-type "GtkWidget*")
+ (parameters
+ '("const-GdkEvent*" "event")
+ )
+)
+
+(define-function gtk_get_event_target_with_type
+ (c-name "gtk_get_event_target_with_type")
+ (return-type "GtkWidget*")
+ (parameters
'("GdkEvent*" "event")
+ '("GType" "type")
)
)
@@ -27666,21 +27668,6 @@
)
)
-(define-method set_use_drag_window
- (of-object "GtkToolItem")
- (c-name "gtk_tool_item_set_use_drag_window")
- (return-type "none")
- (parameters
- '("gboolean" "use_drag_window")
- )
-)
-
-(define-method get_use_drag_window
- (of-object "GtkToolItem")
- (c-name "gtk_tool_item_get_use_drag_window")
- (return-type "gboolean")
-)
-
(define-method set_visible_horizontal
(of-object "GtkToolItem")
(c-name "gtk_tool_item_set_visible_horizontal")
@@ -30889,48 +30876,6 @@
(return-type "GtkSizeRequestMode")
)
-(define-method get_preferred_width
- (of-object "GtkWidget")
- (c-name "gtk_widget_get_preferred_width")
- (return-type "none")
- (parameters
- '("gint*" "minimum_width")
- '("gint*" "natural_width")
- )
-)
-
-(define-method get_preferred_height_for_width
- (of-object "GtkWidget")
- (c-name "gtk_widget_get_preferred_height_for_width")
- (return-type "none")
- (parameters
- '("gint" "width")
- '("gint*" "minimum_height")
- '("gint*" "natural_height")
- )
-)
-
-(define-method get_preferred_height
- (of-object "GtkWidget")
- (c-name "gtk_widget_get_preferred_height")
- (return-type "none")
- (parameters
- '("gint*" "minimum_height")
- '("gint*" "natural_height")
- )
-)
-
-(define-method get_preferred_width_for_height
- (of-object "GtkWidget")
- (c-name "gtk_widget_get_preferred_width_for_height")
- (return-type "none")
- (parameters
- '("gint" "height")
- '("gint*" "minimum_width")
- '("gint*" "natural_width")
- )
-)
-
(define-method measure
(of-object "GtkWidget")
(c-name "gtk_widget_measure")
@@ -31018,7 +30963,7 @@
(c-name "gtk_widget_event")
(return-type "gboolean")
(parameters
- '("GdkEvent*" "event")
+ '("const-GdkEvent*" "event")
)
)
@@ -31504,44 +31449,6 @@
)
)
-(define-method set_events
- (of-object "GtkWidget")
- (c-name "gtk_widget_set_events")
- (return-type "none")
- (parameters
- '("gint" "events")
- )
-)
-
-(define-method add_events
- (of-object "GtkWidget")
- (c-name "gtk_widget_add_events")
- (return-type "none")
- (parameters
- '("gint" "events")
- )
-)
-
-(define-method set_device_events
- (of-object "GtkWidget")
- (c-name "gtk_widget_set_device_events")
- (return-type "none")
- (parameters
- '("GdkDevice*" "device")
- '("GdkEventMask" "events")
- )
-)
-
-(define-method add_device_events
- (of-object "GtkWidget")
- (c-name "gtk_widget_add_device_events")
- (return-type "none")
- (parameters
- '("GdkDevice*" "device")
- '("GdkEventMask" "events")
- )
-)
-
(define-method set_opacity
(of-object "GtkWidget")
(c-name "gtk_widget_set_opacity")
@@ -31834,21 +31741,6 @@
)
)
-(define-method get_events
- (of-object "GtkWidget")
- (c-name "gtk_widget_get_events")
- (return-type "gint")
-)
-
-(define-method get_device_events
- (of-object "GtkWidget")
- (c-name "gtk_widget_get_device_events")
- (return-type "GdkEventMask")
- (parameters
- '("GdkDevice*" "device")
- )
-)
-
(define-method is_ancestor
(of-object "GtkWidget")
(c-name "gtk_widget_is_ancestor")
@@ -32956,21 +32848,6 @@
(return-type "gboolean")
)
-(define-method set_hide_titlebar_when_maximized
- (of-object "GtkWindow")
- (c-name "gtk_window_set_hide_titlebar_when_maximized")
- (return-type "none")
- (parameters
- '("gboolean" "setting")
- )
-)
-
-(define-method get_hide_titlebar_when_maximized
- (of-object "GtkWindow")
- (c-name "gtk_window_get_hide_titlebar_when_maximized")
- (return-type "gboolean")
-)
-
(define-method set_mnemonics_visible
(of-object "GtkWindow")
(c-name "gtk_window_set_mnemonics_visible")
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index 8e8caa8..20db772 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -2134,12 +2134,6 @@
(when "last")
)
-(define-signal popdown
- (of-object "GtkComboBox")
- (return-type "gboolean")
- (when "last")
-)
-
(define-signal move-active
(of-object "GtkComboBox")
(return-type "void")
@@ -2149,6 +2143,12 @@
)
)
+(define-signal popdown
+ (of-object "GtkComboBox")
+ (return-type "gboolean")
+ (when "last")
+)
+
(define-signal format-entry-text
(of-object "GtkComboBox")
(return-type "gchar*")
@@ -2371,19 +2371,19 @@
;; From GtkDialog
-(define-signal close
+(define-signal response
(of-object "GtkDialog")
(return-type "void")
(when "last")
+ (parameters
+ '("gint" "p0")
+ )
)
-(define-signal response
+(define-signal close
(of-object "GtkDialog")
(return-type "void")
(when "last")
- (parameters
- '("gint" "p0")
- )
)
(define-property use-header-bar
@@ -2463,6 +2463,21 @@
)
)
+(define-signal copy-clipboard
+ (of-object "GtkEntry")
+ (return-type "void")
+ (when "last")
+)
+
+(define-signal populate-popup
+ (of-object "GtkEntry")
+ (return-type "void")
+ (when "last")
+ (parameters
+ '("GtkWidget*" "p0")
+ )
+)
+
(define-signal insert-at-cursor
(of-object "GtkEntry")
(return-type "void")
@@ -2494,12 +2509,6 @@
(when "last")
)
-(define-signal copy-clipboard
- (of-object "GtkEntry")
- (return-type "void")
- (when "last")
-)
-
(define-signal paste-clipboard
(of-object "GtkEntry")
(return-type "void")
@@ -2512,25 +2521,17 @@
(when "last")
)
-(define-signal populate-popup
- (of-object "GtkEntry")
- (return-type "void")
- (when "last")
- (parameters
- '("GtkWidget*" "p0")
- )
-)
-
-(define-signal preedit-changed
+(define-signal icon-press
(of-object "GtkEntry")
(return-type "void")
(when "last")
(parameters
- '("const-gchar*" "p0")
+ '("GtkEntryIconPosition" "p0")
+ '("const-GdkEventButton*" "p1")
)
)
-(define-signal icon-press
+(define-signal icon-release
(of-object "GtkEntry")
(return-type "void")
(when "last")
@@ -2540,13 +2541,12 @@
)
)
-(define-signal icon-release
+(define-signal preedit-changed
(of-object "GtkEntry")
(return-type "void")
(when "last")
(parameters
- '("GtkEntryIconPosition" "p0")
- '("const-GdkEventButton*" "p1")
+ '("const-gchar*" "p0")
)
)
@@ -3247,13 +3247,13 @@
;; From GtkFileChooser
-(define-signal selection-changed
+(define-signal current-folder-changed
(of-object "GtkFileChooser")
(return-type "void")
(when "last")
)
-(define-signal current-folder-changed
+(define-signal selection-changed
(of-object "GtkFileChooser")
(return-type "void")
(when "last")
@@ -3525,40 +3525,40 @@
)
)
-(define-signal select-all
+(define-signal child-activated
(of-object "GtkFlowBox")
(return-type "void")
(when "last")
+ (parameters
+ '("GtkFlowBoxChild*" "p0")
+ )
)
-(define-signal unselect-all
+(define-signal selected-children-changed
(of-object "GtkFlowBox")
(return-type "void")
- (when "last")
+ (when "first")
)
-(define-signal child-activated
+(define-signal activate-cursor-child
(of-object "GtkFlowBox")
(return-type "void")
(when "last")
- (parameters
- '("GtkFlowBoxChild*" "p0")
- )
)
-(define-signal selected-children-changed
+(define-signal toggle-cursor-child
(of-object "GtkFlowBox")
(return-type "void")
- (when "first")
+ (when "last")
)
-(define-signal activate-cursor-child
+(define-signal select-all
(of-object "GtkFlowBox")
(return-type "void")
(when "last")
)
-(define-signal toggle-cursor-child
+(define-signal unselect-all
(of-object "GtkFlowBox")
(return-type "void")
(when "last")
@@ -3852,15 +3852,6 @@
(construct-only #t)
)
-(define-property window
- (of-object "GtkGesture")
- (prop-type "GParamObject")
- (docs "GdkWindow to receive events about")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
;; From GtkGestureDrag
(define-signal drag-begin
@@ -4348,19 +4339,19 @@
;; From GtkInfoBar
-(define-signal close
+(define-signal response
(of-object "GtkInfoBar")
(return-type "void")
(when "last")
+ (parameters
+ '("gint" "p0")
+ )
)
-(define-signal response
+(define-signal close
(of-object "GtkInfoBar")
(return-type "void")
(when "last")
- (parameters
- '("gint" "p0")
- )
)
(define-property message-type
@@ -4413,22 +4404,22 @@
)
)
-(define-signal select-all
+(define-signal selection-changed
(of-object "GtkIconView")
(return-type "void")
- (when "last")
+ (when "first")
)
-(define-signal unselect-all
+(define-signal select-all
(of-object "GtkIconView")
(return-type "void")
(when "last")
)
-(define-signal selection-changed
+(define-signal unselect-all
(of-object "GtkIconView")
(return-type "void")
- (when "first")
+ (when "last")
)
(define-signal item-activated
@@ -4613,6 +4604,15 @@
;; From GtkLabel
+(define-signal activate-link
+ (of-object "GtkLabel")
+ (return-type "gboolean")
+ (when "last")
+ (parameters
+ '("const-gchar*" "p0")
+ )
+)
+
(define-signal move-cursor
(of-object "GtkLabel")
(return-type "void")
@@ -4639,15 +4639,6 @@
)
)
-(define-signal activate-link
- (of-object "GtkLabel")
- (return-type "gboolean")
- (when "last")
- (parameters
- '("const-gchar*" "p0")
- )
-)
-
(define-signal activate-current-link
(of-object "GtkLabel")
(return-type "void")
@@ -4947,15 +4938,6 @@
;; From GtkListBox
-(define-signal row-activated
- (of-object "GtkListBox")
- (return-type "void")
- (when "last")
- (parameters
- '("GtkListBoxRow*" "p0")
- )
-)
-
(define-signal move-cursor
(of-object "GtkListBox")
(return-type "void")
@@ -4978,13 +4960,22 @@
(when "last")
)
-(define-signal toggle-cursor-row
+(define-signal row-selected
(of-object "GtkListBox")
(return-type "void")
(when "last")
+ (parameters
+ '("GtkListBoxRow*" "p0")
+ )
)
-(define-signal row-selected
+(define-signal selected-rows-changed
+ (of-object "GtkListBox")
+ (return-type "void")
+ (when "first")
+)
+
+(define-signal row-activated
(of-object "GtkListBox")
(return-type "void")
(when "last")
@@ -4993,13 +4984,13 @@
)
)
-(define-signal selected-rows-changed
+(define-signal activate-cursor-row
(of-object "GtkListBox")
(return-type "void")
- (when "first")
+ (when "last")
)
-(define-signal activate-cursor-row
+(define-signal toggle-cursor-row
(of-object "GtkListBox")
(return-type "void")
(when "last")
@@ -6289,6 +6280,12 @@
;; From GtkPrintOperation
+(define-signal status-changed
+ (of-object "GtkPrintOperation")
+ (return-type "void")
+ (when "last")
+)
+
(define-signal done
(of-object "GtkPrintOperation")
(return-type "void")
@@ -6346,12 +6343,6 @@
)
)
-(define-signal status-changed
- (of-object "GtkPrintOperation")
- (return-type "void")
- (when "last")
-)
-
(define-signal create-custom-widget
(of-object "GtkPrintOperation")
(return-type "GtkWidget*")
@@ -6780,31 +6771,31 @@
(when "last")
)
-(define-signal change-value
+(define-signal adjust-bounds
(of-object "GtkRange")
- (return-type "gboolean")
+ (return-type "void")
(when "last")
(parameters
- '("GtkScrollType" "p0")
- '("gdouble" "p1")
+ '("gdouble" "p0")
)
)
-(define-signal adjust-bounds
+(define-signal move-slider
(of-object "GtkRange")
(return-type "void")
(when "last")
(parameters
- '("gdouble" "p0")
+ '("GtkScrollType" "p0")
)
)
-(define-signal move-slider
+(define-signal change-value
(of-object "GtkRange")
- (return-type "void")
+ (return-type "gboolean")
(when "last")
(parameters
'("GtkScrollType" "p0")
+ '("gdouble" "p1")
)
)
@@ -8153,6 +8144,15 @@
(when "last")
)
+(define-signal change-value
+ (of-object "GtkSpinButton")
+ (return-type "void")
+ (when "last")
+ (parameters
+ '("GtkScrollType" "p0")
+ )
+)
+
(define-signal input
(of-object "GtkSpinButton")
(return-type "gint")
@@ -8174,15 +8174,6 @@
(when "last")
)
-(define-signal change-value
- (of-object "GtkSpinButton")
- (return-type "void")
- (when "last")
- (parameters
- '("GtkScrollType" "p0")
- )
-)
-
(define-property adjustment
(of-object "GtkSpinButton")
(prop-type "GParamObject")
@@ -9612,31 +9603,21 @@
)
)
-(define-signal select-all
+(define-signal copy-clipboard
(of-object "GtkTextView")
(return-type "void")
(when "last")
- (parameters
- '("gboolean" "p0")
- )
)
-(define-signal move-viewport
+(define-signal populate-popup
(of-object "GtkTextView")
(return-type "void")
(when "last")
(parameters
- '("GtkScrollStep" "p0")
- '("gint" "p1")
+ '("GtkWidget*" "p0")
)
)
-(define-signal set-anchor
- (of-object "GtkTextView")
- (return-type "void")
- (when "last")
-)
-
(define-signal insert-at-cursor
(of-object "GtkTextView")
(return-type "void")
@@ -9668,46 +9649,56 @@
(when "last")
)
-(define-signal copy-clipboard
+(define-signal paste-clipboard
(of-object "GtkTextView")
(return-type "void")
(when "last")
)
-(define-signal paste-clipboard
+(define-signal toggle-overwrite
(of-object "GtkTextView")
(return-type "void")
(when "last")
)
-(define-signal toggle-overwrite
+(define-signal preedit-changed
(of-object "GtkTextView")
(return-type "void")
(when "last")
+ (parameters
+ '("const-gchar*" "p0")
+ )
)
-(define-signal populate-popup
+(define-signal select-all
(of-object "GtkTextView")
(return-type "void")
(when "last")
(parameters
- '("GtkWidget*" "p0")
+ '("gboolean" "p0")
)
)
-(define-signal toggle-cursor-visible
+(define-signal move-viewport
(of-object "GtkTextView")
(return-type "void")
(when "last")
+ (parameters
+ '("GtkScrollStep" "p0")
+ '("gint" "p1")
+ )
)
-(define-signal preedit-changed
+(define-signal set-anchor
+ (of-object "GtkTextView")
+ (return-type "void")
+ (when "last")
+)
+
+(define-signal toggle-cursor-visible
(of-object "GtkTextView")
(return-type "void")
(when "last")
- (parameters
- '("const-gchar*" "p0")
- )
)
(define-signal extend-selection
@@ -10059,6 +10050,28 @@
;; From GtkTreeView
+(define-signal move-cursor
+ (of-object "GtkTreeView")
+ (return-type "gboolean")
+ (when "last")
+ (parameters
+ '("GtkMovementStep" "p0")
+ '("gint" "p1")
+ )
+)
+
+(define-signal select-all
+ (of-object "GtkTreeView")
+ (return-type "gboolean")
+ (when "last")
+)
+
+(define-signal unselect-all
+ (of-object "GtkTreeView")
+ (return-type "gboolean")
+ (when "last")
+)
+
(define-signal row-activated
(of-object "GtkTreeView")
(return-type "void")
@@ -10069,6 +10082,12 @@
)
)
+(define-signal toggle-cursor-row
+ (of-object "GtkTreeView")
+ (return-type "gboolean")
+ (when "last")
+)
+
(define-signal test-expand-row
(of-object "GtkTreeView")
(return-type "gboolean")
@@ -10121,28 +10140,6 @@
(when "last")
)
-(define-signal move-cursor
- (of-object "GtkTreeView")
- (return-type "gboolean")
- (when "last")
- (parameters
- '("GtkMovementStep" "p0")
- '("gint" "p1")
- )
-)
-
-(define-signal select-all
- (of-object "GtkTreeView")
- (return-type "gboolean")
- (when "last")
-)
-
-(define-signal unselect-all
- (of-object "GtkTreeView")
- (return-type "gboolean")
- (when "last")
-)
-
(define-signal select-cursor-row
(of-object "GtkTreeView")
(return-type "gboolean")
@@ -10152,12 +10149,6 @@
)
)
-(define-signal toggle-cursor-row
- (of-object "GtkTreeView")
- (return-type "gboolean")
- (when "last")
-)
-
(define-signal expand-collapse-cursor-row
(of-object "GtkTreeView")
(return-type "gboolean")
@@ -11210,15 +11201,6 @@
(construct-only #f)
)
-(define-property events
- (of-object "GtkWidget")
- (prop-type "GParamFlags")
- (docs "The event mask that decides what kind of GdkEvents this widget gets")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
(define-property has-tooltip
(of-object "GtkWidget")
(prop-type "GParamBoolean")
@@ -11509,15 +11491,6 @@
(construct-only #f)
)
-(define-property hide-titlebar-when-maximized
- (of-object "GtkWindow")
- (prop-type "GParamBoolean")
- (docs "If this window’s titlebar should be hidden when the window is maximized")
- (readable #t)
- (writable #t)
- (construct-only #f)
-)
-
(define-property icon
(of-object "GtkWindow")
(prop-type "GParamObject")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]