Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » TopWindow&PopUp, TrayIcon » [Solved][TrayIcon for Linux] Help needed to merge two eventloops
icon5.gif  [Solved][TrayIcon for Linux] Help needed to merge two eventloops [message #5595] Thu, 05 October 2006 07:51 Go to previous message
3togo is currently offline  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

 
Read Message icon5.gif
Read Message
Read Message
Read Message
Previous Topic: Tester Needed for trayicon for linux version 0.1
Next Topic: StateH(OPEN) call missing in Linux
Goto Forum:
  


Current Time: Sat Apr 20 08:37:37 CEST 2024

Total time taken to generate the page: 0.05514 seconds