xtd - Reference Guide
0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
ibutton_control.h
Go to the documentation of this file.
1
4
#pragma once
5
#include <
xtd/interface.h
>
6
#include "
control.h
"
7
#include "
dialog_result.h
"
8
10
namespace
xtd
{
12
namespace
forms
{
22
class
ibutton_control
interface_
{
23
public
:
27
virtual
forms::dialog_result
dialog_result
()
const
= 0;
31
virtual
control
&
dialog_result
(
forms::dialog_result
dialog_result
) = 0;
32
36
virtual
void
notify_default
(
bool
value) = 0;
37
40
virtual
void
perform_click
() = 0;
41
};
42
}
43
}
xtd::forms::control
Defines the base class for controls, which are components with visual representation.
Definition:
control.h:67
xtd::forms::ibutton_control
Allows a control to act like a button on a form.
Definition:
ibutton_control.h:22
xtd::forms::ibutton_control::dialog_result
virtual forms::dialog_result dialog_result() const =0
Gets the value returned to the parent form when the button is clicked.
xtd::forms::ibutton_control::notify_default
virtual void notify_default(bool value)=0
Notifies a control that it is the default button so that its appearance and behavior is adjusted acco...
xtd::forms::ibutton_control::dialog_result
virtual control & dialog_result(forms::dialog_result dialog_result)=0
Sets the value returned to the parent form when the button is clicked.
xtd::forms::ibutton_control::perform_click
virtual void perform_click()=0
Generates a click event for the control.
control.h
Contains xtd::forms::control control.
dialog_result.h
Contains xtd::forms::dialog_result enum class.
interface_
#define interface_
This keyword is use to represent an interface.
Definition:
interface.h:55
xtd::forms::dialog_result
dialog_result
Specifies identifiers to indicate the return value of a dialog box.
Definition:
dialog_result.h:39
interface.h
Contains xtd::interface interface.
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition:
about_box.h:13
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition:
system_report.h:17
Generated on Sat Jan 28 2023 18:12:25 for xtd - Reference Guide by
Gammasoft
. All rights reserved.