gtk+ r20770 - in trunk: . docs/reference docs/reference/gdk/tmpl gdk/x11



Author: matthiasc
Date: Fri Jul  4 21:52:54 2008
New Revision: 20770
URL: http://svn.gnome.org/viewvc/gtk+?rev=20770&view=rev

Log:
Some GDK doc additions


Added:
   trunk/docs/reference/gdk/tmpl/gdktesting.sgml
Modified:
   trunk/ChangeLog
   trunk/docs/reference/ChangeLog
   trunk/docs/reference/gdk/tmpl/events.sgml
   trunk/gdk/x11/gdktestutils-x11.c

Modified: trunk/docs/reference/gdk/tmpl/events.sgml
==============================================================================
--- trunk/docs/reference/gdk/tmpl/events.sgml	(original)
+++ trunk/docs/reference/gdk/tmpl/events.sgml	Fri Jul  4 21:52:54 2008
@@ -92,7 +92,8 @@
   was added in 2.6
 @GDK_GRAB_BROKEN: a pointer or keyboard grab was broken. This event type
   was added in 2.8.
- GDK_DAMAGE: 
+ GDK_DAMAGE: the content of the window has been changed. This event type
+  was added in 2.14.
 
 <!-- ##### ENUM GdkEventMask ##### -->
 <para>

Added: trunk/docs/reference/gdk/tmpl/gdktesting.sgml
==============================================================================
--- (empty file)
+++ trunk/docs/reference/gdk/tmpl/gdktesting.sgml	Fri Jul  4 21:52:54 2008
@@ -0,0 +1,58 @@
+<!-- ##### SECTION Title ##### -->
+Testing
+
+<!-- ##### SECTION Short_Description ##### -->
+test utilities
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+The functions in this section are intended to be used in test programs.
+They allow to simulate some user input.
+</para>
+
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION Stability_Level ##### -->
+
+
+<!-- ##### FUNCTION gdk_test_render_sync ##### -->
+<para>
+
+</para>
+
+ window: 
+
+
+<!-- ##### FUNCTION gdk_test_simulate_button ##### -->
+<para>
+
+</para>
+
+ window: 
+ x: 
+ y: 
+ button: 
+ modifiers: 
+ button_pressrelease: 
+ Returns: 
+
+
+<!-- ##### FUNCTION gdk_test_simulate_key ##### -->
+<para>
+
+</para>
+
+ window: 
+ x: 
+ y: 
+ keyval: 
+ modifiers: 
+ key_pressrelease: 
+ Returns: 
+
+

Modified: trunk/gdk/x11/gdktestutils-x11.c
==============================================================================
--- trunk/gdk/x11/gdktestutils-x11.c	(original)
+++ trunk/gdk/x11/gdktestutils-x11.c	Fri Jul  4 21:52:54 2008
@@ -58,12 +58,14 @@
  * If (@x,@y) are > (-1,-1), it will warp the mouse pointer to
  * the given (@x,@y) corrdinates within @window and simulate a
  * key press or release event.
+ *
  * When the mouse pointer is warped to the target location, use
  * of this function outside of test programs that run in their
  * own virtual windowing system (e.g. Xvfb) is not recommended.
  * If (@x,@y) are passed as (-1,-1), the mouse pointer will not
  * be warped and @window origin will be used as mouse pointer
  * location for the event.
+ *
  * Also, gtk_test_simulate_key() is a fairly low level function,
  * for most testing purposes, gtk_test_widget_send_key() is the
  * right function to call which will generate a key press event
@@ -162,6 +164,7 @@
  * location, use of this function outside of test programs that
  * run in their own virtual windowing system (e.g. Xvfb) is not
  * recommended.
+ *
  * Also, gtk_test_simulate_button() is a fairly low level function,
  * for most testing purposes, gtk_test_widget_click() is the right
  * function to call which will generate a button press event followed



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