<glade-catalog name="gnome"
               library="gladegnome"
	       supports="libglade"
               depends="gtk+"
               domain="glade3"
               book="libgnomeui">
  <init-function>glade_gnomeui_init</init-function>
  <glade-widget-classes>
    <glade-widget-class name="GnomeApp" generic-name="app" _title="GNOME App" default-width="440" default-height="250">
      <post-create-function>glade_gnome_app_post_create</post-create-function>
      <get-internal-child-function>glade_gnome_app_get_internal_child</get-internal-child-function>
      <get-children-function>glade_gnome_app_get_children</get-children-function>
      <child-set-property-function>glade_gnome_app_set_child_property</child-set-property-function>
      <child-get-property-function>glade_gnome_app_get_child_property</child-get-property-function>
      <set-property-function>glade_gnome_app_set_property</set-property-function>

      <properties>
         <property id="has-statusbar" _name="StatusBar" save="False">
	   <tooltip>If the window has a statusbar</tooltip>
	   <spec>glade_standard_boolean_spec</spec>
	 </property>
         <property id="enable-layout-config" _name="Store Config">
	   <tooltip>If the layout is saved and restored automatically</tooltip>
	   <spec>glade_standard_boolean_spec</spec>
	 </property>
      </properties>
      <packing-properties>
        <property id="position" _name="Position">
          <spec>glade_standard_int_spec</spec>
	</property>
        <property id="padding" _name="Padding">
	  <spec>glade_standard_int_spec</spec>
	</property>
        <property id="expand" _name="Expand">
	  <spec>glade_standard_boolean_spec</spec>
	</property>
        <property id="fill" _name="Fill">
	  <spec>glade_standard_boolean_spec</spec>
	</property>
        <property id="pack-type">
	  <spec>glade_gnome_gtk_pack_type_spec</spec>
	</property>
      </packing-properties>
    </glade-widget-class>

    <glade-widget-class name="GnomeDruid" generic-name="druid" _title="GNOME Druid">
      <post-create-function>glade_gnome_druid_post_create</post-create-function>
      <add-child-function>glade_gnome_druid_add_child</add-child-function>
      <remove-child-function>glade_gnome_druid_remove_child</remove-child-function>
      <child-set-property-function>glade_gnome_druid_set_child_property</child-set-property-function>
      <child-get-property-function>glade_gnome_druid_get_child_property</child-get-property-function>

      <packing-properties>
        <property id="position" _name="Position" default="-1" save="False">
	  <spec>glade_standard_int_spec</spec>
	</property>
      </packing-properties>
    </glade-widget-class>

    <glade-widget-class name="GnomeDruidPageEdge" generic-name="druidpageedge" _title="GNOME Druid Page Edge">
      <set-property-function>glade_gnome_dpe_set_property</set-property-function>
      <properties>
	<property id="position" _name="Position">
	  <spec>glade_gnome_dpe_position_spec</spec>
	  <_tooltip>Used to pass around information about the position of a GnomeDruidPage within the overall GnomeDruid. This enables the correct "surrounding" content for the page to be drawn</_tooltip>
          <displayable-values>
            <value id="GNOME_EDGE_START" _name="Start"/>
            <value id="GNOME_EDGE_FINISH" _name="End"/>
            <value id="GNOME_EDGE_OTHER" _name="Other"/>
          </displayable-values>
	</property>
	<property id="title" _name="Title" translatable="True">
	  <spec>glade_standard_string_spec</spec>
          <visible-lines>2</visible-lines>
	</property>
	<property id="text" _name="Text" translatable="True">
	  <spec>glade_standard_string_spec</spec>
          <visible-lines>4</visible-lines>
	</property>
	<property id="title-foreground" _name="Title Foreground Color" default="#FFFFFF">
	  <spec>glade_standard_gdkcolor_spec</spec>
	</property>
	<property id="text-foreground" _name="Text Foreground Color" default="#000000">
	  <spec>glade_standard_gdkcolor_spec</spec>
	</property>
	<property id="background" _name="Background Color" default="#4B6983">
	  <spec>glade_standard_gdkcolor_spec</spec>
	</property>
	<property id="contents-background" _name="Contents Background Color" default="#DCDAD5">
	  <spec>glade_standard_gdkcolor_spec</spec>
	</property>	
	<property id="logo-background" _name="Logo Background Color" default="#4B6983">
	  <spec>glade_standard_gdkcolor_spec</spec>
	</property>
	<property id="logo" _name="Logo">
	  <spec>glade_standard_pixbuf_spec</spec>
	</property>
	<property id="watermark" _name="Watermark">
	  <spec>glade_standard_pixbuf_spec</spec>
	</property>
	<property id="top-watermark" _name="Top Watermark">
	  <spec>glade_standard_pixbuf_spec</spec>
	</property>
      </properties>
    </glade-widget-class>
    
    <glade-widget-class name="GnomeDruidPageStandard" generic-name="druidpagestandard" _title="GNOME Druid Page Standard">
      <post-create-function>glade_gnome_dps_post_create</post-create-function>
      <get-internal-child-function>glade_gnome_dps_get_internal_child</get-internal-child-function>
      <get-children-function>glade_gnome_dps_get_children</get-children-function>
      <set-property-function>glade_gnome_dps_set_property</set-property-function>

      <properties>
	<property id="title" translatable="True">
          <visible-lines>2</visible-lines>
	</property>

        <property id="background-set" disabled="True"/>
	<property id="background" visible="False" save="False" default="#4B6983"/>
	<property id="contents-background-set" disabled="True"/>
	<property id="contents-background" visible="False" save="False" default="#DCDAD5"/>
	<property id="logo-background-set" disabled="True"/>
	<property id="logo-background" visible="False" save="False" default="#4B6983"/>
	<property id="title-foreground-set" disabled="True"/>
	<property id="title-foreground" visible="False" save="False" default="#FFFFFF"/>
      </properties>
    </glade-widget-class>


    <glade-widget-class name="GnomeIconSelection" generic-name="iconselection" _title="GNOME Icon Selection">
      <properties>
        <property id="size" visible="False" query="False" ignore="True"/>
      </properties>
    </glade-widget-class>
    <glade-widget-class name="GnomeIconEntry" generic-name="iconentry" _title="GNOME Icon Entry">
      <set-property-function>glade_gnome_icon_entry_set_property</set-property-function>
      <properties>
        <property id="max-saved" _name="Max Saved">
	  <spec>glade_standard_uint_spec</spec>
	  <tooltip>The maximum number of history entries saved.</tooltip>
	</property>
        <property id="size" visible="False" query="False" ignore="True"/>
      </properties>
    </glade-widget-class>

    <glade-widget-class name="GnomeHRef" generic-name="href" _title="GNOME HRef"/>

    <glade-widget-class name="GnomeDateEdit" generic-name="dateedit" _title="GNOME Date Edit">
      <post-create-function>glade_gnome_date_edit_post_create</post-create-function>
      <properties>
        <property id="time" disabled="True"/>
        <property id="size" visible="False" query="False" ignore="True"/>
        <property id="dateedit-flags">
          <displayable-values>
            <value id="GNOME_DATE_EDIT_SHOW_TIME" _name="Show Time"/>
            <value id="GNOME_DATE_EDIT_24_HR" _name="24-Hour Format"/>
	    <value id="GNOME_DATE_EDIT_WEEK_STARTS_ON_MONDAY" _name="Monday First"/>
	    <value id="GNOME_DATE_EDIT_DISPLAY_SECONDS" _name="Display Seconds"/>
          </displayable-values>
	</property>
      </properties>
    </glade-widget-class>

    <glade-widget-class name="GnomeAppBar" generic-name="appbar" _title="GNOME App Bar">
      <post-create-function>glade_gnome_app_bar_post_create</post-create-function>
      <properties>
        <property id="has-progress" default="True" ignore="True"/>
	<property id="has-status" default="True" ignore="True"/>
        <property id="size" visible="False" query="False" ignore="True"/>
	<property id="interactivity">
          <displayable-values>
            <value id="GNOME_PREFERENCES_NEVER" _name="Never"/>
            <value id="GNOME_PREFERENCES_USER" _name="User"/>
	    <value id="GNOME_PREFERENCES_ALWAYS" _name="Always"/>
          </displayable-values>
	</property>
      </properties>
    </glade-widget-class>
    
    <!-- Deprecated Widget Classes :) -->
    <glade-widget-class name="GnomeDialog" generic-name="dialog" _title="GNOME Dialog">
      <post-create-function>glade_gnome_dialog_post_create</post-create-function>
      <get-internal-child-function>glade_gnome_dialog_get_internal_child</get-internal-child-function>
      <get-children-function>glade_gnome_dialog_get_children</get-children-function>
    </glade-widget-class>

    <glade-widget-class name="GnomeAbout" generic-name="about" _title="GNOME About">
      <post-create-function>glade_gnome_about_dialog_post_create</post-create-function> 
      <set-property-function>glade_gnome_about_dialog_set_property</set-property-function>
      <properties>
        <property id="name" _name="Program Name"/>
        <property id="version" _name="Program Version"/>
        <property id="comments" translatable="True">
          <visible-lines>4</visible-lines>
        </property>
        <property id="copyright" translatable="True">
          <visible-lines>4</visible-lines>
        </property>
        <property id="translator-credits" translatable="True">
          <visible-lines>4</visible-lines>
        </property>
      </properties>
    </glade-widget-class>
    
    <glade-widget-class name="GnomeMessageBox" generic-name="messagebox" _title="GNOME Message Box">
      <set-property-function>glade_gnome_message_box_set_property</set-property-function>
      <properties>
        <property id="message-box-type">
	  <spec>glade_gnome_message_box_type_spec</spec>
          <displayable-values>
            <value id="GNOME_MESSAGE_BOX_INFO" _name="Information"/>
	    <value id="GNOME_MESSAGE_BOX_WARNING" _name="Warning"/>
	    <value id="GNOME_MESSAGE_BOX_ERROR" _name="Error"/>
	    <value id="GNOME_MESSAGE_BOX_QUESTION" _name="Question"/>
	    <value id="GNOME_MESSAGE_BOX_GENERIC" _name="Generic"/>
          </displayable-values>
	</property>
        <property id="message" _name="Message">
	  <spec>glade_standard_string_spec</spec>
	  <tooltip>The message to display</tooltip>
	</property>
      </properties>
    </glade-widget-class>
    <glade-widget-class name="GnomePropertyBox" generic-name="propertybox" _title="GNOME Property Box"/>

    <glade-widget-class name="GnomeEntry" generic-name="entry" title="GNOME Entry">
      <post-create-function>glade_gnome_entry_post_create</post-create-function>
      <get-internal-child-function>glade_gnome_entry_get_internal_child</get-internal-child-function>
      <get-children-function>glade_gnome_entry_get_children</get-children-function>
      <set-property-function>glade_gnome_entry_set_property</set-property-function>
      <properties>
        <property id="gtk-entry" disabled="True"/>
	<property id="max-saved" _name="Max Saved">
	  <spec>glade_standard_int_spec</spec>
	  <_tooltip>The maximum number of history entries saved</_tooltip>
	</property>
        <property id="size" visible="False" query="False" ignore="True"/>
      </properties>

      <packing-properties>
        <property id="expand" disabled="True"/>
        <property id="fill" disabled="True"/>
        <property id="pack-type" disabled="True"/>
        <property id="padding" disabled="True"/>
        <property id="position" disabled="True"/>
      </packing-properties>
    </glade-widget-class>
    
    <glade-widget-class name="GnomeFileEntry" generic-name="fileentry" _title="GNOME File Entry">
      <post-create-function>glade_gnome_entry_post_create</post-create-function>
      <get-internal-child-function>glade_gnome_entry_get_internal_child</get-internal-child-function>
      <get-children-function>glade_gnome_entry_get_children</get-children-function>
      <set-property-function>glade_gnome_file_entry_set_property</set-property-function>
      <properties>
	<property id="max-saved" _name="Max Saved">
	  <spec>glade_standard_int_spec</spec>
	  <_tooltip>The maximum number of history entries saved</_tooltip>
	</property>
        <property id="size" visible="False" query="False" ignore="True"/>
      </properties>
      <packing-properties>
        <property id="expand" disabled="True"/>
        <property id="fill" disabled="True"/>
        <property id="pack-type" disabled="True"/>
        <property id="padding" disabled="True"/>
        <property id="position" disabled="True"/>
      </packing-properties>
    </glade-widget-class>

    <glade-widget-class name="GnomePixmapEntry" generic-name="pixmapentry" _title="GNOME Pixmap Entry">
      <packing-properties>
        <property id="expand" disabled="True"/>
        <property id="fill" disabled="True"/>
        <property id="pack-type" disabled="True"/>
        <property id="padding" disabled="True"/>
        <property id="position" disabled="True"/>
      </packing-properties>
    </glade-widget-class>
    
    <glade-widget-class name="GnomeColorPicker" generic-name="colorpicker" _title="GNOME Color Picker">
      <post-create-function>empty</post-create-function>
        <properties>
	  <property id="use-underline" disabled="True"/>
	  <property id="label" disabled="True"/>
	  <property id="glade-type" disabled="True"/>
          <property id="stock" disabled="True"/>
	  <property id="red" disabled="True"/>
	  <property id="green" disabled="True"/>
	  <property id="blue" disabled="True"/>
	  <property id="alpha" disabled="True"/>
	  <property id="dither" _name="Dither"/>
	  <property id="use-alpha" _name="Use Alpha"/>
	  <property id="title" _name="Title"/>
        </properties>
    </glade-widget-class>

    <glade-widget-class name="GnomeFontPicker" generic-name="fontpicker" _title="GNOME Font Picker">
      <post-create-function>empty</post-create-function>
      <get-children-function>glade_gnome_font_picker_get_children</get-children-function>
      <add-child-function>glade_gnome_font_picker_add_child</add-child-function>
      <remove-child-function>glade_gnome_font_picker_remove_child</remove-child-function>
      <replace-child-function>glade_gnome_font_picker_replace_child</replace-child-function>
      <set-property-function>glade_gnome_font_picker_set_property</set-property-function>

      <properties>
        <property id="use-underline" disabled="True"/>
        <property id="label" disabled="True"/>
        <property id="glade-type" disabled="True"/>
	<property id="stock" disabled="True"/>
        <property id="font-name" disabled="True"/>
        <property id="mode">
	  <displayable-values>
	    <value id="GNOME_FONT_PICKER_MODE_PIXMAP" _name="Pixmap"/>
	    <value id="GNOME_FONT_PICKER_MODE_FONT_INFO" _name="Font Information"/>
	    <value id="GNOME_FONT_PICKER_MODE_USER_WIDGET" _name="User Widget"/>
	    <value id="GNOME_FONT_PICKER_MODE_UNKNOWN" _name="Unknown"/>
	  </displayable-values>
        </property>
      </properties>
    </glade-widget-class>

    <glade-widget-class name="GnomePixmap" generic-name="pixmap" _title="GNOME Pixmap">
      <post-create-function>empty</post-create-function>
      <set-property-function>glade_gnome_pixmap_set_property</set-property-function>
      <properties>
        <property id="stock" disabled="True"/>
        <property id="icon-name" disabled="True"/>
        <property id="glade-stock" disabled="True"/>
        <property id="glade-type" disabled="True"/>
        <property id="pixbuf" disabled="True"/>
        <property id="icon-size" disabled="True"/>
        <property id="pixel-size" disabled="True"/>
	<property id="filename" _name="File">
	  <spec>glade_standard_pixbuf_spec</spec>
	  <_tooltip>The pixmap file</_tooltip>
	</property>
	<property id="scaled-width" _name="Scaled Width">
	  <spec>glade_standard_int_spec</spec>
	  <_tooltip>The width to scale the pixmap to</_tooltip>
	</property>
	<property id="scaled-height" _name="Scaled Height">
	  <spec>glade_standard_int_spec</spec>
	  <_tooltip>The height to scale the pixmap to</_tooltip>
	</property>
      </properties>
    </glade-widget-class>

    <!-- Unsupported Classes
    Deprecated and not suported by libglade:
      * GnomeScores
    
    These are not widget classes:
      * GnomeClient
      * GnomeMdi, GnomeMdiChild, GnomeMdiGenericChild
      * GnomeCanvasItem, GnomeIconTextItem -->
  </glade-widget-classes>

  <glade-widget-group name="gnomeui-base" _title="GNOME User Interface">

    <glade-widget-class-ref name="GnomeApp"/>
    <glade-widget-class-ref name="GnomeDruid"/>
    <glade-widget-class-ref name="GnomeIconSelection"/>    
    <glade-widget-class-ref name="GnomeHRef"/>
    <glade-widget-class-ref name="GnomeDateEdit"/>
    <glade-widget-class-ref name="GnomeIconEntry"/>
    <glade-widget-class-ref name="GnomeAppBar"/>
  </glade-widget-group>

  <glade-widget-group name="gnomeui-obsolete" _title="GNOME UI Obsolete">

    <default-palette-state expanded="False" />

    <glade-widget-class-ref name="GnomeDialog"/>
    <glade-widget-class-ref name="GnomeAbout"/>
    <glade-widget-class-ref name="GnomeMessageBox"/>
    <glade-widget-class-ref name="GnomePropertyBox"/>
    <glade-widget-class-ref name="GnomeEntry"/>
    <glade-widget-class-ref name="GnomeFileEntry"/>
    <glade-widget-class-ref name="GnomePixmapEntry"/>
    <glade-widget-class-ref name="GnomeColorPicker"/>
    <glade-widget-class-ref name="GnomeFontPicker"/>
    <glade-widget-class-ref name="GnomePixmap"/>
  </glade-widget-group>
</glade-catalog>
