24#ifndef HTML_BUTTON_HPP
25#define HTML_BUTTON_HPP
39#include "html_static_url.hpp"
40#include "html_div.hpp"
41#include "css_class_group.hpp"
50 html_button(
const std::string & x_label,
const std::string & x_event_name);
72 const std::string & get_label()
const {
return label; };
75 std::string
get_url()
const {
return inside.get_url(); };
117 std::string event_name;
120 void reset_adoption_tree(
bool enabled);
122 static const std::string action;
class body_builder is the root class of object generating HTML body
Definition: body_builder.hpp:99
void clear_css_classes()
clear the whole list of css_class names
Definition: body_builder.hpp:205
void remove_css_class(const std::string &name)
remove the provided css_class name from the list of css_class names this object has been assigned to
Definition: body_builder.cpp:273
void add_css_class(const std::string &name)
set this object with a additional css_class (assuming it is defined in a css_library available for th...
Definition: body_builder.cpp:247
class chemin definition
Definition: chemin.hpp:51
manages a set of css class names
Definition: css_class_group.hpp:46
class events
Definition: events.hpp:52
void rename_name(const std::string &old_name, const std::string &new_name)
rename an event and keep all existing peering to this new event
Definition: events.cpp:133
class html_div is the implementation of
Definition: html_div.hpp:46
class html_text manage text and header in html document
Definition: html_text.hpp:52
html component implementing the usual hyperlink component
Definition: html_url.hpp:43
void set_filename(const std::string &name)
Definition: html_url.hpp:63
void set_download(bool mode)
whether to download or display the URL target
Definition: html_url.hpp:59
virtual void bind_to_anchor(const std::string &val) override
inherited from body_builder
Definition: html_url.hpp:56
class holding fields of an HTTP request (method, URI, header, cookies, and so on)
Definition: request.hpp:45