src/moonshot-id.vala \
src/moonshot-add-dialog.vala \
src/moonshot-idcard-widget.vala \
+ src/moonshot-custom-vbox.vala \
src/moonshot-window.vala
src_moonshot_LDADD = \
--- /dev/null
+using Gtk;
+
+class CustomVBox : VBox
+{
+ public CustomVBox (bool homogeneous, int spacing)
+ {
+ this.set_homogeneous (homogeneous);
+ this.set_spacing (spacing);
+ }
+
+ public void receive_expanded_event ()
+ {
+ var id_cards = this.get_children ();
+ }
+}
private Entry search_entry;
private VBox vbox_rigth;
- private VBox custom_vbox;
+ private CustomVBox custom_vbox;
private Entry username_entry;
private Entry password_entry;
this.search_entry.notify["text"].connect (search_entry_text_changed_cb);
this.search_entry.key_press_event.connect(search_entry_key_press_event_cb);
- this.custom_vbox = new VBox (false, 6);
+ this.custom_vbox = new CustomVBox (false, 6);
var viewport = new Viewport (null, null);
viewport.set_border_width (6);