closing thw window automatically



Hi,
I am using gtkmm 2.4 to create UI in my c++ application.My operating system is linux(ubuntu).I have barcode scanner which is connected to the serial port(/dev/ttyS0).
What I have to do in my application is, I should display a window at first, which contains a Label "Read the Barcode using the scanner" on it. Then I have to read the barcode using the scanner. After reading it, the window should automatically be closed then a new window have to be opened. I don't know how to close the first window automatically after reading the barcode. please help me!.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]