06-02-2010 12:09 PM - edited 06-02-2010 12:12 PM
Is there any way that I can manipulate UI window settings like titlebar visible (ATTR_TITLEBAR_VISIBLE) via GTK+ or other toolkit in Linux? Basically, I am trying to manipulate the visual attributes of the UI that are not compatible in Linux such as the titlebar visibility, minimize and maximize buttons hidden, etc...
In windows, I have used the windows SDK to create/manipulate system tray icon menus. Perhaps there is a similar approach in Linux?
Thanks for reading,
-pete
Solved! Go to Solution.
06-03-2010 06:12 PM
Hi Pete,
You are correct that the behavior you are mentioning is not supported by CVI in Linux. I am not as familiar with Linux, so I am not sure what APIs exist which would give you access to system level properties (like the SDK does for Windows). I'll try to see if I can find any leads for you, and perhaps someone else can share their insight as well?
Have a great afternoon!
John M
06-07-2010 04:14 PM
Hi Pete,
After a little more research, I have found that it is possible to modify these attributes, because CVI for Linux uses the X Window System. To do this, you would be able to get a reference to the X Window System attribute by using the function int GetPanelAttribute (int panelHandle, int panelAttribute, void *attributeValue) with ATTR_SYSTEM_WINDOW_HANDLE for the panelAttribute. From here, you could use X Window System functions to modify properties.
Best,
John M
06-14-2010 11:55 AM