Project

General

Profile

Actions

Feature #1151

closed

Access to the expandIcon() of the WTreeNode in the API

Added by Anonymous almost 13 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Pieter Libin
Target version:
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.

Actions #1

Updated by Koen Deforche almost 13 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

Actions #2

Updated by Pieter Libin almost 13 years ago

  • Status changed from InProgress to Resolved
Actions #3

Updated by Koen Deforche over 12 years ago

  • Status changed from Resolved to Closed

Fixed in 3.2.1

Actions

Also available in: Atom PDF