25 #ifndef NCPushButton_h
26 #define NCPushButton_h
30 #include <yui/YPushButton.h>
38 friend std::ostream & operator<<( std::ostream & STREAM,
const NCPushButton & OBJ );
48 virtual const char * location()
const {
return "NCPushButton"; }
50 virtual void wRedraw();
54 NCPushButton( YWidget * parent,
const std::string & label );
57 virtual int preferredWidth();
58 virtual int preferredHeight();
60 virtual void setSize(
int newWidth,
int newHeight );
64 virtual void setLabel(
const std::string & nlabel );
68 virtual bool setKeyboardFocus()
71 return YWidget::setKeyboardFocus();
79 #endif // NCPushButton_h