11dd72bb27
* src/PeopleModel.py: add cause of death field * src/PeopleView.py: add cause of death field * src/gramps.glade: add scratchpad button * src/gramps_main.py: add scratchpad button press callback * src/plugins/ScratchPad.py: call alternate dialog * src/plugins/scratchpad.glade: provide alternate dialog based on gtk.Dialog that implements the help button. svn: r4213
245 lines
10 KiB
XML
245 lines
10 KiB
XML
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
|
|
<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
|
|
|
|
<glade-interface>
|
|
<requires lib="gnome"/>
|
|
|
|
<widget class="GtkWindow" id="scratchPad">
|
|
<property name="visible">True</property>
|
|
<property name="title" translatable="yes">Scratch Pad</property>
|
|
<property name="type">GTK_WINDOW_TOPLEVEL</property>
|
|
<property name="window_position">GTK_WIN_POS_NONE</property>
|
|
<property name="modal">False</property>
|
|
<property name="default_width">400</property>
|
|
<property name="default_height">200</property>
|
|
<property name="resizable">True</property>
|
|
<property name="destroy_with_parent">False</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>
|
|
<signal name="delete_event" handler="on_scratchPad_delete_event" object="ScratchPad" last_modification_time="Fri, 11 Mar 2005 11:35:07 GMT"/>
|
|
|
|
<child>
|
|
<widget class="GtkVBox" id="vbx_scratchpad">
|
|
<property name="visible">True</property>
|
|
<property name="homogeneous">False</property>
|
|
<property name="spacing">0</property>
|
|
|
|
<child>
|
|
<widget class="GtkScrolledWindow" id="scrolledwindow85">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
|
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
|
<property name="shadow_type">GTK_SHADOW_IN</property>
|
|
<property name="window_placement">GTK_CORNER_TOP_LEFT</property>
|
|
|
|
<child>
|
|
<widget class="GtkTreeView" id="objectlist">
|
|
<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>
|
|
<signal name="delete_event" handler="on_objectlist_delete_event" object="ScratchPad" last_modification_time="Wed, 09 Mar 2005 13:48:09 GMT"/>
|
|
</widget>
|
|
</child>
|
|
</widget>
|
|
<packing>
|
|
<property name="padding">0</property>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
</packing>
|
|
</child>
|
|
|
|
<child>
|
|
<widget class="GtkHButtonBox" id="hbuttonbox37">
|
|
<property name="visible">True</property>
|
|
<property name="layout_style">GTK_BUTTONBOX_END</property>
|
|
<property name="spacing">0</property>
|
|
|
|
<child>
|
|
<widget class="GtkButton" id="btn_clear_all">
|
|
<property name="visible">True</property>
|
|
<property name="can_default">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="label" translatable="yes">Clear_All</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="relief">GTK_RELIEF_NORMAL</property>
|
|
<property name="focus_on_click">True</property>
|
|
<signal name="clicked" handler="on_clear_all_clicked" object="ScratchPad" last_modification_time="Tue, 08 Mar 2005 15:26:49 GMT"/>
|
|
</widget>
|
|
</child>
|
|
|
|
<child>
|
|
<widget class="GtkButton" id="btn_clear">
|
|
<property name="visible">True</property>
|
|
<property name="can_default">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="label" translatable="yes">C_lear</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="relief">GTK_RELIEF_NORMAL</property>
|
|
<property name="focus_on_click">True</property>
|
|
<signal name="clicked" handler="on_clear_clicked" object="ScratchPad" last_modification_time="Tue, 08 Mar 2005 15:26:40 GMT"/>
|
|
</widget>
|
|
</child>
|
|
|
|
<child>
|
|
<widget class="GtkButton" id="btn_close">
|
|
<property name="visible">True</property>
|
|
<property name="can_default">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="label">gtk-close</property>
|
|
<property name="use_stock">True</property>
|
|
<property name="relief">GTK_RELIEF_NORMAL</property>
|
|
<property name="focus_on_click">True</property>
|
|
<signal name="clicked" handler="on_close_scratchpad" object="ScratchPad" last_modification_time="Tue, 08 Mar 2005 15:26:57 GMT"/>
|
|
</widget>
|
|
</child>
|
|
</widget>
|
|
<packing>
|
|
<property name="padding">3</property>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
</packing>
|
|
</child>
|
|
</widget>
|
|
</child>
|
|
</widget>
|
|
|
|
<widget class="GtkDialog" id="scratch_pad">
|
|
<property name="visible">True</property>
|
|
<property name="title" translatable="yes">Scratch Pad</property>
|
|
<property name="type">GTK_WINDOW_TOPLEVEL</property>
|
|
<property name="window_position">GTK_WIN_POS_NONE</property>
|
|
<property name="modal">False</property>
|
|
<property name="default_width">500</property>
|
|
<property name="default_height">300</property>
|
|
<property name="resizable">True</property>
|
|
<property name="destroy_with_parent">False</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_DIALOG</property>
|
|
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
|
|
<property name="focus_on_map">True</property>
|
|
<property name="has_separator">True</property>
|
|
|
|
<child internal-child="vbox">
|
|
<widget class="GtkVBox" id="dialog-vbox1">
|
|
<property name="visible">True</property>
|
|
<property name="homogeneous">False</property>
|
|
<property name="spacing">0</property>
|
|
|
|
<child internal-child="action_area">
|
|
<widget class="GtkHButtonBox" id="dialog-action_area1">
|
|
<property name="visible">True</property>
|
|
<property name="layout_style">GTK_BUTTONBOX_END</property>
|
|
|
|
<child>
|
|
<widget class="GtkButton" id="helpbutton1">
|
|
<property name="visible">True</property>
|
|
<property name="sensitive">False</property>
|
|
<property name="can_default">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="label">gtk-help</property>
|
|
<property name="use_stock">True</property>
|
|
<property name="relief">GTK_RELIEF_NORMAL</property>
|
|
<property name="focus_on_click">True</property>
|
|
<property name="response_id">-11</property>
|
|
<signal name="clicked" handler="on_help_clicked" last_modification_time="Sat, 19 Mar 2005 22:47:16 GMT"/>
|
|
</widget>
|
|
</child>
|
|
|
|
<child>
|
|
<widget class="GtkButton" id="btn_clear_all">
|
|
<property name="visible">True</property>
|
|
<property name="can_default">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="label" translatable="yes">Clear _All</property>
|
|
<property name="use_underline">True</property>
|
|
<property name="relief">GTK_RELIEF_NORMAL</property>
|
|
<property name="focus_on_click">True</property>
|
|
<property name="response_id">0</property>
|
|
<signal name="clicked" handler="on_clear_all_clicked" last_modification_time="Sat, 19 Mar 2005 22:46:57 GMT"/>
|
|
</widget>
|
|
</child>
|
|
|
|
<child>
|
|
<widget class="GtkButton" id="btn_clear">
|
|
<property name="visible">True</property>
|
|
<property name="can_default">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="label">gtk-clear</property>
|
|
<property name="use_stock">True</property>
|
|
<property name="relief">GTK_RELIEF_NORMAL</property>
|
|
<property name="focus_on_click">True</property>
|
|
<property name="response_id">0</property>
|
|
<signal name="clicked" handler="on_clear_clicked" last_modification_time="Sat, 19 Mar 2005 22:46:29 GMT"/>
|
|
</widget>
|
|
</child>
|
|
|
|
<child>
|
|
<widget class="GtkButton" id="btn_close">
|
|
<property name="visible">True</property>
|
|
<property name="can_default">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="label">gtk-close</property>
|
|
<property name="use_stock">True</property>
|
|
<property name="relief">GTK_RELIEF_NORMAL</property>
|
|
<property name="focus_on_click">True</property>
|
|
<property name="response_id">-7</property>
|
|
<signal name="clicked" handler="on_close_scratchpad" last_modification_time="Sat, 19 Mar 2005 22:42:52 GMT"/>
|
|
</widget>
|
|
</child>
|
|
</widget>
|
|
<packing>
|
|
<property name="padding">0</property>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="pack_type">GTK_PACK_END</property>
|
|
</packing>
|
|
</child>
|
|
|
|
<child>
|
|
<widget class="GtkScrolledWindow" id="scrolledwindow86">
|
|
<property name="visible">True</property>
|
|
<property name="can_focus">True</property>
|
|
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
|
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
|
<property name="shadow_type">GTK_SHADOW_IN</property>
|
|
<property name="window_placement">GTK_CORNER_TOP_LEFT</property>
|
|
|
|
<child>
|
|
<widget class="GtkTreeView" id="objectlist">
|
|
<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="padding">0</property>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
</packing>
|
|
</child>
|
|
</widget>
|
|
</child>
|
|
</widget>
|
|
|
|
</glade-interface>
|