Revert API to explicitly show tooltips:
gdk pointer grab offers a better solution.
This commit is contained in:
parent
a7523c4e6d
commit
fd76f87ae1
@ -39,9 +39,6 @@ public:
|
|||||||
|
|
||||||
virtual bool dragging () const;
|
virtual bool dragging () const;
|
||||||
|
|
||||||
void explicit_show ();
|
|
||||||
void explicit_hide ();
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool timeout ();
|
bool timeout ();
|
||||||
void show ();
|
void show ();
|
||||||
|
@ -63,20 +63,6 @@ PersistentTooltip::timeout ()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
PersistentTooltip::explicit_show ()
|
|
||||||
{
|
|
||||||
_timeout.disconnect ();
|
|
||||||
show ();
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
PersistentTooltip::explicit_hide ()
|
|
||||||
{
|
|
||||||
_timeout.disconnect ();
|
|
||||||
hide ();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
PersistentTooltip::leave (GdkEventCrossing *)
|
PersistentTooltip::leave (GdkEventCrossing *)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user