Project

General

Profile

unexist.dev

subtle

Assorted tidbits and projects

Subtlext » History » Version 11

« Previous - Version 11/95 (diff) - Next » - Current version
Anonymous, 10/07/2008 10:55 PM


Subtlext\015\012\015\012{{>toc}}\015\012\015\012h2. Subtle\015\012\015\012h3. new(display)\015\012\015\012Create a namespace lookup object using the given task manager and the list of scopes.\015\012bq. Example:\015\012subtle = Subtle.new(":0")\015\012\015\012h3. version()\015\012\015\012Create a namespace lookup object using the given task manager and the list of scopes.\015\012bq. Example:\015\012puts subtle.version => 0.8\015\012\015\012h3. display()\015\012\015\012Create a namespace lookup object using the given task manager and the list of scopes.\015\012bq. Example:\015\012subtle.display => :0\015\012\015\012h3. views()\015\012\015\012Create a namespace lookup object using the given task manager and the list of scopes.\015\012bq. Example:\015\012subtle.views\015\012\015\012h3. tags()\015\012\015\012Create a namespace lookup object using the given task manager and the list of scopes.\015\012bq. Example:\015\012subtle.tags\015\012\015\012h3. clients()\015\012\015\012Create a namespace lookup object using the given task manager and the list of scopes.\015\012bq. Example:\015\012subtle.clients\015\012\015\012h3. find_view(name)\015\012\015\012Create a namespace lookup object using the given task manager and the list of scopes.\015\012bq. Example:\015\012subtle.find_view("foo")\015\012\015\012h3. find_tag(name)\015\012\015\012Create a namespace lookup object using the given task manager and the list of scopes.\015\012bq. Example:\015\012subtle.find_tag("foo")\015\012\015\012h3. find_client(name)\015\012\015\012Create a namespace lookup object using the given task manager and the list of scopes.\015\012bq. Example:\015\012subtle.find_client("foo")\015\012\015\012h3. add_tag(name)\015\012\015\012Create a namespace lookup object using the given task manager and the list of scopes.\015\012bq. Example:\015\012subtle.add_tag("foo")\015\012\015\012h3. del_tag(name)\015\012\015\012Create a namespace lookup object using the given task manager and the list of scopes.\015\012bq. Example:\015\012subtle.del_tag("foo")\015\012\015\012h3. add_view(name)\015\012\015\012Create a namespace lookup object using the given task manager and the list of scopes.\015\012bq. Example:\015\012subtle.add_view("foo")\015\012\015\012h3. del_view(name)\015\012\015\012Create a namespace lookup object using the given task manager and the list of scopes.\015\012bq. Example:\015\012subtle.del_view("foo")\015\012\015\012h3. current_view()\015\012\015\012Create a namespace lookup object using the given task manager and the list of scopes.\015\012bq. Example:\015\012subtle.current_view\015\012\015\012h3. current_client()\015\012\015\012Create a namespace lookup object using the given task manager and the list of scopes.\015\012bq. Example:\015\012subtle.current_client\015\012\015\012h3. running?()\015\012\015\012Create a namespace lookup object using the given task manager and the list of scopes.\015\012bq. Example:\015\012subtle.running?\015\012\015\012h2. View\015\012\015\012h3. new(name)\015\012\015\012Create a namespace lookup object using the given task manager and the list of scopes.\015\012bq. Example:\015\012view = View.new("foo")\015\012\015\012h3. add_tag(name)\015\012\015\012Create a namespace lookup object using the given task manager and the list of scopes.\015\012bq. Example:\015\012view.add_tag("foo")\015\012\015\012h3. del_tag(name)\015\012\015\012Create a namespace lookup object using the given task manager and the list of scopes.\015\012bq. Example:\015\012view.del_tag("foo")\015\012\015\012h3. tags\015\012\015\012Create a namespace lookup object using the given task manager and the list of scopes.\015\012bq. Example:\015\012view.tags\015\012\015\012h3. current?\015\012\015\012Create a namespace lookup object using the given task manager and the list of scopes.\015\012bq. Example:\015\012view.current?\015\012\015\012h3. to_s\015\012\015\012Create a namespace lookup object using the given task manager and the list of scopes.\015\012bq. Example:\015\012puts view => foo\015\012\015\012h2. Tag\015\012\015\012\015\012\015\012 /* Class: tag /\015\012 klass = rb_define_class("Tag", rb_cObject);\015\012 rb_define_attr(klass, "id", 1, 1);\015\012 rb_define_attr(klass, "name", 1, 1);\015\012 rb_define_method(klass, "initialize", TagInit, 1);\015\012 rb_define_method(klass, "to_s", TagToString, 0);\015\012\015\012 / Class: client */\015\012 klass = rb_define_class("Client", rb_cObject);\015\012 rb_define_attr(klass, "id", 1, 1);\015\012 rb_define_attr(klass, "win", 1, 1);\015\012 rb_define_attr(klass, "name", 1, 1);\015\012 rb_define_method(klass, "initialize", ClientInit, 1);\015\012 rb_define_method(klass, "add_tag", ClientTagAdd, 1);\015\012 rb_define_method(klass, "del_tag", ClientTagDel, 1);\015\012 rb_define_method(klass, "focus", ClientFocus, 0);\015\012 rb_define_method(klass, "tags", ClientTags, 0);\015\012 rb_define_method(klass, "focus?", ClientFocus, 0);\015\012 rb_define_method(klass, "to_s", ClientToString, 0);