Lines Matching refs:toolbox
69 #include "toolbox.h"
1581 // this is a function from toolbox.cpp that shows only the current tool's panel
1585 if (!prefs->getBool(pref_root + "toolbox/state", true)) {
1685 GtkWidget* toolbox = 0;
1687 toolbox = tool_toolbox;
1689 toolbox = aux_toolbox;
1691 toolbox = commands_toolbox;
1693 toolbox = snap_toolbox;
1697 if (toolbox) {
1701 if ( gtk_widget_is_ancestor(toolbox, hbox) ) {
1703 g_object_ref(G_OBJECT(toolbox));
1704 gtk_container_remove(GTK_CONTAINER(hbox), toolbox);
1705 gtk_container_add(GTK_CONTAINER(vbox), toolbox);
1706 g_object_unref(G_OBJECT(toolbox));
1707 gtk_box_set_child_packing(GTK_BOX(vbox), toolbox, FALSE, TRUE, 0, GTK_PACK_START);
1709 ToolboxFactory::setOrientation(toolbox, GTK_ORIENTATION_HORIZONTAL);
1713 if ( !gtk_widget_is_ancestor(toolbox, hbox) ) {
1714 g_object_ref(G_OBJECT(toolbox));
1715 gtk_container_remove(GTK_CONTAINER(vbox), toolbox);
1716 gtk_container_add(GTK_CONTAINER(hbox), toolbox);
1717 g_object_unref(G_OBJECT(toolbox));
1718 gtk_box_set_child_packing(GTK_BOX(hbox), toolbox, FALSE, TRUE, 0, GTK_PACK_START);
1720 gtk_box_reorder_child( GTK_BOX(hbox), toolbox, 0 );
1723 ToolboxFactory::setOrientation(toolbox, GTK_ORIENTATION_VERTICAL);
1820 /* This loops through all the grandchildren of aux toolbox,
1826 * Of course it would be nice to be able to refer to the toolbox and the