aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2018-11-16 05:39:05 -0800
committerapache <apache@e5-web1.enlightenment.org>2018-11-16 05:39:05 -0800
commit5913e56ac0e69ba3dc90851d5b2961952d3dd611 (patch)
treeea520445ab7baecb6e47aebbad0d47e9856b3dcf
parentWiki media playground:containers:image01.png uploaded by Xavi Artigas (diff)
downloadwww-content-5913e56ac0e69ba3dc90851d5b2961952d3dd611.tar.gz
Wiki page texteditor-cs.md changed with summary [texteditor: adapt to API changes in Efl.Ui.Popup] by Xavi Artigas
-rw-r--r--pages/develop/tutorials/csharp/texteditor-cs.md.txt18
1 files changed, 9 insertions, 9 deletions
diff --git a/pages/develop/tutorials/csharp/texteditor-cs.md.txt b/pages/develop/tutorials/csharp/texteditor-cs.md.txt
index 5f73ea6f5..ae122b559 100644
--- a/pages/develop/tutorials/csharp/texteditor-cs.md.txt
+++ b/pages/develop/tutorials/csharp/texteditor-cs.md.txt
@@ -86,14 +86,14 @@ public class TextEditor
// Shows a modal message popup with an "OK" button
private void ShowMessage(string message)
{
- new efl.ui.Popup_Alert_Text (win, (efl.ui.IPopup_Alert_Text epopup) => {
+ new efl.ui.Text_Alert_Popup (win, (efl.ui.IText_Alert_Popup epopup) => {
epopup.SetText(message);
epopup.SetExpandable(new eina.Size2D(200,200));
- epopup.SetButton(efl.ui.Popup_Alert_Button.Positive, "OK", null);
+ epopup.SetButton(efl.ui.Alert_Popup_Button.Positive, "OK", null);
epopup.ButtonClickedEvt +=
- (object sender, efl.ui.Popup_Alert.ButtonClickedEvt_Args ea) => {
+ (object sender, efl.ui.Alert_Popup.ButtonClickedEvt_Args ea) => {
// Dismiss popup when the button is clicked
- ((efl.ui.IPopup_Alert_Text)sender).SetParent(null);
+ ((efl.ui.IText_Alert_Popup)sender).SetParent(null);
};
});
}
@@ -543,7 +543,7 @@ Applications typically convey important informational or error messages through
![Popup message](/_media/playground/texteditor-app/image02.png)
-To achieve this EFL uses the `efl.ui.Popup` class and its derivatives, for instance, the `efl.ui.Popup_Alert_Text` used in this tutorial. This class implements a popup that contains text and optional configurable buttons.
+To achieve this EFL uses the `efl.ui.Popup` class and its derivatives, for instance, the `efl.ui.Text_Alert_Popup` used in this tutorial. This class implements a popup that contains text and optional configurable buttons.
This is how it's used in this tutorial, in the `ShowMessage()` method:
@@ -551,14 +551,14 @@ This is how it's used in this tutorial, in the `ShowMessage()` method:
// Shows a modal message popup with an "OK" button
private void ShowMessage(string message)
{
- new efl.ui.Popup_Alert_Text (win, (efl.ui.IPopup_Alert_Text epopup) => {
+ new efl.ui.Text_Alert_Popup (win, (efl.ui.IText_Alert_Popup epopup) => {
epopup.SetText(message);
epopup.SetExpandable(new eina.Size2D(200,200));
- epopup.SetButton(efl.ui.Popup_Alert_Button.Positive, "OK", null);
+ epopup.SetButton(efl.ui.Alert_Popup_Button.Positive, "OK", null);
epopup.ButtonClickedEvt +=
- (object sender, efl.ui.Popup_Alert.ButtonClickedEvt_Args ea) => {
+ (object sender, efl.ui.Alert_Popup.ButtonClickedEvt_Args ea) => {
// Dismiss popup when the button is clicked
- ((efl.ui.IPopup_Alert_Text)sender).SetParent(null);
+ ((efl.ui.IText_Alert_Popup)sender).SetParent(null);
};
});
}