1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
7 # include "../config.h"
19 //%template(ClientList) std::list<OBClient*>;
21 %ignore ob::Openbox::instance;
23 ob::Openbox *Openbox_instance() { return ob::Openbox::instance; }
26 // stuff for scripting callbacks!
54 %ignore ob::python_callback;
55 %rename(register) ob::python_register;
56 %rename(unregister) ob::python_unregister;
58 %ignore ob::OBScreen::clients;
62 %extend ob::OBScreen {
63 OBClient *client(int i) {
64 if (i >= (int)self->clients.size())
66 ob::OBScreen::ClientList::iterator it = self->clients.begin();
70 int clientCount() const {
71 return (int) self->clients.size();
75 %import "../otk/eventdispatcher.hh"
76 %import "../otk/eventhandler.hh"