Inkscape
Vector Graphics Editor
|
Helpers for using Gtk::Boxes, encapsulating large changes between GTK3 & GTK4. More...
Go to the source code of this file.
Namespaces | |
namespace | Inkscape |
Helper class to stream background task notifications as a series of messages. | |
namespace | Inkscape::UI |
User interface code. | |
Typedefs | |
using | Inkscape::UI::BoxChildren = std::unordered_map< Gtk::Widget *, sigc::scoped_connection > |
Enumerations | |
enum class | Inkscape::UI::PackType { Inkscape::UI::start , Inkscape::UI::end } |
Functions | |
static void | Inkscape::UI::set_expand (Gtk::Widget &widget, Gtk::Orientation const orientation, bool const expand) |
static void | Inkscape::UI::set_align (Gtk::Widget &widget, Gtk::Orientation const orientation, Gtk::Align const align) |
static auto | Inkscape::UI::to_align (PackType const pack_type) |
static void | Inkscape::UI::set_fill (Gtk::Widget &widget, Gtk::Orientation const orientation, bool const fill, PackType const pack_type) |
static void | Inkscape::UI::set_padding (Gtk::Widget &widget, Gtk::Orientation const orientation, int const margin_start, int const margin_end) |
static void | Inkscape::UI::add (Gtk::Box &box, PackType const pack_type, Gtk::Widget &child) |
static void | Inkscape::UI::pack (PackType const pack_type, Gtk::Box &box, Gtk::Widget &child, bool const expand, bool const fill, unsigned const padding) |
static void | Inkscape::UI::pack (PackType const pack_type, Gtk::Box &box, Gtk::Widget &child, PackOptions const options, unsigned const padding) |
void | Inkscape::UI::pack_start (Gtk::Box &box, Gtk::Widget &child, bool expand, bool fill, unsigned padding=0) |
Adds child to box, packed with reference to the start of box. | |
void | Inkscape::UI::pack_start (Gtk::Box &box, Gtk::Widget &child, PackOptions options=PackOptions::expand_widget, unsigned padding=0) |
Adds child to box, packed with reference to the start of box. | |
void | Inkscape::UI::pack_end (Gtk::Box &box, Gtk::Widget &child, bool expand, bool fill, unsigned padding=0) |
Adds child to box, packed with reference to the end of box. | |
void | Inkscape::UI::pack_end (Gtk::Box &box, Gtk::Widget &child, PackOptions options=PackOptions::expand_widget, unsigned padding=0) |
Adds child to box, packed with reference to the end of box. | |
Variables | |
static auto | Inkscape::UI::s_box_children = std::unordered_map<Gtk::Box *, BoxChildren>{} |
Helpers for using Gtk::Boxes, encapsulating large changes between GTK3 & GTK4.
Definition in file pack.cpp.