From wiki.ginstr.com
Jump to: navigation, search
m (formatting)
Line 10: Line 10:
 
===Disable widgets===
 
===Disable widgets===
  
;<code>[gn:act_disableWidget]|[target{n}]</code>
+
:;<code>[gn:act_disableWidget]|[target{n}]</code>
  
{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
+
:{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
 
|-
 
|-
 
! scope="col" | Parameter
 
! scope="col" | Parameter
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
| [[target]]{n}
+
| <code>[[target]]{n}</code>
 
| [[target]] which will be disabled
 
| [[target]] which will be disabled
 
* Valid [[target|targets]]:
 
* Valid [[target|targets]]:
Line 25: Line 25:
  
 
====Example====
 
====Example====
<code>@+id/rental_rentOutDate,@+id/rental_plannedEndDate</code> - widgets<br><br>
+
:<code>@+id/rental_rentOutDate,@+id/rental_plannedEndDate</code> - widgets<br>
<code>[gn:act_disableWidget]|[@+id/rental_rentOutDate,@+id/rental_plannedEndDate]</code>
+
:; ⤷ <code>[gn:act_disableWidget]|[@+id/rental_rentOutDate,@+id/rental_plannedEndDate]</code>
 
<hr>
 
<hr>

Revision as of 15:06, 12 July 2017

gn:act_disableWidget

Description
Action used to disable single or multiple widgets when action is executed.
Action returns
void

Action signatures

Disable widgets

[gn:act_disableWidget]|[target{n}]
Parameter Description
target{n} target which will be disabled

Example

@+id/rental_rentOutDate,@+id/rental_plannedEndDate - widgets
[gn:act_disableWidget]|[@+id/rental_rentOutDate,@+id/rental_plannedEndDate]