Commit graph

50 commits

Author SHA1 Message Date
Dana Jansens
f7a0eb7624 grab the keyboard during move/resize to make sure the popup doesnt get left onscreen if the modifiers are released before the button 2003-01-30 21:39:12 +00:00
Dana Jansens
d600bf8d58 openbox scripting works again! config too! 2003-01-27 15:59:28 +00:00
Dana Jansens
5face4c6f3 use otk objects in the ob scripts by importing otk 2003-01-27 13:42:41 +00:00
Dana Jansens
997f94cf86 new/better/cleaner scripting interface 2003-01-25 16:36:55 +00:00
Dana Jansens
084d6f4e42 some intermediate stage. stacked focus cycling is very broken. dont try it. going to have to change how the python stuff works i think! 2003-01-24 09:25:03 +00:00
Dana Jansens
91c7e5c378 allow python to grab the keyboard. have release events go to the grabs callback. remove the modifier from teh state when a modifier key is the one being released 2003-01-24 07:37:26 +00:00
Dana Jansens
d8aff44a6a redo otk::Property. make it static. 2003-01-16 08:44:52 +00:00
Dana Jansens
784b879a52 set the global 'display' var to the otk::Display in use 2003-01-13 09:59:38 +00:00
Dana Jansens
cdcc526a02 use the new non-static display 2003-01-13 09:04:57 +00:00
Dana Jansens
9e77a88d26 move the Openbox::instance pointer to simply "openbox". 2003-01-13 08:13:58 +00:00
Dana Jansens
ef02a0c8ae almost done the ustring conversion 2003-01-13 05:54:40 +00:00
Dana Jansens
bd39de609b use PyInt for vars not PyLong 2003-01-12 20:47:55 +00:00
Dana Jansens
77ab46d1e3 removing all prefixes completed 2003-01-11 19:42:43 +00:00
Dana Jansens
e8f5cf2940 valgrind fixes, and fixes for writing shit all over the environment. yay~!!!!!!! 2003-01-11 11:16:36 +00:00
Dana Jansens
19bfac5195 broken to all hell. oh no. 2003-01-11 07:13:49 +00:00
Dana Jansens
007e17d32b dont define the 'display' global 2003-01-10 08:54:09 +00:00
Dana Jansens
d0c61ebfea dont need the otk initializer 2003-01-10 08:32:35 +00:00
Dana Jansens
88b7de4aaa the openbox module has to include shit from otk that it uses, swigs shit doesnt work across modules in the shadow wrappers 2003-01-10 07:43:42 +00:00
Dana Jansens
6d6082dc7d add some comments to the procedure 2003-01-10 06:43:52 +00:00
Dana Jansens
678bb52123 stop including otk in the openbox module. makes the wm hooger for no good cause. simply import all the otk shit. add otk.hh 2003-01-10 06:40:31 +00:00
Dana Jansens
c8e246f8de include the all otk stuff into the openbox python module. rename widget.hh to stop conflicting with the one in otk/ 2003-01-10 06:16:42 +00:00
Dana Jansens
b67f5e702e new python interface! using the .py shadow wrappers from swig 2003-01-10 03:11:48 +00:00
Dana Jansens
345d957e1e new python callbacks data, infrastructure. going to rework bindings code. cvs wont work for shit now. but thats life. 2003-01-09 22:54:31 +00:00
Dana Jansens
dbf58ef2b6 check for python errors a little better i think.. 2003-01-08 09:22:14 +00:00
Dana Jansens
4c768d5d63 use client messages to switch desktops/move windows between desktops 2003-01-07 04:51:55 +00:00
Dana Jansens
711a7d8c56 supply python routines for next/prev workspace 2003-01-07 02:24:43 +00:00
Dana Jansens
40449e199d allow to bind multiple functions to everything 2003-01-06 19:01:49 +00:00
Dana Jansens
f5f0a2c2ed add some todo shit 2003-01-04 00:21:14 +00:00
Dana Jansens
a9a5f0d751 put event bindings in OBBindings too 2003-01-03 21:48:11 +00:00
Dana Jansens
a0350e27b3 allow "event bindings" via ebind() for new windows/window enter/leave 2003-01-03 21:36:09 +00:00
Dana Jansens
31e37b3e88 cleanup naming in OBBindings 2003-01-03 07:03:59 +00:00
Dana Jansens
ca3e463057 moving a window is possible once again 2003-01-03 05:26:04 +00:00
Dana Jansens
b35dae95a5 new mouse button code is seeming to work. you can move windows 2003-01-03 02:48:25 +00:00
Dana Jansens
14cf42ff07 run scripts before initializing screens. kill the globals.py. add the python_get_stringlist. 2003-01-02 21:05:29 +00:00
Dana Jansens
66a26917a0 new code for bindings/callbacks. much sexier. now passes python classes back to the callbacks, and the storage of the callbacks in the code is much more clear. huzzah. 2003-01-02 20:36:14 +00:00
Dana Jansens
745e840547 load config options from the python environment 2002-12-31 19:15:24 +00:00
Dana Jansens
1161a90a70 add click_raise global var 2002-12-31 09:17:16 +00:00
Dana Jansens
a6661d587c bindings work. now they have a reset key too. 2002-12-31 06:59:46 +00:00
Dana Jansens
d7a30f93b5 so close to keybindings. wont link for now. 2002-12-30 22:27:46 +00:00
Dana Jansens
d4853f108c all broken now. working on adding mouse binding support 2002-12-30 16:42:15 +00:00
Dana Jansens
98c4b4cfe5 keybindings underway. dont work yet 2002-12-30 06:31:45 +00:00
Dana Jansens
c645416035 add an unregister_all for python callbacks 2002-12-27 08:39:53 +00:00
Dana Jansens
2ae2b257d3 might not compile... ob uses its own widgets now, which subclass only the base otk widget. working on compressing focus events and handling them etc. 2002-12-25 22:02:34 +00:00
Dana Jansens
b34824a4e2 global python scripts. client motion/resizing is all done via python now 2002-12-25 04:54:44 +00:00
Dana Jansens
3827c1a76e python with callbacks! 2002-12-25 02:19:49 +00:00
Dana Jansens
2e273ae3ac removing old python bullshit 2002-12-24 19:20:17 +00:00
Dana Jansens
3cf5a8b6dd remove python from our c++ objects. going to try out swig 2002-12-22 08:49:59 +00:00
Dana Jansens
925048fedf incref the Py_None before returning it 2002-12-21 12:19:29 +00:00
Dana Jansens
68194ce957 update to cleaned up otk api 2002-12-20 15:38:49 +00:00
Dana Jansens
700984bd15 python has begun! 2002-12-19 23:54:41 +00:00