From wiki.ginstr.com
Jump to: navigation, search
m (formatting)
 
Line 10: Line 10:
 
===Join widget contents===
 
===Join widget contents===
  
;<code>[gn:act_widgetContentJoin]|[target,source{n}]</code>
+
:;<code>[gn:act_widgetContentJoin]|[target,source{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]]
+
| <code>[[target]]</code>
 
| [[target]] from where joined content will be stored
 
| [[target]] from where joined content will be stored
 
* Valid [[target]]:
 
* Valid [[target]]:
** [[GnEditText]]
+
** <code>[[GnEditText]]</code>
 
|-
 
|-
| [[source]]{n}
+
| <code>[[source]]{n}</code>
 
| [[source]] from where the value will be joined
 
| [[source]] from where the value will be joined
 
* Valid [[source|sources]]:
 
* Valid [[source|sources]]:
** [[GnEditText]]
+
** <code>[[GnEditText]]</code>
 
|-
 
|-
 
|}
 
|}
  
 
====Example====
 
====Example====
<code>@+id/targetWidget</code> - target<br>
+
:<code>@+id/targetWidget</code> - target<br>
<code>@+id/WidgetOne,@+id/WidgetTwo</code> - source<br><br>
+
:<code>@+id/WidgetOne,@+id/WidgetTwo</code> - source<br>
<code>[gn:act_widgetContentJoin]|[@+id/targetWidget,@+id/WidgetOne,@+id/WidgetTwo]</code>
+
:; ⤷ <code>[gn:act_widgetContentJoin]|[@+id/targetWidget,@+id/WidgetOne,@+id/WidgetTwo]</code>
 
<hr>
 
<hr>

Latest revision as of 13:32, 12 July 2017

gn:act_widgetContentJoin

Description
Action used to take content of multiple widgets and joins the content and stores it into GnEditText.
Action returns
void

Action signatures

Join widget contents

[gn:act_widgetContentJoin]|[target,source{n}]
Parameter Description
target target from where joined content will be stored
source{n} source from where the value will be joined

Example

@+id/targetWidget - target
@+id/WidgetOne,@+id/WidgetTwo - source
[gn:act_widgetContentJoin]|[@+id/targetWidget,@+id/WidgetOne,@+id/WidgetTwo]