Hi,
I like Tooltips but they are displayed almost instantly.
I want to set a custom delay, like “wait 3 seconds before displaying a
tooltip”, where the number 3 can be toggled by me or the user
eventually.
Any idea how to achieve this?
Hi,
I like Tooltips but they are displayed almost instantly.
I want to set a custom delay, like “wait 3 seconds before displaying a
tooltip”, where the number 3 can be toggled by me or the user
eventually.
Any idea how to achieve this?
Thanks a lot kou!
Hi,
In removed_email_address@domain.invalid
“[ruby-gnome2-devel-en] Gtk::Tooltip - delay?” on Mon, 09 Sep 2013
11:50:35 +0200,
Marc H. removed_email_address@domain.invalid wrote:
I like Tooltips but they are displayed almost instantly.
I want to set a custom delay, like “wait 3 seconds before displaying a
tooltip”, where the number 3 can be toggled by me or the user
eventually.Any idea how to achieve this?
It seems that you can customize the timeout by
“gtk-tooltip-timeout” configuration in GTK+ 3:
For example:
require “gtk3”
Gtk::Settings.default.gtk_tooltip_timeout = 3000
window = Gtk::Window.new
window.tooltip_text = “Hello”
window.show_all
Gtk.main
kou
In removed_email_address@domain.invalid
“Re: [ruby-gnome2-devel-en] Gtk::Tooltip - delay?” on Fri, 27 Sep 2013
22:25:19 +0200,
Marc H. removed_email_address@domain.invalid wrote:
Thanks a lot kou!
You’re welcome.
–
kou
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs