mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-05-06 21:30:40 +00:00
o added ShouldDisplay
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19945 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
96f17ed7a1
commit
db16f6d299
2 changed files with 11 additions and 3 deletions
|
@ -4,17 +4,24 @@ Anchor: GSWGenericContainer
|
||||||
name = anchorName;
|
name = anchorName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ShouldDisplay: GSWConditional
|
||||||
|
{
|
||||||
|
condition = shouldDisplay;
|
||||||
|
}
|
||||||
|
|
||||||
Link: GSWHyperlink
|
Link: GSWHyperlink
|
||||||
{
|
{
|
||||||
action = toggleVisibilityAction;
|
action = toggleVisibilityAction;
|
||||||
disabled = ^disabled;
|
disabled = isDisabled;
|
||||||
|
displayDisabled = ^displayDisabled;
|
||||||
fragmentIdentifier = anchorName;
|
fragmentIdentifier = anchorName;
|
||||||
|
class = ~linkClass;
|
||||||
};
|
};
|
||||||
|
|
||||||
Image: GSWImage
|
Image: GSWImage
|
||||||
{
|
{
|
||||||
filename = imageFileName;
|
filename = imageFileName;
|
||||||
framework = "GSWExtensions";
|
//framework = "GSWExtensions";
|
||||||
alt = helpString;
|
alt = helpString;
|
||||||
name = helpString;
|
name = helpString;
|
||||||
border = "0";
|
border = "0";
|
||||||
|
@ -25,6 +32,7 @@ Label: GSWString
|
||||||
{
|
{
|
||||||
value = label;
|
value = label;
|
||||||
escapeHTML = NO;
|
escapeHTML = NO;
|
||||||
|
class = ~labelClass;
|
||||||
}
|
}
|
||||||
|
|
||||||
Condition: GSWConditional
|
Condition: GSWConditional
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
<gsweb name="Anchor"></gsweb><gsweb name="Link"><gsweb name="Image"></gsweb></gsweb> <gsweb name="Label"></gsweb><gsweb name="Condition"><gsweb name="Content"></gsweb></gsweb>
|
<gsweb name="Anchor"></gsweb><gsweb name="ShouldDisplay"><gsweb name="Link"><gsweb name="Image"></gsweb></gsweb> <gsweb name="Label"></gsweb><gsweb name="Condition"><gsweb name="Content"></gsweb></gsweb></gsweb>
|
Loading…
Reference in a new issue