struct CCL::IButton

Overview

Button control interface. More…

#include <iview.h>

struct IButton: public CCL::IUnknown
{
    // methods

    virtual void CCL_API push () = 0;
    DECLARE_STRINGID_MEMBER (kOnPush);
};

Inherited Members

public:
    // methods

    virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0;
    virtual unsigned int CCL_API retain () = 0;
    virtual unsigned int CCL_API release () = 0;

Detailed Documentation

Button control interface.

Methods

virtual void CCL_API push () = 0

Trigger button push programmatically.

Behavior depends on button type (button, toggle, radio button, etc.).

DECLARE_STRINGID_MEMBER (kOnPush)

Signaled by buttons with Styles::kTrigger when button was pushed.