18 lines
375 B
C++
18 lines
375 B
C++
//
|
|
// Created by selim on 10.05.2022.
|
|
//
|
|
|
|
#include "Box.h"
|
|
|
|
gtkpp::Box::Box(GtkOrientation orientation, int spacing) {
|
|
_widget = gtk_box_new(orientation, spacing);
|
|
}
|
|
|
|
void gtkpp::Box::append(const gtkpp::Widget& widget) {
|
|
gtk_box_append(GTK_BOX(_widget), widget.gobj());
|
|
}
|
|
|
|
void gtkpp::Box::append(GtkWidget *widget) {
|
|
gtk_box_append(GTK_BOX(_widget), widget);
|
|
}
|