summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_selection_types.eot
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2018-12-21 13:46:06 -0800
committerCedric BAIL <cedric.bail@free.fr>2019-01-02 11:03:49 -0800
commit327593e9b443cf62c0cd9b3b73327b031fa52ea2 (patch)
tree66ebf4ff7f18921161d2f30510a768c9d4c79a5e /src/lib/elementary/efl_selection_types.eot
parent28c4380eaac8d05b9cf93577bc0a118951713b7a (diff)
elementary: rename Efl.Selection -> Efl.Ui.Selection as it is only usable with User Interface related element.
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7505
Diffstat (limited to 'src/lib/elementary/efl_selection_types.eot')
-rw-r--r--src/lib/elementary/efl_selection_types.eot59
1 files changed, 0 insertions, 59 deletions
diff --git a/src/lib/elementary/efl_selection_types.eot b/src/lib/elementary/efl_selection_types.eot
deleted file mode 100644
index e584959..0000000
--- a/src/lib/elementary/efl_selection_types.eot
+++ /dev/null
@@ -1,59 +0,0 @@
1enum Efl.Selection_Type
2{
3 [[Selection type]]
4 primary, [[Primary text selection (highlighted or selected text)]]
5 secondary, [[Used when primary selection is in use]]
6 dnd, [[Drag and Drop]]
7 clipboard [[Clipboard selection (ctrl+C)]]
8}
9
10enum Efl.Selection_Format
11{
12 [[Selection format]]
13 targets = -1, [[For matching every possible atom]]
14 none = 0x0, [[Content is from outside of Elementary]]
15 text = 0x01, [[Plain unformatted text: Used for things that don't want rich markup]]
16 markup = 0x2, [[Edje textblock markup, including inline images]]
17 image = 0x4, [[Images]]
18 vcard = 0x08, [[Vcards]]
19 html = 0x10 [[Raw HTML-like data (eg. webkit)]]
20}
21
22enum Efl.Selection_Action
23{
24 [[Defines the kind of action associated with the drop data]]
25 unknown, [[Action type is unknown]]
26 copy, [[Copy the data]]
27 move, [[Move the data]]
28 private, [[Private action type]]
29 ask, [[Ask the user what to do]]
30 list, [[List the data]]
31 link, [[Link the data]]
32 description [[Describe the data]]
33}
34
35struct Efl.Selection_Data
36{
37 [[Structure holding the info about selected data]]
38 pos: Eina.Position2D; [[Coordinates of the drop (DND operations only)]]
39 format: Efl.Selection_Format; [[Format of the selection]]
40 content: Eina.Slice; [[Selection data]]
41 action: Efl.Selection_Action; [[Action to perform with the data]]
42 item: Efl.Object; [[Item under the drag position. It is only available for container]]
43}
44
45function Efl.Selection_Data_Ready {
46 [[Function pointer for getting selection]]
47 params {
48 @in obj: Efl.Object; [[Object which requested for the selection]]
49 @in seldata: ptr(Efl.Selection_Data); [[Selection data]]
50 }
51};
52
53struct Efl.Selection_Changed
54{
55 type: Efl.Selection_Type; [[Selection type]]
56 seat: int; [[The seat on which the selection changed, or NULL for "default"]]
57 display: void_ptr; [[The display connection object, NULL under X11]]
58 exist: bool; [[EINA_TRUE if the selection has an owner]]
59}