/* * 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_hpaned_init () { /* Initialise the GTK type */ volatile GtkType type; type = gtk_hpaned_get_type (); /* Initialize the GbWidget structure */ gb_widget_init_struct (&gbwidget); /* Fill in the pixmap struct & tooltip */ gbwidget.pixmap_struct = hpaned_xpm; gbwidget.tooltip = _("Horizontal Panes"); /* Fill in any functions that this GbWidget has */ gbwidget.gb_widget_new = gb_hpaned_new; gbwidget.gb_widget_create_properties = gb_hpaned_create_properties; gbwidget.gb_widget_get_properties = gb_hpaned_get_properties; gbwidget.gb_widget_set_properties = gb_hpaned_set_properties; gbwidget.gb_widget_create_child_properties = gb_paned_create_child_properties; gbwidget.gb_widget_get_child_properties = gb_paned_get_child_properties; gbwidget.gb_widget_set_child_properties = gb_paned_set_child_properties; /* gbwidget.gb_widget_create_popup_menu = gb_hpaned_create_popup_menu; */ gbwidget.gb_widget_write_source = gb_hpaned_write_source; gbwidget.gb_widget_write_add_child_source = gb_paned_write_add_child_source; return &gbwidget; }
CLIP_DLLEXPORT GtkType _gtk_type_hpaned() { return gtk_hpaned_get_type(); }