Lines Matching defs:aux_toolboxes
180 } const aux_toolboxes[] = {
1404 for (int i = 0 ; aux_toolboxes[i].type_name ; i++ ) {
1405 if ( aux_toolboxes[i].prep_func ) {
1411 dataHolders[aux_toolboxes[i].type_name] = kludge;
1412 aux_toolboxes[i].prep_func( desktop, mainActions->gobj(), G_OBJECT(kludge) );
1416 if (aux_toolboxes[i].create_func == NULL) {
1419 sub_toolbox = aux_toolboxes[i].create_func(desktop);
1425 g_object_set_data(G_OBJECT(toolbox), aux_toolboxes[i].data_name, sub_toolbox);
1431 for (int i = 0 ; aux_toolboxes[i].type_name ; i++ ) {
1432 if ( aux_toolboxes[i].prep_func ) {
1435 GtkWidget* kludge = dataHolders[aux_toolboxes[i].type_name];
1445 gchar* tmp = g_strdup_printf( "/ui/%s", aux_toolboxes[i].ui_name );
1464 if ( aux_toolboxes[i].swatch_verb_id != SP_VERB_INVALID ) {
1465 Inkscape::UI::Widget::StyleSwatch *swatch = new Inkscape::UI::Widget::StyleSwatch( NULL, _(aux_toolboxes[i].swatch_tip) );
1467 swatch->setClickVerb( aux_toolboxes[i].swatch_verb_id );
1468 swatch->setWatchedTool( aux_toolboxes[i].swatch_tool, true );
1491 g_object_set_data( G_OBJECT(toolbox), aux_toolboxes[i].data_name, holder );
1503 for (int i = 0 ; aux_toolboxes[i].type_name ; i++ ) {
1504 GtkWidget *sub_toolbox = GTK_WIDGET(g_object_get_data(G_OBJECT(toolbox), aux_toolboxes[i].data_name));
1505 if (tname && !strcmp(tname, aux_toolboxes[i].type_name)) {