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 %ignore ob::OBScreen::clients;
31 %extend ob::OBScreen {
32 OBClient *client(int i) {
33 if (i >= (int)self->clients.size())
35 ob::OBScreen::ClientList::iterator it = self->clients.begin();
39 int clientCount() const {
40 return (int) self->clients.size();
44 %import "../otk/eventdispatcher.hh"
45 %import "../otk/eventhandler.hh"