[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdereview/superkaramba/examples
From:       Ryan Nickell <p0z3r () earthlink ! net>
Date:       2005-07-01 1:37:54
Message-ID: 1120181874.543330.31822.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 430351 by nickell:

Added new examples for the input box.
Cleaned up the test_all.sh so it would work.



 M  +27 -20    README  
 A             input_api (directory)  
 A             input_api/input_api.py  
 A             input_api/input_api.theme  
 A             input_example (directory)  
 A             input_example/input_example.py  
 A             input_example/input_example.theme  
 M  +3 -1      test_all.sh  


--- trunk/kdereview/superkaramba/examples/README #430350:430351
@@ -1,7 +1,5 @@
 All of the information for programmers is in the file called "API".
 
-
-
 Here are some examples of themes with matching python addons:
 
 autoHide/
@@ -10,20 +8,46 @@
 	example python script that makes it "auto-hide".
 	Move the mouse over it to pop it back out.
 
-
 globalMouse/
 
 	This shows how to get the mouse cursor position anyway on
 	the screen but using the xcursor python module.
 	(This is Karamba Eyes by Wilfried.Huss@gmx.at)
 
+input_api/
 
+        This shows some of the different things you can do to an input box 
+        once you have one created.
+
+input_example/
+
+        This is a functional example of how you grab text entered into an
+        input box and use it to do something.  In this example, the text
+        is used to search for the entered word on dict.leo.org.
+        (This sample was contributed by Alex Wiedenbruch <mail@wiedenbruch.de>)
+
+mouseDrag/
+
+        This shows how to use mouse dragging in the callback widgetMouseMoved
+        in your themes.
+        (This is karmix by Tian and rewritten by Ryan Nickell)
+
+openCloseTheme/
+
+        This shows how you can open a new theme from within an existing theme,
+        and how you can close themes.
+
 popupMenu/
 
 	This shows up to create popup menus, display them, and then
 	do something with the user input from them.
 	(This is a sample by MrDobalina <r6_junk@sympatico.ca>)
 
+richtext/
+	
+	This is a simple example of how to use rich text (text with HTML
+	tags) in your themes.
+	(This is by Wilfried.Huss@gmx.at)
 
 taskBar/
 	
@@ -31,25 +55,8 @@
 	simple taskbar.
 	(This is cleanbar by Adam Geitgey)
 
-richtext/
-	
-	This is a simple example of how to use rich text (text with HTML
-	tags) in your themes.
-	(This is by Wilfried.Huss@gmx.at)
-
 unicode/
 	
 	This is a simple example of how to display unicode characters in your
 	theme.
 	(This is by Wilfried.Huss@gmx.at)
-
-mouseDrag/
-
-    This shows how to use mouse dragging in the callback widgetMouseMoved
-    in your themes.
-    (This is karmix by Tian and rewritten by Ryan Nickell)
-
-openCloseTheme/
-
-    This shows how you can open a new theme from within an existing theme,
-    and how you can close themes.
--- trunk/kdereview/superkaramba/examples/test_all.sh #430350:430351
@@ -12,12 +12,14 @@
 	"globalMouse/eyes.theme"
 	"unicode/unicode.theme"
         "mouseDrag/karmix/karmix.theme"
+        "input_api/input_api.theme"
+        "input_example/input_example.theme"
 )
 
 for theme in "${themes[@]}"
 do
 	echo $theme
-	dcop `dcop superkaramba* | head -n 1` default openTheme $theme
+	dcop `dcop superkaramba* | head -n 1` default openTheme $PWD/$theme
 	read a
 	dcop `dcop superkaramba* | head -n 1` default closeTheme `expr $theme : '.*/\(.*\)\.'`
 done
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic