Laxkit
0.0.7.1
|
Public Member Functions | |
WindowAction (int nid, const char *nname, const char *desc, const char *icon, int nmode, int assign) | |
![]() | |
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 |
![]() | |
int | sorttags |
Additional Inherited Members | |
![]() | |
PtrStack< char > | list_of_tags |
A window would have a list of possible actions, which does not depend on being tied to particular keys.
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.