static void
_entry_hover_anchor_clicked_do(Evas_Object *obj,
- Efl_Ui_Text_Anchor_Info *info)
+ Elm_Entry_Anchor_Info *info)
{
Evas_Object *hover_parent;
Evas_Coord x, w, y, h, px, py;
- Efl_Ui_Text_Anchor_Hover_Info ei;
+ Elm_Entry_Anchor_Hover_Info ei;
EFL_UI_TEXT_DATA_GET(obj, sd);
EFL_UI_TEXT_DATA_GET(obj, pd);
Anchor *an = data;
- Efl_Ui_Text_Anchor_Info ei;
+ Elm_Entry_Anchor_Info ei;
ei.x = ei.y = ei.w = ei.h = 0;
ei.name = an->name;
{
EFL_UI_TEXT_DATA_GET(obj, pd);
- Efl_Ui_Text_Anchor_Info ei;
+ Elm_Entry_Anchor_Info ei;
Anchor *an = data;
ei.x = ei.y = ei.w = ei.h = 0;
import elm_general;
import elm_entry;
-struct Efl.Ui.Text.Anchor_Info
-{
- [[EFL UI text anchor information]]
- name: string; [[The name of the anchor, as stated in its href.]]
- button: int; [[The mouse button used to click on it.]]
- x: int; [[Anchor geometry, relative to canvas.]]
- y: int; [[Anchor geometry, relative to canvas.]]
- w: int; [[Anchor geometry, relative to canvas.]]
- h: int; [[Anchor geometry, relative to canvas.]]
-}
-
-struct Efl.Ui.Text.Hover_Parent
-{
- [[EFL text hover parent]]
- x: int; [[Hover parent X coordinate]]
- y: int; [[Hover parent Y coordinate]]
- w: int; [[Hover parent width]]
- h: int; [[Hover parent height]]
-}
-
-struct Efl.Ui.Text.Anchor_Hover_Info
-{
- [[EFL text anchor hover information]]
- anchor_info: ptr(const(Efl.Ui.Text.Anchor_Info)); [[The actual anchor info.]]
- hover: Elm.Hover; [[The hover object to use for the popup.]]
- hover_parent: Efl.Ui.Text.Hover_Parent; [[Hover parent widget]]
- hover_left : bool; [[Hint indicating if there's space
- for content on the left side of
- the hover. Before calling the
- callback, the widget will make the
- necessary calculations to check
- which sides are fit to be set with
- content, based on the position the
- hover is activated and its distance
- to the edges of its parent object
- ]]
- hover_right : bool; [[Hint indicating content fits on
- the right side of the hover.
- See @.hover_left.
- ]]
- hover_top : bool; [[Hint indicating content fits on top
- of the hover. @.hover_left.
- ]]
- hover_bottom : bool; [[Hint indicating content fits
- below the hover. See
- @.hover_left.
- ]]
-}
-
class Efl.Ui.Text (Efl.Ui.Layout, Elm.Interface_Scrollable, Efl.Ui.Clickable,
Elm.Interface.Atspi.Text, Elm.Interface.Atspi.Text.Editable, Efl.File,
Efl.Ui.Selectable, Efl.Ui.Scrollable, Efl.Ui.Text.Interactive)