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;
28 ob::Openbox *Openbox_instance() { return ob::Openbox::instance; }
34 %extend ob::OBScreen {
35 OBClient *client(int i) {
36 ob::OBScreen::ClientList::iterator it = self->clients.begin();
40 int clientCount() const {
41 return (int) self->clients.size();