glade panel buttons grayed out

More
14 Jun 2015 06:04 - 14 Jun 2015 06:18 #59792 by tome
I am creating a new gladevcp panel. I have it set up but the buttons I set up are all greyed out. The LEDs I created are there and working. What am I forgetting that causes the buttons not to be active?
-Tom


Never mind: I realized that I had put the buttons inside a HAL table and I hadn't done: "setp hal_table2 1" The buttons are active now...

By the way, they were inside a hal_table because I had copied the layout of a previous panel. I'm not really sure why one would put a button inside a table...? Anyone know?
Last edit: 14 Jun 2015 06:18 by tome.

Please Log in or Create an account to join the conversation.

More
14 Jun 2015 12:52 #59802 by cmorley
Well a table is used to add more then one widget to a container.
one would use a hal table so you can control when a user can press the button or not.

If you don't need the sensitivity control then just use a regular table.

Chris M

Please Log in or Create an account to join the conversation.

Moderators: mhaberlerHansU
Time to create page: 0.135 seconds
Powered by Kunena Forum