summaryrefslogtreecommitdiff
path: root/src/Fl_Tooltip.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2009-08-03 06:26:32 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2009-08-03 06:26:32 +0000
commit5e21c7ce233da01593263b03ff237bccc1b3eda1 (patch)
treec7507931fc44a83f8b9ae6a0bbc9fdd9a4e47624 /src/Fl_Tooltip.cxx
parent7e8ba419c6283797fd19f15de90fb0064b2c5cf5 (diff)
Added new Fl_Window:: flags() and methods:
- set_menu_window() to mark a window as a menu window - set_tooltip_window() to mark a window as a tooltip window and the corresponding get methods: - menu_window() - tooltip_window(). This is a first step for providing more information for correct parenting and properties to support modern (X) window managers (STR #2230). Please see also the information in fltk.development: http://www.fltk.org/newsgroups.php?gfltk.development+v:8003 ToDo: Another point is to be able to handle menu windows and popup windows that are opened while a menu is active properly (will follow later). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6841 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Tooltip.cxx')
-rw-r--r--src/Fl_Tooltip.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Tooltip.cxx b/src/Fl_Tooltip.cxx
index 6c6ab4226..0ca2178de 100644
--- a/src/Fl_Tooltip.cxx
+++ b/src/Fl_Tooltip.cxx
@@ -52,6 +52,7 @@ public:
/** Creates the box window */
Fl_TooltipBox() : Fl_Menu_Window(0, 0) {
set_override();
+ set_tooltip_window();
end();
}
void draw();