gltk 0.3
a C++ widget library built on GLUT
Public Member Functions
gltk::Button Class Reference

Button is a PushBox that holds a child widget. More...

#include <button.hh>

Inheritance diagram for gltk::Button:
gltk::PushBox gltk::LabelBin gltk::Focusable gltk::Bin gltk::Widget gltk::Container gltk::Widget

List of all members.

Public Member Functions

 Button (std::string const &name)
 initialize Button with a text label
 Button (Widget *widget)
 initialize Button with a child widget

Detailed Description

Button is a PushBox that holds a child widget.

The child widget is moved by (1,1) when the PushBox is depressed.

Button.png
Examples:

entry.cc, hello.cc, scalers.cc, and spinb.cc.

 All Classes Namespaces Files Functions Variables Enumerations Enumerator