[rep-gtk] some new GtkWidget stuff



commit 7839c93ad46c423e039ae796cdedfa30efd2bb50
Author: Christopher Roy Bratusek <zanghar freenet de>
Date:   Sun Aug 22 10:04:27 2010 +0200

    some new GtkWidget stuff

 ChangeLog |   20 ++++++++++++++++++++
 gdk.defs  |   13 +++++++++++++
 gtk.defs  |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 82 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 3e234fc..27571c4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,23 @@
+2010-08-22  Christopher Bratusek <zanghar freenet de>
+	* gtk.defs:
+	*************** gtkwidget.h *******************
+	gtk_widget_set_no_show_all
+	gtk_widget_get_no_show_all
+	gtk_widget_queue_resize_no_redraw
+	gtk_widget_set_accel_path
+	gtk_widget_list_accel_closures
+	gtk_widget_can_activate_accel
+	gtk_widget_mnemonic_activate
+	gtk_widget_send_expose
+	gtk_widget_intersect
+	gtk_widget_region_intersect
+
+	* gdk.defs:
+	*************** gdkregion.h ********************
+	GdkFillType [enum]
+	GdkOverlaType [enum]
+	GdkRegion [boxed]
+
 2010-08-21  Christopher Bratusek <zanghar freenet de>
 	* gtk.defs:
 	*************** gtkwindow.h *******************
diff --git a/gdk.defs b/gdk.defs
index 036b804..ba8b07f 100644
--- a/gdk.defs
+++ b/gdk.defs
@@ -280,12 +280,25 @@
   (private GDK_ACTION_PRIVATE)
   (ask GDK_ACTION_ASK))
 
+(define-enum GdkFillRule
+  (even-odd GDK_EVEN_ODD_RULE)
+  (winding GDK_WINDING_RULE))
+
+(define-enum GdkOverlapType
+  (in GDK_OVERLAP_RECTANGLE_IN)
+  (out GDK_OVERLAP_RECTANGLE_OUT)
+  (part GDK_OVERLAP_RECTANGLE_PART))
+
 ;;; Gdk boxed types
 
 ;;(define-boxed GdkPoint
 ;;  (copy gdk_point_copy)
 ;;  (free gdk_point_destroy))
 
+(define-boxed GdkRegion
+    (copy gdk_region_copy)
+    (free gdk_region_destroy))
+
 (define-boxed GdkColormap
   (copy gdk_colormap_ref)
   (free gdk_colormap_unref))
diff --git a/gtk.defs b/gtk.defs
index 30c234c..c574b62 100644
--- a/gtk.defs
+++ b/gtk.defs
@@ -803,6 +803,15 @@
   none
   ((GtkWidget widget)))
 
+(define-func gtk_widget_set_no_show_all
+  none
+  ((GtkWidget widget)
+   (bool setting)))
+
+(define-func gtk_widget_get_no_show_all
+  bool
+  ((GtkWidget widget)))
+
 (define-func gtk_widget_hide
   none
   ((GtkWidget widget)))
@@ -851,6 +860,10 @@
   none
   ((GtkWidget widget)))
 
+(define-func gtk_widget_queue_resize_no_redraw
+  none
+  ((GtkWidget widget)))
+
 (define-func gtk_widget_add_accelerator
   none
   ((GtkWidget          widget)
@@ -867,11 +880,36 @@
    (uint accel_key)
    (GdkModifierType accel_mods)))
 
+(define-func gtk_widget_set_accel_path
+  none
+  ((GtkWidget widget)
+   (string accel_path)
+   (GtkAccelGroup group)))
+
+(define-func gtk_widget_list_accel_closures
+  ((list string))
+  ((GtkWidget widget)))
+
+(define-func gtk_widget_can_activate_accel
+  bool
+  ((GtkWidget widget)
+   (int signal_id)))
+
+(define-func gtk_widget_mnemonic_activate
+  bool
+  ((GtkWidget widget)
+   (bool group_cycling)))
+
 (define-func gtk_widget_event
   bool
   ((GtkWidget widget)
    (GdkEvent event)))
 
+(define-func gtk_widget_send_expose
+  int
+  ((GtkWidget widget)
+   (GdkEvent event)))
+
 (define-func gtk_widget_activate
   none
   ((GtkWidget widget)))
@@ -887,6 +925,17 @@
   ((GtkWidget widget)
    (GtkWidget new_parent)))
 
+(define-func gtk_widget_intersect
+  bool
+  ((GtkWidget widget)
+   ((tvec GdkRectangle in) area)
+   ((tvec GdkRectangle in) intersect)))
+
+(define-func gtk_widget_region_intersect
+  GdkRegion
+  ((GtkWidget widget)
+   (GdkRegion region)))
+
 (define-func gtk_widget_is_focus
   bool
   ((GtkWidget widget)))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]