Laxkit  0.0.7.1
Public Member Functions | Public Attributes
Laxkit::TabBox Class Reference

Holds the icon and a pointer to the window for elements of a TabFrame. More...

Inheritance diagram for Laxkit::TabBox:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 TabBox (anXWindow *nwin, const char *nlabel, LaxImage *img, int nid)
virtual ~TabBox ()
 Empty destructor.
- Public Member Functions inherited from Laxkit::IconBox
 IconBox (const char *nlabel, LaxImage *img, int nid)
virtual ~IconBox ()
 Destructor, deletes the label, and calls dec_count() on image and bwimage.
virtual int SetBox (const char *nlabel, LaxImage *img, LaxImage *bw)
 Set the label and images to the given label and images.
- Public Member Functions inherited from Laxkit::SelBox
 SelBox (int xx, int yy, int ww, int hh, int nid)
 SelBox (int nid=0)
- Public Member Functions inherited from Laxkit::SquishyBox
 SquishyBox (unsigned int nflags, int nx, int nw, int npw, int nws, int nwg, int nhalign, int nhgap, int ny, int nh, int nph, int nhs, int nhg, int nvalign, int nvgap)
 SquishyBox Constructor.
virtual int hideBox (int yeshide)
 hideBox(0) makes the box visible, otherwise, make it hidden. Returns state after call.
virtual int hidden ()
 Return whether the box is hidden or not.
virtual int WrapToExtent ()
 Sets this->pw,s,g/ph,s,g to be the sum of the metrics of the boxes in list.
virtual void sync (int xx, int yy, int ww, int hh)
 Sync the box to x,y,w,h.
virtual void sync ()
 Sync the box to the already set values of x,y,w,h.
virtual int x ()
virtual int w ()
virtual int pw ()
virtual int ws ()
virtual int wg ()
virtual int halign ()
virtual int hgap ()
virtual int y ()
virtual int h ()
virtual int ph ()
virtual int hs ()
virtual int hg ()
virtual int valign ()
virtual int vgap ()
virtual int x (int val)
virtual int w (int val)
virtual int pw (int val)
virtual int ws (int val)
virtual int wg (int val)
virtual int halign (int val)
virtual int hgap (int val)
virtual int y (int val)
virtual int h (int val)
virtual int ph (int val)
virtual int hs (int val)
virtual int hg (int val)
virtual int valign (int val)
virtual int vgap (int val)
virtual int fpenalty ()
virtual int fpenalty (int val)
virtual int lpenalty ()
virtual int lpenalty (int val)

Public Attributes

anXWindowwin
int winislocal
- Public Attributes inherited from Laxkit::IconBox
charlabel
LaxImageimage
LaxImagebwimage
- Public Attributes inherited from Laxkit::SelBox
unsigned int state
 Holds pointer state related to the box.
int info
 Extra information that might be useful for this box.
int id
 An identifying number for this particular box.
int mousecount
 How many mice are inside the box.
- Public Attributes inherited from Laxkit::SquishyBox
int m [14]
int pad
 Pad placed around a box, which can be where a bevel or window border would go.
int padinset
 Pad to inset the child boxes.
int fpen
 The penalty in the flow direction.
int lpen
 The penalty perpendicular to the flow direction.
unsigned long flags

Detailed Description

Holds the icon and a pointer to the window for elements of a TabFrame.

This is just like StrIconBox, but with additional member anXWindow win.


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

Mon Feb 17 2014 11:53:00, Laxkit