Replies: 2 comments 2 replies
-
2e0byo ***@***.***> writes:
Does anyone have any experience with [iced](https://docs.rs/iced_native/0.9.1/iced_native/index.html) ? Iced native can apparently expose a `raw_window_handle`, and all the widgets we need are already built in (tooltips, menus).
--
Reply to this email directly or view it on GitHub:
#504
You are receiving this because you are subscribed to this thread.
Message ID: ***@***.***>
Hum, I can't picture a Iced use case in Emacs. Emacs draws everything
itself, except the menu. But tao has menu support already.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
2e0byo ***@***.***> writes:
and the tooltips! Iced has a tooltip widget *but* I've no idea how it plays with just treating the window as a surface to draw on.
I was actually looking for some tooltip implementations to have a go at writing one for tao.
However I think iced just draws the tooltip in the viewport without using a new surface at all. [src](https://docs.rs/iced_native/0.9.1/src/iced_native/widget/tooltip.rs.html#171-221). But I've not read the source thoroughly enough.
--
Reply to this email directly or view it on GitHub:
#504 (reply in thread)
You are receiving this because you commented.
Message ID: ***@***.***>
Emacs has an overlay(not sure whether is called overlay) implantation of
tooltip, which works with tao already. Just tried with `company-mode`.
For native tooptip, there is gtk::Tooltip[0], since tao on Unix is
basically GTK window. Doubt that gonna work with
`--with-wr-gl=glutin/surfman`.
I think for GTK widget to work, we need `--with-wr-gl=gtk3`.
[0](https://gtk-rs.org/gtk3-rs/stable/latest/docs/gtk/struct.Tooltip.html)
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does anyone have any experience with iced ? Iced native can apparently expose a
raw_window_handle
, and all the widgets we need are already built in (tooltips, menus).Beta Was this translation helpful? Give feedback.
All reactions