Commit graph

2156 commits

Author SHA1 Message Date
Dana Jansens
2f95a7e0ac 'final' cleanup for the new otk wrapper .i's 2003-02-17 21:27:07 +00:00
Dana Jansens
4534151926 split up the otk stuff into separate files.
wrap otk::Property properly with typemaps so that it is usable.
wrap otk::Timer properly so that you can use it with a python callback
2003-02-17 21:25:52 +00:00
Dana Jansens
1741bddecb only return as many as was requested 2003-02-17 21:06:39 +00:00
Dana Jansens
956ada0725 oops nevermind 2003-02-17 20:18:34 +00:00
Dana Jansens
3de18ef7f0 prevent people from using timers except as pointers 2003-02-17 20:02:43 +00:00
Dana Jansens
3240c1d94e check for no screens before asserting 2003-02-17 19:17:17 +00:00
Dana Jansens
916b58f99c ignore NUM values in enums 2003-02-17 17:39:34 +00:00
Dana Jansens
fbfa279862 dont need preprocessor shit for swig 2003-02-17 17:39:22 +00:00
Dana Jansens
8bf56a288f allocate colors right away instead of delaying it, since they get allocated out of the rendercontrol, and it will never fail. 2003-02-17 16:36:35 +00:00
Dana Jansens
716ab805a0 remove some include/import we dont need.
include all the headers we do need before each code fragment
2003-02-17 15:49:56 +00:00
Dana Jansens
c217a73090 split the ob module into separate .i's
cleanly define the interface, add functions for modifying the objects (via client messages)
2003-02-17 15:42:31 +00:00
Dana Jansens
0dd7ebcba9 add support for the openbox_restack_window message.
use the state_add/remove/toggle values from otk::Property::atoms
2003-02-17 15:11:03 +00:00
Dana Jansens
c15dced3b9 this has been moved to wrap/ 2003-02-17 15:10:16 +00:00
Dana Jansens
dee0170bab add openbox_restack_window, and the state_add/remove/toggle values 2003-02-17 15:10:02 +00:00
Dana Jansens
b3879a2323 s/False/false/ 2003-02-17 13:42:01 +00:00
Dana Jansens
c6930ae234 rm the SWIG ifdefs 2003-02-17 12:46:55 +00:00
Dana Jansens
361303715b kill the typedef 2003-02-17 12:46:32 +00:00
Dana Jansens
d2adccbe28 80 cols 2003-02-17 11:50:18 +00:00
Dana Jansens
a7d17188a4 return a Python list of Client*'s when a std::list<Client*> is returned 2003-02-17 11:49:35 +00:00
Dana Jansens
5fc7db1c16 allow cycling without a modifier in the binding 2003-02-17 11:48:35 +00:00
Dana Jansens
31d41a7aa6 defualt START_WITH_NEXT to true for desktops too 2003-02-16 23:43:31 +00:00
Dana Jansens
671230f83e add the new cycle module with super snazzy new Cycle classes. yay KatanaLynx! 2003-02-16 23:14:30 +00:00
Dana Jansens
136c9c078d support for pixmap icons, kwm_win_icon and the icon in wmhints 2003-02-16 21:57:21 +00:00
Dana Jansens
0c2f0e0b5e keep track of the kwm_win_icon property 2003-02-16 20:11:02 +00:00
Dana Jansens
42fbb46a7f add the kwm_win_icon atom 2003-02-16 20:04:19 +00:00
Dana Jansens
6354e77144 cleanup 2003-02-16 19:48:54 +00:00
Dana Jansens
93ea4c4d2e supply more information about errors when running scripts 2003-02-16 18:16:55 +00:00
Dana Jansens
16a952c35d adjust how the config is loaded. it is not loaded at all during the screen's constructor, it is loaded afterwards and applied, but before windows are managed 2003-02-16 18:14:05 +00:00
Dana Jansens
893faed7b1 order things to work correctly for now, with the python loading and the the config setting 2003-02-16 18:09:06 +00:00
Dana Jansens
2cbb95c3db change the default titlebar layout 2003-02-16 17:18:54 +00:00
Dana Jansens
5cd8680f74 make them const 2003-02-16 16:37:02 +00:00
Dana Jansens
dfe7f46bb7 provide == and != for DialogButtons 2003-02-16 16:36:07 +00:00
Dana Jansens
c8789ccdbf execute files such that i can track if an exception was thrown in it 2003-02-16 16:33:37 +00:00
Dana Jansens
8ed79248e7 when python_exec fails on user.py:
a) remove all the bindings
  b) exec defaults.py
  c) show a dialog message
2003-02-16 16:33:12 +00:00
Dana Jansens
8cbabdcb93 import the config module properly.
shit all over stderr and exit when something from the config module couldn't be loaded
2003-02-16 16:32:21 +00:00
Dana Jansens
bb4990af2b dont wrap pointerassassin 2003-02-16 16:31:40 +00:00
Dana Jansens
8269fc2b39 set the gravity to center the dialog.
size it off the minSize which is already calculated, not off the size() with is nto
2003-02-16 16:24:01 +00:00
Dana Jansens
e07ea84865 only fire the clickHandler if the button is released with the cursor over it 2003-02-16 15:54:23 +00:00
Dana Jansens
bbd9cb9928 rm the warnings for now 2003-02-16 13:59:28 +00:00
Dana Jansens
cee0482c78 make DialogButtons take char*'s meaning that the label will always be Utf-8 2003-02-16 12:30:34 +00:00
Dana Jansens
213df2814b only hide the dialog if a default button exists when enter is hit 2003-02-16 12:25:42 +00:00
Dana Jansens
c71738f3f4 let you .focus() a messagedialog 2003-02-16 12:23:35 +00:00
Dana Jansens
010e12c42a only show() if the dialog is not already visible 2003-02-16 12:20:10 +00:00
Dana Jansens
7a41f7730d add otk::MessageDialog 2003-02-16 11:59:12 +00:00
Dana Jansens
f325abe4e4 use the current size, which will get capped by max/mins 2003-02-16 11:48:43 +00:00
Dana Jansens
33e87b3969 dont forget borders/bevels 2003-02-16 11:39:54 +00:00
Dana Jansens
afe1d9e3a8 still draw the background when no text will fit 2003-02-16 10:05:29 +00:00
Dana Jansens
c7d4901f41 set the style 2003-02-16 09:37:21 +00:00
Dana Jansens
532697b21a put the desktop names in the right variable 2003-02-16 09:08:34 +00:00
Dana Jansens
a89166a14f cleaner while loop 2003-02-16 08:03:49 +00:00