using Gtk;
-class IdCard : Window
+class IdCardWidget : Box
{
private VBox main_vbox;
private Table table;
return false;
}
- public IdCard ()
+ public IdCardWidget ()
{
Gdk.Pixbuf pixbuf;
- this.title = "ID Card";
- this.position = WindowPosition.CENTER;
- set_default_size (400, 200);
-
var icon_theme = IconTheme.get_default ();
try
{
event_box.show_all ();
this.hbutton_box.hide ();
}
-
- public static int main(string[] args)
- {
- Gtk.init(ref args);
-
- var IdCard = new IdCard ();
- IdCard.show ();
-
- Gtk.main();
-
- return 0;
- }
}