Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
pack.h
Go to the documentation of this file.
1// SPDX-License-Identifier: GPL-2.0-or-later
5/*
6 * Authors:
7 * Daniel Boles <dboles.src+inkscape@gmail.com>
8 *
9 * Copyright (C) 2023 Daniel Boles
10 * Released under GNU GPL v2+, read the file 'COPYING' for more information.
11 */
12
13#ifndef SEEN_UI_BOX_PACK_H
14#define SEEN_UI_BOX_PACK_H
15
16namespace Gtk {
17class Box;
18class Widget;
19} // namespace Gtk
20
21namespace Inkscape::UI {
22
25
70void pack_start(Gtk::Box &box, Gtk::Widget &child, bool expand, bool fill,
71 unsigned padding = 0);
72
76void pack_start(Gtk::Box &box, Gtk::Widget &child,
78 unsigned padding = 0);
79
83void pack_end(Gtk::Box &box, Gtk::Widget &child, bool expand, bool fill,
84 unsigned padding = 0);
85
90void pack_end(Gtk::Box &box, Gtk::Widget &child,
92 unsigned padding = 0);
93
94} // namespace Inkscape::UI
95
96#endif // SEEN_UI_BOX_PACK_H
97
98/*
99 Local Variables:
100 mode:c++
101 c-file-style:"stroustrup"
102 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
103 indent-tabs-mode:nil
104 fill-column:99
105 End:
106*/
107// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :
Colors::Color fill
Definition desktop.h:50
User interface code.
Definition desktop.h:113
void pack_end(Gtk::Box &box, Gtk::Widget &child, bool const expand, bool const fill, unsigned const padding)
Adds child to box, packed with reference to the end of box.
Definition pack.cpp:153
PackOptions
Equivalent to GTK3ʼs Gtk::PackOptions.
Definition pack.h:24
void pack_start(Gtk::Box &box, Gtk::Widget &child, bool const expand, bool const fill, unsigned const padding)
Adds child to box, packed with reference to the start of box.
Definition pack.cpp:141
Ocnode * child[8]
Definition quantize.cpp:33