15 lines
416 B
C++
15 lines
416 B
C++
|
#include "view_remove.h"
|
||
|
|
||
|
view_remove::view_remove():m_button("remove"),m_VBox(Gtk::ORIENTATION_VERTICAL)
|
||
|
{
|
||
|
set_border_width(5);
|
||
|
add(m_VBox);
|
||
|
m_VBox.pack_start(this->entry);
|
||
|
//Add buttons:
|
||
|
m_VBox.pack_start(m_ButtonBox, Gtk::PACK_SHRINK);
|
||
|
m_ButtonBox.pack_start(m_button, Gtk::PACK_SHRINK);
|
||
|
m_ButtonBox.set_border_width(5);
|
||
|
m_ButtonBox.set_spacing(5);
|
||
|
m_ButtonBox.set_layout(Gtk::BUTTONBOX_END);
|
||
|
}
|