Expando Node for a Container. More...
#include "config.h"
#include <stdbool.h>
#include <stddef.h>
#include "mutt/lib.h"
#include "node_container.h"
#include "format.h"
#include "helpers.h"
#include "node.h"
#include "render.h"
Go to the source code of this file.
Functions | |
int | node_container_render (const struct ExpandoNode *node, const struct ExpandoRenderData *rdata, struct Buffer *buf, int max_cols, void *data, MuttFormatFlags flags) |
Callback for a Container Node - Implements ExpandoNode::render() -. | |
struct ExpandoNode * | node_container_new (void) |
Create a new Container ExpandoNode. | |
void | node_container_collapse (struct ExpandoNode **ptr) |
Remove an unnecessary Container. | |
void | node_container_collapse_all (struct ExpandoNode **ptr) |
Remove unnecessary Containers. | |
Expando Node for a Container.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file node_container.c.
struct ExpandoNode * node_container_new | ( | void | ) |
Create a new Container ExpandoNode.
ptr | New Container ExpandoNode |
Definition at line 86 of file node_container.c.
void node_container_collapse | ( | struct ExpandoNode ** | ptr | ) |
Remove an unnecessary Container.
ptr | Pointer to a Container |
Definition at line 100 of file node_container.c.
void node_container_collapse_all | ( | struct ExpandoNode ** | ptr | ) |
Remove unnecessary Containers.
ptr | Pointer to the parent node |
Definition at line 140 of file node_container.c.