class Flippy


Include Files

Description

This is an Fl_Group that creates a "flippy triangle" interface for its children.   You should probably put this inside an Fl_Scroll.

Methods



Flippy::Flippy(int x, int y, int w, int h, const char *label = 0)

Creates a new Flippy widget using the given position, size, and label string.

virtual Flippy::~Flippy()

Destroys the Flippy group and all of its data.

int last()
void last(int)

Sets and gets the index of the last child handled.  If show_last() is true, this child will have its flippy-triangle outlined.

void open(int i,int j)
int open (int i)
void open (Fl_Widget*o,int j)
int open (Fl_Widget*o)

Sets and gets the open status of child(i), or the given child widget.

int show_last()
void show_last(int)

Set and gets whether the last-touched child's triangle is outlined.  This can be useful in an interface that moves around a 'selected' element.