1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
7 # include "../config.h"
17 //%template(ClientList) std::list<OBClient*>;
20 %ignore ob::Openbox::instance;
21 %ignore ob::OBScreen::clients;
23 %import "../otk/eventdispatcher.hh"
24 %import "../otk/eventhandler.hh"
32 ob::Openbox *Openbox_instance() { return ob::Openbox::instance; }
38 %extend ob::OBScreen {
39 OBClient *client(int i) {
40 if (i >= (int)self->clients.size())
42 ob::OBScreen::ClientList::iterator it = self->clients.begin();
46 int clientCount() const {
47 return (int) self->clients.size();