glade panel buttons grayed out
14 Jun 2015 06:04 - 14 Jun 2015 06:18 #59792
by tome
glade panel buttons grayed out was created 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?
-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.
14 Jun 2015 12:52 #59802
by cmorley
Replied by cmorley on topic glade panel buttons grayed out
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
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: HansU
Time to create page: 0.058 seconds