1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
7 # include "../config.h"
13 #include "bindings.hh"
18 %include "exception.i"
20 //%template(ClientList) std::list<OBClient*>;
22 %ignore ob::Openbox::instance;
24 ob::Openbox *Openbox_instance() { return ob::Openbox::instance; }
27 %rename(register) python_register;
29 %ignore ob::OBScreen::clients;
33 %extend ob::OBScreen {
34 OBClient *client(int i) {
35 if (i >= (int)self->clients.size())
37 ob::OBScreen::ClientList::iterator it = self->clients.begin();
41 int clientCount() const {
42 return (int) self->clients.size();
46 %import "../otk/eventdispatcher.hh"
47 %import "../otk/eventhandler.hh"