I've included the code and my Glade file. I've omitted some of the code in each function for brevity.
The layout widgets are initialized and the GtkEntry widgets are created/positioned in the following function.
Code:
gboolean
initialize_general_tab(GtkWidget *widget)
{
const char *string1 = "/root/components/type/@name";
const char *string2 = "/root/hr_method/@name";
const char *string3 = "/root/hr_model/@name";
const char *string4 = "/root/mttr_method/@name";
const char *string5 = "/root/vendor/@name"
usage_layout = glade_xml_get_widget (gxml, "usage_layout");
model_layout = glade_xml_get_widget (gxml, "model_layout");
vendor_layout = glade_xml_get_widget (gxml, "vendor_layout");
/* Create text entry boxes on the usage layout. */
part_num = gtk_entry_new();
gtk_widget_set_size_request(part_num, 200, 25);
gtk_layout_put(usage_layout, part_num, 200, 5);
ref_des = gtk_entry_new();
gtk_widget_set_size_request(ref_des, 200, 25);
gtk_layout_put(usage_layout, ref_des, 200, 35);
<...SNIP...>
/* Create text entry boxes on the model layout. */
hr_spec = gtk_entry_new();
gtk_widget_set_size_request(hr_spec, 100, 25);
gtk_layout_put(model_layout, hr_spec, 200, 75);
mttr_spec = gtk_entry_new();
gtk_widget_set_size_request(mttr_spec, 100, 25);
gtk_layout_put(model_layout, mttr_spec, 200, 140);
<...SNIP...>
/* Create text entry boxes on the vendor layout. */
alternate_pn = gtk_entry_new();
gtk_widget_set_size_request(alternate_pn, 100, 25);
gtk_layout_put(vendor_layout, alternate_pn, 200, 40);
spec_number = gtk_entry_new();
gtk_widget_set_size_request(spec_number, 100, 25);
gtk_layout_put(vendor_layout, spec_number, 200, 70);
figure_number = gtk_entry_new();
gtk_widget_set_size_request(figure_number, 100, 25);
gtk_layout_put(vendor_layout, figure_number, 200, 100);
<...SNIP...>
/*
* Create and populate the combo boxes. The list items in
* these are the same whether an assembly or a part is
* being viewed.
*/
/* Populate the part classification combo box. */
part_type = gtk_combo_box_new_text();
gtk_widget_set_size_request(part_type, 200, 30);
gtk_layout_put(usage_layout, part_type, 200, 95);
if(!load_combo(GTK_COMBO_BOX(part_type), string1))
{
printf( "Error loading part type combo box.\n" );
return FALSE;
}
g_signal_connect(G_OBJECT(part_type), "changed",
G_CALLBACK(load_part_subtype_combo) ,NULL);
gtk_combo_box_set_active(part_type, 0);
/* Load the hazard rate source choices into the appropriate combo box. */
hr_source = gtk_combo_box_new_text();
gtk_widget_set_size_request(hr_source, 200, 30);
gtk_layout_put(model_layout, hr_source, 200, 0);
if(!load_combo(GTK_COMBO_BOX(hr_source), string2))
{
printf("Error loading hazard rate source combo box.\n");
return FALSE;
}
gtk_combo_box_set_active(hr_source, 0);
<...SNIP...>
gtk_widget_show_all(usage_layout);
gtk_widget_show_all(model_layout);
gtk_widget_show_all(vendor_layout);
return TRUE;
}
This is the function that responds to mouse clicks on a GtkTreeView widget. The information from the selected row is used to populate the GtkEntry and GtkComboBox widgets created in the function above.
Code:
void
system_tree_clicked_cb(GtkTreeView *tree,
GdkEventButton *butt)
{
GtkTreeIter iter;
GtkTreeSelection *selection;
SELECTED_TREE = 1;
switch (butt->button)
{
case (1):
selection = gtk_tree_view_get_selection(sys_tree);
if (gtk_tree_selection_get_selected(selection, NULL, &iter))
{
GtkTreePath *path = gtk_tree_model_get_path(GTK_TREE_MODEL(sys_store), &iter);
/*
* Get the selected item's information from the tree.
* Then populate the parts list and the general tab.
*/
if (gtk_tree_model_get_iter(GTK_TREE_MODEL(sys_store), &iter, path))
{
const gchar *strptr[11];
double dblptr[4];
int intptr[5];
gtk_tree_model_get(GTK_TREE_MODEL(sys_store), &iter,
COLUMN_PN, &strptr[0],
COLUMN_REFDES, &strptr[1],
COLUMN_COMPREFDES, &strptr[2],
COLUMN_DESC, &strptr[3],
COLUMN_ALTPN, &strptr[4],
COLUMN_SPECNUM, &strptr[5],
COLUMN_FIGNUM, &strptr[6],
COLUMN_PAGENUM, &strptr[7],
COLUMN_NSN, &strptr[8],
COLUMN_CAGE, &strptr[9],
COLUMN_LCN, &strptr[10],
COLUMN_MAN, &intptr[0],
COLUMN_QUANT, &intptr[1],
COLUMN_HRSRC, &intptr[2],
COLUMN_MTTRSRC, &intptr[3],
COLUMN_ID, &intptr[4],
COLUMN_HR, &dblptr[0],
COLUMN_MTTR, &dblptr[1],
COLUMN_MADJ, &dblptr[2],
COLUMN_AADJ, &dblptr[3],
-1);
SELECTED_ASSEMBLY = intptr[4];
populate_part_list(SELECTED_ASSEMBLY);
if (!populate_general_tab(strptr, dblptr, 20, intptr))
{
printf("Error populating the general tab.\n");
}
<...SNIP...>
This is the function that uses the information passed via the arrays to display the appropriate information in the GtkEntry and GtkComboBox widgets. The commented lines are the widgets that give me the errors from my original post.
Code:
gboolean
populate_general_tab(const gchar *strptr[],
double dblptr[],
int n,
int intptr[])
{
char *string=NULL;
/* Populate the usage information. */
/*gtk_entry_set_text(part_num, strptr[0]);*/
gtk_entry_set_text(ref_des, strptr[1]);
<...SNIP...>
/* Populate the vendor information. */
gtk_entry_set_text(alternate_pn, strptr[4]);
gtk_entry_set_text(spec_number, strptr[5]);
/*gtk_entry_set_text(figure_number, strptr[6]);*/
gtk_entry_set_text(page_number, strptr[7]);
<...SNIP...>
gtk_combo_box_set_active(manufacturer, intptr[0]);
/* Populate the model information. */
gtk_combo_box_set_active(hr_source, intptr[2]);
<...SNIP...>
return TRUE;
}
This is the Glade file.[code]<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
<glade-interface>
<widget class="GtkWindow" id="frmReliaFree">
<property name="visible">True</property>
<property name="has_default">True</property>
<property name="events">GDK_BUTTON_PRESS_MASK | GDK_STRUCTURE_MASK</property>
<property name="title" translatable="yes">ReliaFree</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_CENTER</property>
<property name="modal">False</property>
<property name="default_width">1250</property>
<property name="default_height">1000</property>
<property name="resizable">True</property>
<property name="destroy_with_parent">True</property>
<property name="decorated">True</property>
<property name="skip_taskbar_hint">False</property>
<property name="skip_pager_hint">False</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
<property name="focus_on_map">True</property>
<child>
<widget class="GtkVBox" id="vbox1">
<property name="visible">True</property>
<property name="homogeneous">False</property>
<property name="spacing">0</property>
<child>
<widget class="GtkMenuBar" id="menubar1">
<property name="visible">True</property>
<child>
<widget class="GtkMenuItem" id="menuitem1">
<property name="visible">True</property>
<property name="label" translatable="yes">_File</property>
<property name="use_underline">True</property>
<child>
<widget class="GtkMenu" id="menu1">
<property name="visible">True</property>
<child>
<widget class="GtkImageMenuItem" id="imagemenuitem1">
<property name="visible">True</property>
<property name="label">gtk-new</property>
<property name="use_stock">True</property>
</widget>
</child>
<child>
<widget class="GtkImageMenuItem" id="imagemenuitem2">
<property name="visible">True</property>
<property name="label">gtk-open</property>
<property name="use_stock">True</property>
</widget>
</child>
<child>
<widget class="GtkImageMenuItem" id="imagemenuitem3">
<property name="visible">True</property>
<property name="label">gtk-save</property>
<property name="use_stock">True</property>
</widget>
</child>
<child>
<widget class="GtkImageMenuItem" id="imagemenuitem4">
<property name="visible">True</property>
<property name="label">gtk-save-as</property>
<property name="use_stock">True</property>
</widget>
</child>
<child>
<widget class="GtkSeparatorMenuItem" id="separatormenuitem1">
<property name="visible">True</property>
</widget>
</child>
<child>
<widget class="GtkImageMenuItem" id="imagemenuitem5">
<property name="visible">True</property>
<property name="label">gtk-quit</property>
<property name="use_stock">True</property>
</widget>
</child>
</widget>
</child>
</widget>
</child>
<child>
<widget class="GtkMenuItem" id="menuitem2">
<property name="visible">True</property>
<property name="label" translatable="yes">_Edit</property>
<property name="use_underline">True</property>
<child>
<widget class="GtkMenu" id="menu2">
<property name="visible">True</property>
<child>
<widget class="GtkImageMenuItem" id="imagemenuitem6">
<property name="visible">True</property>
<property name="label">gtk-cut</property>
<property name="use_stock">True</property>
</widget>
</child>
<child>
<widget class="GtkImageMenuItem" id="imagemenuitem7">
<property name="visible">True</property>
<property name="label">gtk-copy</property>
<property name="use_stock">True</property>
</widget>
</child>
<child>
<widget class="GtkImageMenuItem" id="imagemenuitem8">
<property name="visible">True</property>
<property name="label">gtk-paste</property>
<property name="use_stock">True</property>
</widget>
</child>
<child>
<widget class="GtkImageMenuItem" id="imagemenuitem9">
<property name="visible">True</property>
<property name="label">gtk-delete</property>
<property name="use_stock">True</property>
</widget>
</child>
</widget>
</child>
</widget>
</child>
<child>
<widget class="GtkMenuItem" id="menuitem3">
<property name="visible">True</property>
<property name="label" translatable="yes">_View</property>
<property name="use_underline">True</property>
</widget>
</child>
<child>
<widget class="GtkMenuItem" id="menuitem4">
<property name="visible">True</property>
<property name="label" translatable="yes">_Help</property>
<property name="use_underline">True</property>
<child>
<widget class="GtkMenu" id="menu3">
<property name="visible">True</property>
<child>
<widget class="GtkImageMenuItem" id="imagemenuitem10">
<property name="visible">True</property>
<property name="label">gtk-about</property>
<property name="use_stock">True</property>
</widget>
</child>
</widget>
</child>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
<child>
<widget class="GtkToolbar" id="toolbar1">
<property name="visible">True</property>
<property name="orientation">GTK_ORIENTATION_HORIZONTAL</property>
<property name="toolbar_style">GTK_TOOLBAR_BOTH</property>
<property name="tooltips">True</property>
<property name="show_arrow">True</property>
<child>
<widget class="GtkToggleToolButton" id="toggle_connect">
<property name="visible">True</property>
<property name="tooltip" translatable="yes">Connect to program database...</property>
<property name="stock_id">gtk-connect</property>
<property name="visible_horizontal">True</property>
<property name="visible_vertical">True</property>
<property name="is_important">False</property>
<property name="active">False</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="homogeneous">True</property>
</packing>
</child>
<child>
<widget class="GtkSeparatorToolItem" id="separatortoolitem2">
<property name="visible">True</property>
<property name="draw">True</property>
<property name="visible_horizontal">True</property>
<property name="visible_vertical">True</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="homogeneous">False</property>
</packing>
</child>
<child>
<widget class="GtkMenuToolButton" id="menubtnInsert">
<property name="visible">True</property>
<property name="label">Insert</property>
<property name="use_underline">True</property>
<property name="stock_id">gtk-add</property>
<property name="visible_horizontal">True</property>
<property name="visible_vertical">True</property>
<property name="is_important">False</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="homogeneous">False</property>
</packing>
</child>
<child>
<widget class="GtkMenuToolButton" id="menubtnDelete">
<property name="visible">True</property>
<property name="label">Delete</property>
<property name="use_underline">True</property>
<property name="stock_id">gtk-delete</property>
<property name="visible_horizontal">True</property>
<property name="visible_vertical">True</property>
<property name="is_important">False</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="homogeneous">False</property>
</packing>
</child>
<child>
<widget class="GtkSeparatorToolItem" id="separatortoolitem1">
<property name="visible">True</property>
<property name="draw">True</property>
<property name="visible_horizontal">True</property>
<property name="visible_vertical">True</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="homogeneous">False</property>
</packing>
</child>
<child>
<widget class="GtkToolButton" id="toolbutton_apply">
<property name="visible">True</property>
<property name="tooltip" translatable="yes">Commit changes to the database...</property>
<property name="label">Commit</property>
<property name="use_underline">True</property>
<property name="stock_id">gtk-apply</property>
<property name="visible_horizontal">True</property>
<property name="visible_vertical">True</property>
<property name="is_important">False</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="homogeneous">True</property>
</packing>
</child>
<child>
<widget class="GtkToolButton" id="toolbutton_cancel">
<property name="visible">True</property>
<property name="tooltip" translatable="yes">Do not commit changes to the database...</property>
<property name="stock_id">gtk-cancel</property>
<property name="visible_horizontal">True</property>
<property name="visible_vertical">True</property>
<property name="is_important">False</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="homogeneous">True</property>
</packing>
</child>
<child>
<widget class="GtkToolButton" id="toolbutton_edit">
<property name="visible">True</property>
<property name="stock_id">gtk-edit</property>
<property name="visible_horizontal">True</property>
<property name="visible_vertical">True</property>
<property name="is_important">False</property>
</widget>
<packing>
<property name="expand">False</property>
<property name="homogeneous">True</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child>
<widget class="GtkVPaned" id="vpaned1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<child>
<widget class="GtkHPaned" id="hpaned2">
<property name="height_request">150</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<child>
<widget class="GtkScrolledWindow" id="system_tree_scroll_window">
<property name="width_request">600</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hscrollbar_policy">GTK_POLICY_ALWAYS</property>
<property name="vscrollbar_policy">GTK_POLICY_ALWAYS</property>
<property name="shadow_type">GTK_SHADOW_IN</property>
<property name="window_placement">GTK_CORNER_TOP_LEFT</property>
<child>
<widget class="GtkTreeView" id="tree_System">
<property name="visible">True</property>
<property name="tooltip" translatable="yes">Indentured display of the currently selected system tree...</property>
<property name="can_focus">True</property>
<property name="headers_visible">True</property>
<property name="rules_hint">False</property>
<property name="reorderable">False</property>
<property name="enable_search">True</property>
<property name="fixed_height_mode">False</property>
<property name="hover_selection">False</property>
<property name="hover_expand">False</property>
</widget>
</child>
</widget>
<packing>
<property name="shrink">False</property>
<property name="resize">False</property>
</packing>
</child>
<child>
<widget class="GtkScrolledWindow" id="function)scroll_window">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hscrollbar_policy">GTK_POLICY_ALWAYS</property>
<property name="vscrollbar_policy">GTK_POLICY_ALWAYS</property>
<property name="shadow_type">GTK_SHADOW_IN</property>
<property name="window_placement">GTK_CORNER_TOP_LEFT</property>
<child>
<widget class="GtkTreeView" id="tree_functions">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="headers_visible">True</property>
<property name="rules_hint">False</property>
<property name="reorderable">False</property>
<property name="enable_search">True</property>
<property name="fixed_height_mode">False</property>
<property name="hover_selection">False</property>
<property name="hover_expand">False</property>
</widget>
</child>
</widget>
<packing>
<property name="shrink">True</property>
<property name="resize">True</property>
</packing>
</child>
</widget>
<packing>
<property name="shrink">False</property>
<property name="resize">False</property>
</packing>
</child>
<child>
<widget class="GtkHPaned" id="hpaned1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<child>
<widget class="GtkScrolledWindow" id="part_list_scroll_window">
<property name="width_request">250</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hscrollbar_policy">GTK_POLICY_ALWAYS</property>
<property name="vscrollbar_policy">GTK_POLICY_ALWAYS</property>
<property name="shadow_type">GTK_SHADOW_NONE</property>
<property name="window_placement">GTK_CORNER_TOP_LEFT</property>
<child>
<widget class="GtkTreeView" id="tree_Parts">
<property name="visible">True</property>
<property name="tooltip" translatable="yes">List of parts for the currently selected assembly in the system tree ...</property>
<property name="can_focus">True</property>
<property name="headers_visible">True</property>
<property name="rules_hint">False</property>
<property name="reorderable">True</property>
<property name="enable_search">True</property>
<property name="fixed_height_mode">False</property>
<property name="hover_selection">False</property>
<property name="hover_expand">False</property>
</widget>
</child>
</widget>
<packing>
<property name="shrink">False</property>
<property name="resize">False</property>
</packing>
</child>
<child>
<widget class="GtkNotebook" id="notebook_main">
<property name="visible">True</property>
<property name="show_tabs">True</property>
<property name="show_border">True</property>
<property name="tab_pos">GTK_POS_TOP</property>
<property name="scrollable">True</property>
<property name="enable_popup">True</property>
<child>
<widget class="GtkScrolledWindow" id="general_data_scroll_window">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hscrollbar_policy">GTK_POLICY_ALWAYS</property>
<property name="vscrollbar_policy">GTK_POLICY_ALWAYS</property>
<property name="shadow_type">GTK_SHADOW_NONE</property>
<property name="window_placement">GTK_CORNER_TOP_LEFT</property>
<child>
<widget class="GtkViewport" id="view_port_general_data">
<property name="visible">True</property>
<property name="shadow_type">GTK_SHADOW_IN</property>
<child>
<widget class="GtkFixed" id="fixed_general_data_container">
<property name="visible">True</property>
<child>
<widget class="GtkFrame" id="frame_model">
<property name="width_request">440</property>
<property name="height_request">330</property>
<property name="visible">True</property>
<property name="label_xalign">0</property>
<property name="label_yalign">0.5</property>
<property name="shadow_type">GTK_SHADOW_ETCHED_OUT</property>
<child>
<widget class="GtkAlignment" id="model_information_alignment">
<property name="visible">True</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xscale">1</property>
<property name="yscale">1</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
<property name="left_padding">12</property>
<property name="right_padding">0</property>
<child>
<widget class="GtkScrolledWindow" id="scrolledwindow12">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hscrollbar_policy">GTK_POLICY_ALWAYS</property>
<property name="vscrollbar_policy">GTK_POLICY_ALWAYS</property>
<property name="shadow_type">GTK_SHADOW_NONE</property>
<property name="window_placement">GTK_CORNER_TOP_LEFT</property>
<child>
<widget class="GtkLayout" id="model_layout">
<property name="visible">True</property>
<property name="width">400</property>
<property name="height">400</property>
<property name="hadjustment">0 0 406 10 365.4 406</property>
<property name="vadjustment">0 0 400 10 263.7 293</property>
<child>
<widget class="GtkLabel" id="label13">
<property name="width_request">190</property>
<property name="height_request">25</property>
<property name="visible">True</property>
<property name="label" translatable="yes">Hazard Rate Source:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">True</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="x">5</property>
<property name="y">5</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label12">
<property name="width_request">190</property>
<property name="height_request">25</property>
<property name="visible">True</property>
<property name="label" translatable="yes">Hazard Rate Model:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">True</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="x">5</property>
<property name="y">40</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label16">
<property name="width_request">190</property>
<property name="height_request">25</property>
<property name="visible">True</property>
<property name="label" translatable="yes">Hazard Rate:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">True</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="x">5</property>
<property name="y">75</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label14">
<property name="width_request">190</property>
<property name="height_request">25</property>
<property name="visible">True</property>
<property name="label" translatable="yes">MTTR Source:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">True</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="x">5</property>
<property name="y">105</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label18">
<property name="width_request">190</property>
<property name="height_request">25</property>
<property name="visible">True</property>
<property name="label" translatable="yes">MTTR:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">True</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="x">5</property>
<property name="y">140</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label15">
<property name="width_request">190</property>
<property name="height_request">25</property>
<property name="visible">True</property>
<property name="label" translatable="yes">Multiplicative Adjustment:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">True</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="x">5</property>
<property name="y">170</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label17">
<property name="width_request">190</property>
<property name="height_request">25</property>
<property name="visible">True</property>
<property name="label" translatable="yes">Additive Adjustment:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">True</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="x">5</property>
<property name="y">200</property>
</packing>
</child>
</widget>
</child>
</widget>
</child>
</widget>
</child>
<child>
<widget class="GtkLabel" id="label19">
<property name="visible">True</property>
<property name="label" translatable="yes"><b>Modeling Information</b></property>
<property name="use_underline">True</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="type">label_item</property>
</packing>
</child>
</widget>
<packing>
<property name="x">460</property>
<property name="y">10</property>
</packing>
</child>
<child>
<widget class="GtkFrame" id="frame_usage">
<property name="width_request">440</property>
<property name="height_request">330</property>
<property name="visible">True</property>
<property name="label_xalign">0</property>
<property name="label_yalign">0.5</property>
<property name="shadow_type">GTK_SHADOW_ETCHED_OUT</property>
<child>
<widget class="GtkAlignment" id="alignment19">
<property name="visible">True</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xscale">1</property>
<property name="yscale">1</property>
<property name="top_padding">0</property>
<property name="bottom_padding">0</property>
<property name="left_padding">12</property>
<property name="right_padding">0</property>
<child>
<widget class="GtkScrolledWindow" id="scrolledwindow11">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hscrollbar_policy">GTK_POLICY_ALWAYS</property>
<property name="vscrollbar_policy">GTK_POLICY_ALWAYS</property>
<property name="shadow_type">GTK_SHADOW_NONE</property>
<property name="window_placement">GTK_CORNER_TOP_LEFT</property>
<child>
<widget class="GtkLayout" id="usage_layout">
<property name="visible">True</property>
<property name="width">400</property>
<property name="height">400</property>
<property name="hadjustment">0 0 406 10 365.4 406</property>
<property name="vadjustment">0 0 400 10 263.7 293</property>
<child>
<widget class="GtkLabel" id="label1">
<property name="width_request">190</property>
<property name="height_request">25</property>
<property name="visible">True</property>
<property name="label" translatable="yes">Part Number:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">True</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="x">5</property>
<property name="y">5</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label2">
<property name="width_request">190</property>
<property name="height_request">25</property>
<property name="visible">True</property>
<property name="label" translatable="yes">Reference Designator:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">True</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="x">5</property>
<property name="y">35</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label3">
<property name="width_request">190</property>
<property name="height_request">25</property>
<property name="visible">True</property>
<property name="label" translatable="yes">Composite Ref. Des.:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">True</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="x">0</property>
<property name="y">65</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label4">
<property name="width_request">190</property>
<property name="height_request">25</property>
<property name="visible">True</property>
<property name="label" translatable="yes">Part Category:</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
<property name="wrap">True</property>
<property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
<property name="width_chars">-1</property>
<property name="single_line_mode">False</property>
<property name="angle">0</property>
</widget>
<packing>
<property name="x">0</property>
<property name="y">100</property>
</packing>
</child>
<child>
<widget class="GtkLabel" id="label5">
<property name="width_request">190</property>
<property name="height_request">25</property>
<property name="visible">True</property>
<property name="label" translatable="yes">Part Sub-Category:</property>
<property name="use_underline&q