Laxkit  0.0.7.1
Public Member Functions | Public Attributes
Laxkit::WindowAction Class Reference
Inheritance diagram for Laxkit::WindowAction:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 WindowAction (int nid, const char *nname, const char *desc, const char *icon, int nmode, int assign)
- Public Member Functions inherited from Laxkit::Tagged
virtual int HasTag (const char *tag, int casematters)
 Return whether the tag exists.
virtual int NumberOfTags ()
 Return the number of tags, strangely enough.
virtual const char * GetTag (int i)
 Return const pointer to the tag text for tag number i, where i==0 is the first tag.
virtual char * GetAllTags ()
 Return a new char[] with a space separated list of all the tags.
virtual int InsertTags (const char *tags, int casematters)
 Insert tags from a string such as 'tag1 tag2 tag3 "tag with spaces" tag4'.
virtual int InsertTag (const char *tag, int casematters)
 Insert tag if it doesn't exist already.
virtual int RemoveTag (const char *tag)
 The tag must be an exact match.
virtual int RemoveTag (int i)
 Remove tag number i. i must be in range [0..NumberOfTags()-1].
virtual void FlushTags ()

Public Attributes

int id
char * name
char * description
char * iconname
int mode
int assignable
char * customcode
- Public Attributes inherited from Laxkit::Tagged
int sorttags

Additional Inherited Members

- Protected Attributes inherited from Laxkit::Tagged
PtrStack< char > list_of_tags

Detailed Description

A window would have a list of possible actions, which does not depend on being tied to particular keys.


Member Data Documentation

char * Laxkit::WindowAction::customcode

String that either is, or can be interpreted to be runnable code. These are optional "macros", or some other custom shortcuts that cannot be represented just with a name.


The documentation for this class was generated from the following files:

Mon Feb 17 2014 11:53:00, Laxkit