Actions
Feature #1151
closed
PL
Access to the expandIcon() of the WTreeNode in the API
Feature #1151:
Access to the expandIcon() of the WTreeNode in the API
Start date:
02/02/2012
Due date:
% Done:
0%
Estimated time:
Description
Maybe it would be possible to allow the access of the expand/collapse icon of a WTreeNode?
As i read in the documentation:
_void Wt::WTreeNode::setImagePack (const std::string & url)
Sets the image pack for this (sub)tree (deprecated)
Deprecated:
This method does not do anything since Wt 3.1.1, as the tree is now styled based on the current CSS theme._
So the only way to set those images is per cssTheme (which is only one at the time, as i understand).
It would be straight forward to allow access to the expand icon,
like the "extra" WIconPair which can be set for each WTreeNode.
KD Updated by Koen Deforche over 14 years ago
- Status changed from New to InProgress
- Assignee set to Pieter Libin
- Target version set to 3.2.1
Pieter,
You should simply make an accessor for the expandIcon_ member.
Regards,
koen
PL Updated by Pieter Libin over 14 years ago
- Status changed from InProgress to Resolved
KD Updated by Koen Deforche over 14 years ago
- Status changed from Resolved to Closed
Fixed in 3.2.1
Actions