class Fl_Flippy

Include Files

#include "Fl_Flippy.h"


This is an Fl_Group that creates a "flippy triangle" interface for its children. Best used inside an Fl_Scroll.

Keyboard arrow keys can be used to move up and down through, open, and close the children.

Fl_Flippy image


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

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

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

Set and get the open status of child by index or widget.

int selected()
void setSelected(int)

Set and get the index of the last child handled. If selectionIsShown() is true, this child's flippy-triangle area is drawn in the selection color.

bool selectionIsShown()
void setSelectionIsShown(bool)

Set and get whether the last-touched child's triangle is drawn in the selection color.