namedWindow documentation problem (Bug #276)
Description
Kurt Konolige
In the docs on namedWindow, it says that the window should be
resizeable if the CV_WINDOW_AUTOSIZE flag is not included. I can't
get the window to resize with the mouse, when I don't include this
flag.
Related issues
duplicated by Bug #277: cv::namedWindow() doesn't resize | Cancelled |
Associated revisions
Merge pull request #276 from cuda-geek:fix-precomps
Merge pull request #276 from micalan:JpegExif
History
Updated by anonymous - almost 15 years ago
The following sample works great (i.e. the window can be resized) on Ubuntu 9.10 x64, when OpenCV is compiled with GTK+ support. If it still does not work, please, supply the sample.
#include "cv.h"
#include "highgui.h"
#include <stdio.h>
using namespace cv;
int main(int, char**)
{
printf("press any key within 1 second\n");
namedWindow("test", 0);
int c = waitKey(0);
printf("%d\n", c);
return 0;
}
- Status changed from Open to Done
- (deleted custom field) set to worksforme