Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

NDK_XX::CheckButton Class Reference

#include <ndk++.h>

Inheritance diagram for NDK_XX::CheckButton:

NDK_XX::ListItem NDK_XX::Button NDK_XX::Label NDK_XX::Control List of all members.

Public Methods

 CheckButton (Control *parent, int id, const string &title,int lines, int cols, int y, int x,int style=tabstop|notify)
 CheckButton (Control *parent, int id, const string &title,int y, int x)

Protected Methods

void show_state (bool ref=false)
 specialized on children

int state_size () const
 specialized on children


Constructor & Destructor Documentation

NDK_XX::CheckButton::CheckButton Control   parent,
int    id,
const string &    title,
int    lines,
int    cols,
int    y,
int    x,
int    style = tabstop|notify
 

CheckButton Constructor See parameters for class Control

Definition at line 590 of file ndk++.cc.

References NDK_XX::Control::enable_notify(), NDK_XX::ListItem::set_text(), and NDK_XX::Label::text.

00594         :ListItem(parent,id,title,lines,cols,y,x,style)
00595 {
00596     enable_notify(false);
00597     set_text(text);
00598     enable_notify();
00599 }

NDK_XX::CheckButton::CheckButton Control   parent,
int    id,
const string &    title,
int    y,
int    x
 

CheckButton Constructor See parameters for class Control

Definition at line 603 of file ndk++.cc.

References NDK_XX::Control::enable_notify(), NDK_XX::ListItem::set_text(), and NDK_XX::Label::text.

00606     :ListItem(parent,id,title,1,title.size()+4,y,x,tabstop|notify)
00607 {
00608     enable_notify(false);
00609     set_text(text);
00610     enable_notify();
00611 }


Member Function Documentation

void NDK_XX::CheckButton::show_state bool    ref = false [inline, protected, virtual]
 

specialized on children

Reimplemented from NDK_XX::ListItem.

Definition at line 980 of file ndk++.h.

References NDK_XX::ListItems, and NDK_XX::VisibleItems.

00990               : public Control

int NDK_XX::CheckButton::state_size   const [inline, protected, virtual]
 

specialized on children

Reimplemented from NDK_XX::ListItem.

Definition at line 988 of file ndk++.h.

References NDK_XX::IndexList.

00990 : public Control


The documentation for this class was generated from the following files:
Generated on Thu Oct 10 16:02:12 2002 by doxygen1.2.17