nux-1.16.0
nux::AbstractButton Class Reference

The base class of Button widgets. More...

#include <Nux/AbstractButton.h>

Inheritance diagram for nux::AbstractButton:
nux::View nux::InputArea nux::Area nux::InitiallyUnownedObject nux::Focusable nux::Object nux::Trackable nux::Introspectable nux::Button nux::CheckBox nux::ToggleButton nux::CheckBoxPropertyItem

List of all members.

Public Member Functions

 AbstractButton (NUX_FILE_LINE_PROTO)

Public Attributes

Property< bool > active
 Signal emitted when the button is activated.
sigc::signal< void,
AbstractButton * > 
activated
 Signal emitted when the button is activated.

Protected Member Functions

virtual long ProcessEvent (IEvent &ievent, long TraverseInfo, long ProcessEventInfo)
void RecvMouseUp (int x, int y, unsigned long button_flags, unsigned long key_flags)
void RecvMouseDown (int x, int y, unsigned long button_flags, unsigned long key_flags)
void RecvMouseMove (int x, int y, int dx, int dy, unsigned long button_flags, unsigned long key_flags)
void RecvMouseEnter (int x, int y, unsigned long button_flags, unsigned long key_flags)
void RecvMouseLeave (int x, int y, unsigned long button_flags, unsigned long key_flags)
void RecvClick (int x, int y, unsigned long button_flags, unsigned long key_flags)

Protected Attributes

bool togglable_
nux::Property< State > state
 Button state property.

Detailed Description

The base class of Button widgets.

Definition at line 40 of file AbstractButton.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends