[pybliographer/wip/gtk3: 25/42] medline: Port to gtk+3
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pybliographer/wip/gtk3: 25/42] medline: Port to gtk+3
- Date: Sat, 7 Oct 2017 01:19:47 +0000 (UTC)
commit 2066cee3d12d4c588082d43b9c12b091540624b7
Author: Germán Poo-Caamaño <gpoo gnome org>
Date: Sat Jul 27 00:23:18 2013 -0700
medline: Port to gtk+3
Regression: the search field does not store the previous searches as
an history.
Pyblio/GnomeUI/Medline.py | 221 +++++++-----
Pyblio/GnomeUI/glade/medline.glade | 712 ------------------------------------
Pyblio/GnomeUI/glade/medline.ui | 537 +++++++++++++++++++++++++++
3 files changed, 660 insertions(+), 810 deletions(-)
---
diff --git a/Pyblio/GnomeUI/Medline.py b/Pyblio/GnomeUI/Medline.py
index fdc79b4..f517f92 100644
--- a/Pyblio/GnomeUI/Medline.py
+++ b/Pyblio/GnomeUI/Medline.py
@@ -1,8 +1,9 @@
+# -*- coding: utf-8 -*-
# This file is part of pybliographer
#
-# Copyright (C) 1998-2004 Frederic GOBRY
-# Email : gobry pybliographer org
-#
+# Copyright (C) 1998-2004 Frederic GOBRY <gobry pybliographer org>
+# Copyright (C) 2013 Germán Poo-Caamaño <gpoo gnome org>
+#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
@@ -26,94 +27,120 @@ from Pyblio.GnomeUI import Utils
class MedlineUI (Utils.GladeWindow):
gladeinfo = { 'name': 'medline',
- 'file': 'medline.glade',
+ 'file': 'medline.ui',
'root': '_w_medline'
}
- def __init__ (self, parent = None):
-
- Utils.GladeWindow.__init__ (self, parent)
+ def __init__(self, parent=None):
+ Utils.GladeWindow.__init__(self, parent)
# Fill in the combo boxes
- self._w_field.set_popdown_strings (['All Fields', 'Affiliation',
- 'Author Name', 'EC/RN Number',
- 'Entrez Date', 'Filter',
- 'Issue', 'Journal Name',
- 'Language', 'MeSH Date',
- 'MeSH Major Topic',
- 'MeSH Subheading', 'MeSH Terms',
- 'Pagination', 'Publication Date',
- 'Publication Type', 'Secondary Source ID',
- 'Substance Name', 'Text Word',
- 'Title', 'Title/Abstract',
- 'UID', 'Volume'])
-
- self._w_pub_type.set_popdown_strings (['Publication Types', 'Addresses',
- 'Bibliography', 'Biography',
- 'Classical Article', 'Clinical Conference',
- 'Clinical Trial', 'Clinical Trial, Phase I',
- 'Clinical Trial, Phase II', 'Clinical Trial, Phase III',
- 'Clinical Trial, Phase IV', 'Comment',
- 'Congresses', 'Consensus Development Conference',
- 'Consensus Development Conference, NIH',
- 'Controlled Clinical Trial',
- 'Corrected and Republished Article', 'Dictionary',
- 'Directory', 'Duplicate Publication',
- 'Editorial', 'Evaluation Studies',
- 'Festschrift', 'Government Publications',
- 'Guideline', 'Historical Article',
- 'Interview', 'Journal Article', 'Lectures',
- 'Legal Cases', 'Legislation', 'Letter',
- 'Meta-Analysis', 'Multicenter Study', 'News',
- 'Newspaper Article', 'Overall', 'Periodical Index',
- 'Practice Guideline', 'Published Erratum',
- 'Randomized Controlled Trial', 'Retraction of Publication',
- 'Retracted Publication', 'Review', 'Review, Academic',
- 'Review Literature', 'Review, Multicase',
- 'Review of Reported Cases', 'Review, Tutorial',
- 'Scientific Integrity Review', 'Technical Report',
- 'Twin Study', 'Validation Studies'])
-
- self._w_language.set_popdown_strings (['Languages', 'English',
- 'French', 'German', 'Italian',
- 'Japanese', 'Russian', 'Spanish'])
-
- self._w_subset.set_popdown_strings (['Subsets', 'AIDS', 'AIDS/HIV journals',
- 'Bioethics', 'Bioethics journals',
- 'Biotechnology journals', 'Communication disorders journals',
- 'Complementary and Alternative Medicine',
- 'Consumer health journals', 'Core clinical journals',
- 'Dental journals', 'Health administration journals',
- 'Health tech assessment journals', 'History of Medicine',
- 'History of Medicine journals', 'In process',
- 'Index Medicus journals', 'MEDLINE', 'NASA journals',
- 'Nursing journals', 'PubMed Central', 'Reproduction journals',
- 'Space Life Sciences', 'Supplied by Publisher', 'Toxicology'])
-
- self._w_age.set_popdown_strings (['Ages', 'All Infant: birth-23 month',
- 'All Child: 0-18 years', 'All Adult: 19+ years',
- 'Newborn: birth-1 month', 'Infant: 1-23 months',
- 'Preschool Child: 2-5 years', 'Child: 6-12 years',
- 'Adolescent: 13-18 years', 'Adult: 19-44 years',
- 'Middle Aged: 45-64 years', 'Aged: 65+ years',
- '80 and over: 80+ years'])
-
- self._w_human.set_popdown_strings (['Human or Animal', 'Human', 'Animal'])
-
- self._w_gender.set_popdown_strings (['Gender', 'Female', 'Male'])
-
- self._w_entrez_date.set_popdown_strings (['Entrez Date', '30 Days', '60 Days',
- '90 Days', '180 Days', '1 Year', '2 Years',
- '5 Years', '10 Years'])
-
- self._w_pub_date.set_popdown_strings (['Publication Date', 'Entrez Date'])
+ field_items = [ 'All Fields', 'Affiliation',
+ 'Author Name', 'EC/RN Number',
+ 'Entrez Date', 'Filter',
+ 'Issue', 'Journal Name',
+ 'Language', 'MeSH Date',
+ 'MeSH Major Topic',
+ 'MeSH Subheading', 'MeSH Terms',
+ 'Pagination', 'Publication Date',
+ 'Publication Type', 'Secondary Source ID',
+ 'Substance Name', 'Text Word',
+ 'Title', 'Title/Abstract',
+ 'UID', 'Volume' ]
+ for item in field_items:
+ self._w_field.append_text(item)
+ self._w_field.set_active(0)
+
+ pub_type_items = [ 'Publication Types', 'Addresses',
+ 'Bibliography', 'Biography',
+ 'Classical Article', 'Clinical Conference',
+ 'Clinical Trial', 'Clinical Trial, Phase I',
+ 'Clinical Trial, Phase II', 'Clinical Trial, Phase III',
+ 'Clinical Trial, Phase IV', 'Comment',
+ 'Congresses', 'Consensus Development Conference',
+ 'Consensus Development Conference, NIH',
+ 'Controlled Clinical Trial',
+ 'Corrected and Republished Article', 'Dictionary',
+ 'Directory', 'Duplicate Publication',
+ 'Editorial', 'Evaluation Studies',
+ 'Festschrift', 'Government Publications',
+ 'Guideline', 'Historical Article',
+ 'Interview', 'Journal Article', 'Lectures',
+ 'Legal Cases', 'Legislation', 'Letter',
+ 'Meta-Analysis', 'Multicenter Study', 'News',
+ 'Newspaper Article', 'Overall', 'Periodical Index',
+ 'Practice Guideline', 'Published Erratum',
+ 'Randomized Controlled Trial', 'Retraction of Publication',
+ 'Retracted Publication', 'Review', 'Review, Academic',
+ 'Review Literature', 'Review, Multicase',
+ 'Review of Reported Cases', 'Review, Tutorial',
+ 'Scientific Integrity Review', 'Technical Report',
+ 'Twin Study', 'Validation Studies']
+ for item in pub_type_items:
+ self._w_pub_type.append_text(item)
+ self._w_pub_type.set_active(0)
+
+
+ language_items = [ 'Languages', 'English',
+ 'French', 'German', 'Italian',
+ 'Japanese', 'Russian', 'Spanish']
+ for item in language_items:
+ self._w_language.append_text(item)
+ self._w_language.set_active(0)
+
+ subset_items = [ 'Subsets', 'AIDS', 'AIDS/HIV journals',
+ 'Bioethics', 'Bioethics journals',
+ 'Biotechnology journals', 'Communication disorders journals',
+ 'Complementary and Alternative Medicine',
+ 'Consumer health journals', 'Core clinical journals',
+ 'Dental journals', 'Health administration journals',
+ 'Health tech assessment journals', 'History of Medicine',
+ 'History of Medicine journals', 'In process',
+ 'Index Medicus journals', 'MEDLINE', 'NASA journals',
+ 'Nursing journals', 'PubMed Central', 'Reproduction journals',
+ 'Space Life Sciences', 'Supplied by Publisher', 'Toxicology']
+ for item in subset_items:
+ self._w_subset.append_text(item)
+ self._w_subset.set_active(0)
+
+ age_items = [ 'Ages', 'All Infant: birth-23 month',
+ 'All Child: 0-18 years', 'All Adult: 19+ years',
+ 'Newborn: birth-1 month', 'Infant: 1-23 months',
+ 'Preschool Child: 2-5 years', 'Child: 6-12 years',
+ 'Adolescent: 13-18 years', 'Adult: 19-44 years',
+ 'Middle Aged: 45-64 years', 'Aged: 65+ years',
+ '80 and over: 80+ years']
+ for item in age_items:
+ self._w_age.append_text(item)
+ self._w_age.set_active(0)
+
+ human_items = ['Human or Animal', 'Human', 'Animal']
+ for item in human_items:
+ self._w_human.append_text(item)
+ self._w_human.set_active(0)
+
+ gender_items = ['Gender', 'Female', 'Male']
+ for item in gender_items:
+ self._w_gender.append_text(item)
+ self._w_gender.set_active(0)
+
+ entrez_date_items = [ 'Entrez Date', '30 Days', '60 Days',
+ '90 Days', '180 Days', '1 Year', '2 Years',
+ '5 Years', '10 Years']
+ for item in entrez_date_items:
+ self._w_entrez_date.append_text(item)
+ self._w_entrez_date.set_active(0)
+
+ pub_date_items = ['Publication Date', 'Entrez Date']
+ for item in pub_date_items:
+ self._w_pub_date.append_text(item)
+ self._w_pub_date.set_active(0)
self._w_medline.show ()
return
def run (self):
-
ret = self._w_medline.run ()
if ret != Gtk.ResponseType.OK:
@@ -121,25 +148,23 @@ class MedlineUI (Utils.GladeWindow):
return None
data = (
- self._w_keyword.entry.get_text (),
- self._w_max_results.get_value_as_int (),
- self._w_start_results.get_value_as_int (),
- self._w_field.entry.get_text (),
- self._w_abstracts.get_active (),
- self._w_ahead.get_active (),
- self._w_pub_type.entry.get_text (),
- self._w_language.entry.get_text (),
- self._w_subset.entry.get_text (),
- self._w_age.entry.get_text (),
- self._w_human.entry.get_text (),
- self._w_gender.entry.get_text (),
- self._w_entrez_date.entry.get_text (),
- self._w_pub_date.entry.get_text (),
- self._w_from_date.get_text (),
- self._w_to_date.get_text ()
+ self._w_keyword.get_text(),
+ self._w_max_results.get_value_as_int(),
+ self._w_start_results.get_value_as_int(),
+ self._w_field.get_active_text(),
+ self._w_abstracts.get_active(),
+ self._w_ahead.get_active(),
+ self._w_pub_type.get_active_text(),
+ self._w_language.get_active_text(),
+ self._w_subset.get_active_text(),
+ self._w_age.get_active_text(),
+ self._w_human.get_active_text(),
+ self._w_gender.get_active_text(),
+ self._w_entrez_date.get_active_text(),
+ self._w_pub_date.get_active_text(),
+ self._w_from_date.get_text(),
+ self._w_to_date.get_text()
)
-
- self._w_keyword.append_history (True, data [0])
self._w_medline.destroy ()
diff --git a/Pyblio/GnomeUI/glade/medline.ui b/Pyblio/GnomeUI/glade/medline.ui
new file mode 100644
index 0000000..d3f3d12
--- /dev/null
+++ b/Pyblio/GnomeUI/glade/medline.ui
@@ -0,0 +1,537 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <!-- interface-requires gtk+ 3.0 -->
+ <object class="GtkAdjustment" id="adjustment1">
+ <property name="lower">1</property>
+ <property name="upper">1000</property>
+ <property name="value">100</property>
+ <property name="step_increment">1</property>
+ <property name="page_increment">10</property>
+ </object>
+ <object class="GtkAdjustment" id="adjustment2">
+ <property name="upper">100</property>
+ <property name="value">1</property>
+ <property name="step_increment">1</property>
+ <property name="page_increment">10</property>
+ </object>
+ <object class="GtkDialog" id="_w_medline">
+ <property name="can_focus">False</property>
+ <property name="title" translatable="yes">Medline Query</property>
+ <property name="type_hint">normal</property>
+ <child internal-child="vbox">
+ <object class="GtkBox" id="dialog-vbox1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
+ <child internal-child="action_area">
+ <object class="GtkButtonBox" id="dialog-action_area1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="layout_style">end</property>
+ <child>
+ <object class="GtkButton" id="cancelbutton1">
+ <property name="label">gtk-cancel</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="okbutton1">
+ <property name="label">gtk-ok</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="has_default">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_stock">True</property>
+ <accelerator key="Return" signal="clicked"/>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="pack_type">end</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkVBox" id="vbox1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkLabel" id="label5">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Enter your Medline Query</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">10</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="hbox1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Search
+PubMed for:</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">6</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="_w_keyword">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="invisible_char">●</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Maximum number
+of results:</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkSpinButton" id="_w_max_results">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="adjustment">adjustment1</property>
+ <property name="climb_rate">1</property>
+ <property name="wrap">True</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">3</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label3">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Starting listing at
+result number:</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">4</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkSpinButton" id="_w_start_results">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="adjustment">adjustment2</property>
+ <property name="climb_rate">1</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="padding">6</property>
+ <property name="position">5</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="padding">6</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkFrame" id="frame1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">etched-out</property>
+ <child>
+ <object class="GtkVBox" id="vbox2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="border_width">5</property>
+ <property name="spacing">5</property>
+ <child>
+ <object class="GtkHBox" id="hbox2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="spacing">5</property>
+ <child>
+ <object class="GtkComboBoxText" id="_w_field">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="valign">center</property>
+ <property name="has_entry">True</property>
+ <property name="entry_text_column">0</property>
+ <property name="id_column">1</property>
+ <child internal-child="entry">
+ <object class="GtkEntry" id="comboboxtext-entry">
+ <property name="can_focus">False</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="_w_abstracts">
+ <property name="label" translatable="yes">Only items
+with abstracts</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="xalign">0.5</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="_w_ahead">
+ <property name="label" translatable="yes">Only items
+ahead of print</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_underline">True</property>
+ <property name="xalign">0.5</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkTable" id="table1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="n_rows">2</property>
+ <property name="n_columns">3</property>
+ <property name="column_spacing">5</property>
+ <property name="row_spacing">5</property>
+ <child>
+ <object class="GtkComboBoxText" id="_w_subset">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="has_entry">True</property>
+ <property name="entry_text_column">0</property>
+ <property name="id_column">1</property>
+ <child internal-child="entry">
+ <object class="GtkEntry" id="comboboxtext-entry5">
+ <property name="can_focus">True</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="right_attach">3</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBoxText" id="_w_language">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="has_entry">True</property>
+ <property name="entry_text_column">0</property>
+ <property name="id_column">1</property>
+ <child internal-child="entry">
+ <object class="GtkEntry" id="comboboxtext-entry6">
+ <property name="can_focus">True</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBoxText" id="_w_pub_type">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="has_entry">True</property>
+ <property name="entry_text_column">0</property>
+ <property name="id_column">1</property>
+ <child internal-child="entry">
+ <object class="GtkEntry" id="comboboxtext-entry7">
+ <property name="can_focus">True</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkComboBoxText" id="_w_age">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="has_entry">True</property>
+ <property name="entry_text_column">0</property>
+ <property name="id_column">1</property>
+ <child internal-child="entry">
+ <object class="GtkEntry" id="comboboxtext-entry12">
+ <property name="can_focus">True</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBoxText" id="_w_human">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="has_entry">True</property>
+ <property name="entry_text_column">0</property>
+ <property name="id_column">1</property>
+ <child internal-child="entry">
+ <object class="GtkEntry" id="comboboxtext-entry13">
+ <property name="can_focus">True</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBoxText" id="_w_gender">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="has_entry">True</property>
+ <property name="entry_text_column">0</property>
+ <property name="id_column">1</property>
+ <child internal-child="entry">
+ <object class="GtkEntry" id="comboboxtext-entry19">
+ <property name="can_focus">True</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="right_attach">3</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBoxText" id="_w_entrez_date">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="has_entry">True</property>
+ <property name="entry_text_column">0</property>
+ <property name="id_column">1</property>
+ <child internal-child="entry">
+ <object class="GtkEntry" id="comboboxtext-entry11">
+ <property name="can_focus">False</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkHBox" id="hbox3">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="spacing">5</property>
+ <child>
+ <object class="GtkComboBoxText" id="_w_pub_date">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="has_entry">True</property>
+ <property name="entry_text_column">0</property>
+ <property name="id_column">1</property>
+ <child internal-child="entry">
+ <object class="GtkEntry" id="comboboxtext-entry14">
+ <property name="can_focus">True</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label7">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">From:</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="_w_from_date">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label8">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">To:</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">3</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="_w_to_date">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">4</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">4</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label6">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Use the format YYYY/MM/DD
+Month and day are optional.</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">4</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <child type="label">
+ <object class="GtkLabel" id="label4">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Limited to:</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="padding">6</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="padding">6</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <action-widgets>
+ <action-widget response="-6">cancelbutton1</action-widget>
+ <action-widget response="-5">okbutton1</action-widget>
+ </action-widgets>
+ </object>
+</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]