/* * Initializes the GbWidget structure. * I've placed this at the end of the file so we don't have to include * declarations of all the functions. */ GbWidget * gb_vbutton_box_init () { /* Initialise the GTK type */ volatile GtkType type; type = gtk_vbutton_box_get_type (); /* Initialize the GbWidget structure */ gb_widget_init_struct (&gbwidget); /* Fill in the pixmap struct & tooltip */ gbwidget.pixmap_struct = vbuttonbox_xpm; gbwidget.tooltip = _("Vertical Button Box"); /* Fill in any functions that this GbWidget has */ gbwidget.gb_widget_new = gb_vbutton_box_new; gbwidget.gb_widget_create_properties = gb_vbutton_box_create_properties; gbwidget.gb_widget_get_properties = gb_vbutton_box_get_properties; gbwidget.gb_widget_set_properties = gb_vbutton_box_set_properties; gbwidget.gb_widget_write_source = gb_vbutton_box_write_source; /* gbwidget.gb_widget_create_popup_menu = gb_vbutton_box_create_popup_menu; */ return &gbwidget; }
CLIP_DLLEXPORT GtkType _gtk_type_vbutton_box() { return gtk_vbutton_box_get_type(); }