⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 project1.glade

📁 用Glade编写Xscale处理器的图形界面程序
💻 GLADE
📖 第 1 页 / 共 2 页
字号:
<?xml version="1.0"?><GTK-Interface><project>  <name>Project1</name>  <program_name>project1</program_name>  <directory></directory>  <source_directory>src</source_directory>  <pixmaps_directory>pixmaps</pixmaps_directory>  <language>C</language>  <gnome_support>False</gnome_support>  <gettext_support>False</gettext_support></project><widget>  <class>GtkWindow</class>  <name>main_Win</name>  <width>500</width>  <height>350</height>  <title>Emdoor GUI /www.Emdoor.com</title>  <type>GTK_WINDOW_TOPLEVEL</type>  <position>GTK_WIN_POS_NONE</position>  <modal>False</modal>  <allow_shrink>False</allow_shrink>  <allow_grow>True</allow_grow>  <auto_shrink>False</auto_shrink>  <widget>    <class>GtkNotebook</class>    <name>notebook1</name>    <can_focus>True</can_focus>    <show_tabs>True</show_tabs>    <show_border>True</show_border>    <tab_pos>GTK_POS_TOP</tab_pos>    <scrollable>False</scrollable>    <tab_hborder>2</tab_hborder>    <tab_vborder>2</tab_vborder>    <popup_enable>False</popup_enable>    <widget>      <class>GtkFrame</class>      <name>frame_led</name>      <label>control led display</label>      <label_xalign>0</label_xalign>      <shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>      <widget>	<class>GtkFixed</class>	<name>fixed1</name>	<widget>	  <class>GtkButton</class>	  <name>button_led1</name>	  <x>24</x>	  <y>16</y>	  <width>62</width>	  <height>27</height>	  <can_focus>True</can_focus>	  <signal>	    <name>clicked</name>	    <handler>on_button_led1_clicked</handler>	    <last_modification_time>Thu, 03 Feb 2005 04:02:55 GMT</last_modification_time>	  </signal>	  <label>LED1</label>	  <relief>GTK_RELIEF_NORMAL</relief>	</widget>	<widget>	  <class>GtkButton</class>	  <name>button_led2</name>	  <x>24</x>	  <y>56</y>	  <width>62</width>	  <height>27</height>	  <can_focus>True</can_focus>	  <signal>	    <name>clicked</name>	    <handler>on_button_led2_clicked</handler>	    <last_modification_time>Thu, 03 Feb 2005 04:04:04 GMT</last_modification_time>	  </signal>	  <label>LED2</label>	  <relief>GTK_RELIEF_NORMAL</relief>	</widget>	<widget>	  <class>GtkButton</class>	  <name>button_led3</name>	  <x>24</x>	  <y>96</y>	  <width>62</width>	  <height>27</height>	  <can_focus>True</can_focus>	  <signal>	    <name>clicked</name>	    <handler>on_button_led3_clicked</handler>	    <last_modification_time>Thu, 03 Feb 2005 04:03:58 GMT</last_modification_time>	  </signal>	  <label>LED3</label>	  <relief>GTK_RELIEF_NORMAL</relief>	</widget>	<widget>	  <class>GtkButton</class>	  <name>button_led4</name>	  <x>24</x>	  <y>136</y>	  <width>62</width>	  <height>27</height>	  <can_focus>True</can_focus>	  <signal>	    <name>clicked</name>	    <handler>on_button_led4_clicked</handler>	    <last_modification_time>Thu, 03 Feb 2005 04:03:52 GMT</last_modification_time>	  </signal>	  <label>LED4</label>	  <relief>GTK_RELIEF_NORMAL</relief>	</widget>	<widget>	  <class>GtkButton</class>	  <name>button_led5</name>	  <x>160</x>	  <y>16</y>	  <width>62</width>	  <height>27</height>	  <can_focus>True</can_focus>	  <label>LED5</label>	  <relief>GTK_RELIEF_NORMAL</relief>	</widget>	<widget>	  <class>GtkButton</class>	  <name>button_led6</name>	  <x>160</x>	  <y>56</y>	  <width>62</width>	  <height>27</height>	  <can_focus>True</can_focus>	  <label>LED6</label>	  <relief>GTK_RELIEF_NORMAL</relief>	</widget>	<widget>	  <class>GtkButton</class>	  <name>button_led7</name>	  <x>160</x>	  <y>96</y>	  <width>62</width>	  <height>27</height>	  <can_focus>True</can_focus>	  <signal>	    <name>clicked</name>	    <handler>on_button_led7_clicked</handler>	    <last_modification_time>Thu, 03 Feb 2005 04:03:41 GMT</last_modification_time>	  </signal>	  <label>LED7</label>	  <relief>GTK_RELIEF_NORMAL</relief>	</widget>	<widget>	  <class>GtkButton</class>	  <name>button_led8</name>	  <x>160</x>	  <y>136</y>	  <width>64</width>	  <height>27</height>	  <can_focus>True</can_focus>	  <signal>	    <name>clicked</name>	    <handler>on_button_led8_clicked</handler>	    <last_modification_time>Thu, 03 Feb 2005 04:03:47 GMT</last_modification_time>	  </signal>	  <label>LED8</label>	  <relief>GTK_RELIEF_NORMAL</relief>	</widget>	<widget>	  <class>GtkPixmap</class>	  <name>pixmap_led1</name>	  <x>112</x>	  <y>24</y>	  <width>16</width>	  <height>16</height>	  <filename>led.xpm</filename>	  <xalign>0.5</xalign>	  <yalign>0.5</yalign>	  <xpad>0</xpad>	  <ypad>0</ypad>	  <build_insensitive>True</build_insensitive>	</widget>	<widget>	  <class>GtkPixmap</class>	  <name>pixmap_led2</name>	  <x>112</x>	  <y>64</y>	  <width>21</width>	  <height>21</height>	  <filename>led.xpm</filename>	  <xalign>0.5</xalign>	  <yalign>0.5</yalign>	  <xpad>0</xpad>	  <ypad>0</ypad>	  <build_insensitive>True</build_insensitive>	</widget>	<widget>	  <class>GtkPixmap</class>	  <name>pixmap_led3</name>	  <x>112</x>	  <y>104</y>	  <width>21</width>	  <height>21</height>	  <filename>led.xpm</filename>	  <xalign>0.5</xalign>	  <yalign>0.5</yalign>	  <xpad>0</xpad>	  <ypad>0</ypad>	  <build_insensitive>True</build_insensitive>	</widget>	<widget>	  <class>GtkPixmap</class>	  <name>pixmap_led4</name>	  <x>112</x>	  <y>144</y>	  <width>21</width>	  <height>21</height>	  <filename>led.xpm</filename>	  <xalign>0.5</xalign>	  <yalign>0.5</yalign>	  <xpad>0</xpad>	  <ypad>0</ypad>	  <build_insensitive>True</build_insensitive>	</widget>	<widget>	  <class>GtkPixmap</class>	  <name>pixmap_led5</name>	  <x>248</x>	  <y>24</y>	  <width>21</width>	  <height>21</height>	  <filename>led.xpm</filename>	  <xalign>0.5</xalign>	  <yalign>0.5</yalign>	  <xpad>0</xpad>	  <ypad>0</ypad>	  <build_insensitive>True</build_insensitive>	</widget>	<widget>	  <class>GtkPixmap</class>	  <name>pixmap_led6</name>	  <x>248</x>	  <y>64</y>	  <width>24</width>	  <height>16</height>	  <filename>led.xpm</filename>	  <xalign>0.5</xalign>	  <yalign>0.5</yalign>	  <xpad>0</xpad>	  <ypad>0</ypad>	  <build_insensitive>True</build_insensitive>	</widget>	<widget>	  <class>GtkPixmap</class>	  <name>pixmap_led8</name>	  <x>248</x>	  <y>144</y>	  <width>21</width>	  <height>21</height>	  <filename>led.xpm</filename>	  <xalign>0.5</xalign>	  <yalign>0.5</yalign>	  <xpad>0</xpad>	  <ypad>0</ypad>	  <build_insensitive>True</build_insensitive>	</widget>	<widget>	  <class>GtkPixmap</class>	  <name>pixmap_led7</name>	  <x>248</x>	  <y>104</y>	  <width>21</width>	  <height>21</height>	  <filename>led.xpm</filename>	  <xalign>0.5</xalign>	  <yalign>0.5</yalign>	  <xpad>0</xpad>	  <ypad>0</ypad>	  <build_insensitive>True</build_insensitive>	</widget>      </widget>    </widget>    <widget>      <class>GtkLabel</class>      <child_name>Notebook:tab</child_name>      <name>label_LED</name>      <label>Led</label>      <justify>GTK_JUSTIFY_CENTER</justify>      <wrap>False</wrap>      <xalign>0.5</xalign>      <yalign>0.5</yalign>      <xpad>0</xpad>      <ypad>0</ypad>    </widget>    <widget>      <class>GtkFrame</class>      <name>frame_keypad</name>      <label>keypad play</label>      <label_xalign>0</label_xalign>      <shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>      <widget>	<class>GtkFixed</class>	<name>fixed2</name>	<widget>	  <class>GtkButton</class>	  <name>button_key1</name>	  <x>24</x>	  <y>16</y>	  <width>50</width>	  <height>27</height>	  <can_focus>True</can_focus>	  <label>KEY1</label>	  <relief>GTK_RELIEF_NORMAL</relief>	</widget>	<widget>	  <class>GtkButton</class>	  <name>button_key2</name>	  <x>80</x>	  <y>16</y>	  <width>50</width>	  <height>27</height>	  <can_focus>True</can_focus>	  <label>KEY2</label>	  <relief>GTK_RELIEF_NORMAL</relief>	</widget>	<widget>	  <class>GtkButton</class>	  <name>button_key3</name>	  <x>136</x>	  <y>16</y>	  <width>50</width>	  <height>27</height>	  <can_focus>True</can_focus>	  <label>KEY3</label>	  <relief>GTK_RELIEF_NORMAL</relief>	</widget>	<widget>	  <class>GtkButton</class>	  <name>button_key4</name>	  <x>192</x>	  <y>16</y>	  <width>50</width>	  <height>27</height>	  <can_focus>True</can_focus>	  <label>KEY4</label>	  <relief>GTK_RELIEF_NORMAL</relief>	</widget>	<widget>	  <class>GtkButton</class>	  <name>button_key5</name>	  <x>24</x>	  <y>64</y>	  <width>50</width>	  <height>27</height>	  <can_focus>True</can_focus>	  <label>KEY5</label>	  <relief>GTK_RELIEF_NORMAL</relief>	</widget>	<widget>	  <class>GtkButton</class>	  <name>button_key6</name>	  <x>80</x>	  <y>64</y>	  <width>50</width>	  <height>27</height>	  <can_focus>True</can_focus>	  <label>KEY6</label>	  <relief>GTK_RELIEF_NORMAL</relief>	</widget>	<widget>	  <class>GtkButton</class>	  <name>button_key7</name>	  <x>136</x>	  <y>64</y>	  <width>50</width>	  <height>27</height>	  <can_focus>True</can_focus>	  <label>KEY7</label>	  <relief>GTK_RELIEF_NORMAL</relief>	</widget>	<widget>	  <class>GtkButton</class>	  <name>button_key8</name>	  <x>192</x>	  <y>64</y>	  <width>50</width>	  <height>27</height>	  <can_focus>True</can_focus>	  <label>KEY8</label>	  <relief>GTK_RELIEF_NORMAL</relief>	</widget>      </widget>    </widget>    <widget>      <class>GtkLabel</class>      <child_name>Notebook:tab</child_name>      <name>label_KEY</name>      <label>Keypad</label>      <justify>GTK_JUSTIFY_CENTER</justify>      <wrap>False</wrap>      <xalign>0.5</xalign>      <yalign>0.5</yalign>      <xpad>0</xpad>      <ypad>0</ypad>    </widget>    <widget>      <class>GtkFrame</class>      <name>frame_ttySx</name>      <label>ttySx receive &amp; transmit</label>      <label_xalign>0</label_xalign>      <shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>      <widget>	<class>GtkFixed</class>	<name>fixed3</name>	<widget>	  <class>GtkText</class>	  <name>text1</name>	  <x>208</x>	  <y>128</y>	  <width>232</width>	  <height>104</height>	  <can_focus>True</can_focus>	  <editable>False</editable>	  <text></text>	</widget>	<widget>	  <class>GtkEntry</class>	  <name>entry1</name>	  <x>208</x>	  <y>48</y>	  <width>232</width>	  <height>32</height>	  <can_focus>True</can_focus>	  <editable>True</editable>	  <text_visible>True</text_visible>	  <text_max_length>0</text_max_length>	  <text></text>	</widget>	<widget>	  <class>GtkButton</class>	  <name>button_t</name>	  <x>208</x>	  <y>8</y>	  <width>80</width>	  <height>27</height>	  <can_focus>True</can_focus>	  <signal>	    <name>clicked</name>	    <handler>on_button_t_clicked</handler>	    <last_modification_time>Thu, 03 Feb 2005 04:00:35 GMT</last_modification_time>	  </signal>	  <label>Transmit</label>	  <relief>GTK_RELIEF_NORMAL</relief>	</widget>	<widget>	  <class>GtkLabel</class>	  <name>label_baut</name>	  <x>16</x>	  <y>48</y>	  <width>56</width>	  <height>21</height>	  <label>BAUT</label>	  <justify>GTK_JUSTIFY_CENTER</justify>	  <wrap>False</wrap>	  <xalign>0.5</xalign>	  <yalign>0.5</yalign>	  <xpad>0</xpad>	  <ypad>0</ypad>	</widget>	<widget>	  <class>GtkCombo</class>	  <name>combo2</name>	  <x>80</x>	  <y>48</y>	  <width>112</width>	  <height>27</height>	  <value_in_list>False</value_in_list>	  <ok_if_empty>True</ok_if_empty>	  <case_sensitive>False</case_sensitive>	  <use_arrows>True</use_arrows>	  <use_arrows_always>False</use_arrows_always>	  <items></items>	  <widget>	    <class>GtkEntry</class>	    <child_name>GtkCombo:entry</child_name>	    <name>combo-entry2</name>	    <can_focus>True</can_focus>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -