Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
pack.h File Reference

Helpers for using Gtk::Boxes, encapsulating large changes between GTK3 & GTK4. More...

Go to the source code of this file.

Namespaces

namespace  Gtk
 
namespace  Inkscape
 Helper class to stream background task notifications as a series of messages.
 
namespace  Inkscape::UI
 User interface code.
 

Enumerations

enum class  Inkscape::UI::PackOptions { Inkscape::UI::shrink , Inkscape::UI::expand_padding , Inkscape::UI::expand_widget }
 Equivalent to GTK3ʼs Gtk::PackOptions. More...
 

Functions

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.
 

Detailed Description

Helpers for using Gtk::Boxes, encapsulating large changes between GTK3 & GTK4.

Definition in file pack.h.