Home » U++ Library support » TopWindow&PopUp, TrayIcon » [Solved][TrayIcon for Linux] Help needed to merge two eventloops
[Solved][TrayIcon for Linux] Help needed to merge two eventloops [message #5595] |
Thu, 05 October 2006 07:51 |
3togo
Messages: 83 Registered: May 2006 Location: Hong Kong SAR
|
Member |
|
|
// codes extracted from src/main.cpp
GUI_APP_MAIN
{
TrayIcon traywindow;
App app;
traywindow.Run();
//Ctrl::EventLoop();
}
If traywindow.Run() is used, all the events from traywindow could be processed but all the events from app was ignored.
If Ctrl::EventLoop() is used, app events is now be processed but not traywindow.
I have attached the source codes and below is the procedures to "make"
the codes:
tar jxvf trayicon20061005.tar.bz2
cd trayicon
make
./traytest
[Updated on: Fri, 06 October 2006 23:37] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Tue Jun 04 00:41:40 CEST 2024
Total time taken to generate the page: 0.01594 seconds
|