選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 
 

1189 行
54 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <stetic-interface>
  3. <configuration>
  4. <images-root-path>..</images-root-path>
  5. <target-gtk-version>2.12.1</target-gtk-version>
  6. </configuration>
  7. <import>
  8. <widget-library name="../ThePimp.exe" internal="true" />
  9. </import>
  10. <widget class="Gtk.Window" id="ThePimp.MainWindow" design-size="954 680">
  11. <action-group name="Default">
  12. <action id="newAction">
  13. <property name="Type">Action</property>
  14. <property name="Label" translatable="yes" />
  15. <property name="StockId">gtk-new</property>
  16. <property name="Tooltip" translatable="yes">Create a new image</property>
  17. <signal name="Activated" handler="OnNewActionActivated" />
  18. </action>
  19. <action id="openAction">
  20. <property name="Type">Action</property>
  21. <property name="Label" translatable="yes" />
  22. <property name="StockId">gtk-open</property>
  23. <property name="Tooltip" translatable="yes">Open an image</property>
  24. <signal name="Activated" handler="OnOpenActionActivated" />
  25. </action>
  26. <action id="saveAction">
  27. <property name="Type">Action</property>
  28. <property name="Label" translatable="yes" />
  29. <property name="Sensitive">False</property>
  30. <property name="StockId">gtk-save</property>
  31. <property name="Tooltip" translatable="yes">Save active image</property>
  32. <signal name="Activated" handler="OnSaveActionActivated" />
  33. </action>
  34. <action id="FileAction">
  35. <property name="Type">Action</property>
  36. <property name="Label" translatable="yes">File</property>
  37. <property name="ShortLabel" translatable="yes">File</property>
  38. </action>
  39. <action id="EditAction">
  40. <property name="Type">Action</property>
  41. <property name="Label" translatable="yes">Edit</property>
  42. <property name="ShortLabel" translatable="yes">Edit</property>
  43. </action>
  44. <action id="ViewAction">
  45. <property name="Type">Action</property>
  46. <property name="Label" translatable="yes">View</property>
  47. <property name="ShortLabel" translatable="yes">View</property>
  48. </action>
  49. <action id="HelpAction">
  50. <property name="Type">Action</property>
  51. <property name="Label" translatable="yes">Help</property>
  52. <property name="ShortLabel" translatable="yes">Help</property>
  53. </action>
  54. <action id="NewAction">
  55. <property name="Type">Action</property>
  56. <property name="Label" translatable="yes">_New...</property>
  57. <property name="ShortLabel" translatable="yes">_New</property>
  58. <property name="StockId">gtk-new</property>
  59. <signal name="Activated" handler="OnNewActionActivated" />
  60. </action>
  61. <action id="OpenAction">
  62. <property name="Type">Action</property>
  63. <property name="Label" translatable="yes">_Open...</property>
  64. <property name="ShortLabel" translatable="yes">_Open</property>
  65. <property name="StockId">gtk-open</property>
  66. <signal name="Activated" handler="OnOpenActionActivated" />
  67. </action>
  68. <action id="SaveAction">
  69. <property name="Type">Action</property>
  70. <property name="Label" translatable="yes">_Save</property>
  71. <property name="Sensitive">False</property>
  72. <property name="ShortLabel" translatable="yes">_Save</property>
  73. <property name="StockId">gtk-save</property>
  74. <signal name="Activated" handler="OnSaveActionActivated" />
  75. </action>
  76. <action id="SaveAsAction">
  77. <property name="Type">Action</property>
  78. <property name="Label" translatable="yes">Save _As...</property>
  79. <property name="ShortLabel" translatable="yes">Save _As</property>
  80. <property name="StockId">gtk-save-as</property>
  81. <signal name="Activated" handler="OnSaveAsActionActivated" />
  82. </action>
  83. <action id="QuitAction">
  84. <property name="Type">Action</property>
  85. <property name="Label" translatable="yes">_Quit</property>
  86. <property name="ShortLabel" translatable="yes">_Quit</property>
  87. <property name="StockId">gtk-quit</property>
  88. <signal name="Activated" handler="OnQuitActionActivated" />
  89. </action>
  90. <action id="HelpAction1">
  91. <property name="Type">Action</property>
  92. <property name="Label" translatable="yes">_Help</property>
  93. <property name="Sensitive">False</property>
  94. <property name="ShortLabel" translatable="yes">_Help</property>
  95. <property name="StockId">gtk-help</property>
  96. </action>
  97. <action id="AboutAction">
  98. <property name="Type">Action</property>
  99. <property name="Label" translatable="yes">_About</property>
  100. <property name="ShortLabel" translatable="yes">_About</property>
  101. <property name="StockId">gtk-about</property>
  102. <signal name="Activated" handler="OnAboutActionActivated" />
  103. </action>
  104. <action id="UndoAction">
  105. <property name="Type">Action</property>
  106. <property name="Label" translatable="yes">_Undo</property>
  107. <property name="Sensitive">False</property>
  108. <property name="ShortLabel" translatable="yes">_Undo</property>
  109. <property name="StockId">gtk-undo</property>
  110. </action>
  111. <action id="RedoAction">
  112. <property name="Type">Action</property>
  113. <property name="Label" translatable="yes">_Redo</property>
  114. <property name="Sensitive">False</property>
  115. <property name="ShortLabel" translatable="yes">_Redo</property>
  116. <property name="StockId">gtk-redo</property>
  117. </action>
  118. <action id="BestFitAction">
  119. <property name="Type">Action</property>
  120. <property name="Label" translatable="yes">Best _Fit</property>
  121. <property name="Sensitive">False</property>
  122. <property name="ShortLabel" translatable="yes">Best _Fit</property>
  123. <property name="StockId">gtk-zoom-fit</property>
  124. </action>
  125. <action id="NormalSizeAction">
  126. <property name="Type">Action</property>
  127. <property name="Label" translatable="yes">_Normal Size</property>
  128. <property name="Sensitive">False</property>
  129. <property name="ShortLabel" translatable="yes">_Normal Size</property>
  130. <property name="StockId">gtk-zoom-100</property>
  131. </action>
  132. <action id="ZoomOutAction">
  133. <property name="Type">Action</property>
  134. <property name="Label" translatable="yes">Zoom _Out</property>
  135. <property name="Sensitive">False</property>
  136. <property name="ShortLabel" translatable="yes">Zoom _Out</property>
  137. <property name="StockId">gtk-zoom-out</property>
  138. </action>
  139. <action id="ZoomInAction">
  140. <property name="Type">Action</property>
  141. <property name="Label" translatable="yes">Zoom _In</property>
  142. <property name="Sensitive">False</property>
  143. <property name="ShortLabel" translatable="yes">Zoom _In</property>
  144. <property name="StockId">gtk-zoom-in</property>
  145. </action>
  146. <action id="undoAction">
  147. <property name="Type">Action</property>
  148. <property name="Label" translatable="yes" />
  149. <property name="Sensitive">False</property>
  150. <property name="StockId">gtk-undo</property>
  151. <property name="Tooltip" translatable="yes">Undo action</property>
  152. </action>
  153. <action id="redoAction">
  154. <property name="Type">Action</property>
  155. <property name="Label" translatable="yes" />
  156. <property name="Sensitive">False</property>
  157. <property name="StockId">gtk-redo</property>
  158. <property name="Tooltip" translatable="yes">Redo action</property>
  159. </action>
  160. <action id="zoom100Action">
  161. <property name="Type">Action</property>
  162. <property name="Label" translatable="yes" />
  163. <property name="Sensitive">False</property>
  164. <property name="StockId">gtk-zoom-100</property>
  165. </action>
  166. <action id="zoomFitAction">
  167. <property name="Type">Action</property>
  168. <property name="Label" translatable="yes" />
  169. <property name="Sensitive">False</property>
  170. <property name="StockId">gtk-zoom-fit</property>
  171. </action>
  172. <action id="zoomOutAction">
  173. <property name="Type">Action</property>
  174. <property name="Label" translatable="yes" />
  175. <property name="Sensitive">False</property>
  176. <property name="StockId">gtk-zoom-out</property>
  177. </action>
  178. <action id="zoomInAction">
  179. <property name="Type">Action</property>
  180. <property name="Label" translatable="yes" />
  181. <property name="Sensitive">False</property>
  182. <property name="StockId">gtk-zoom-in</property>
  183. </action>
  184. <action id="helpAction">
  185. <property name="Type">Action</property>
  186. <property name="Label" translatable="yes" />
  187. <property name="Sensitive">False</property>
  188. <property name="StockId">gtk-help</property>
  189. </action>
  190. <action id="saveAsAction">
  191. <property name="Type">Action</property>
  192. <property name="Label" translatable="yes" />
  193. <property name="StockId">gtk-save-as</property>
  194. <property name="Tooltip" translatable="yes">Save active image </property>
  195. <signal name="Activated" handler="OnSaveAsActionActivated" />
  196. </action>
  197. <action id="FullscreenAction">
  198. <property name="Type">Action</property>
  199. <property name="Label" translatable="yes">Fullscreen</property>
  200. <property name="ShortLabel" translatable="yes">Fullscreen</property>
  201. <property name="StockId">gtk-fullscreen</property>
  202. <signal name="Activated" handler="OnFullscreenActionActivated" />
  203. </action>
  204. </action-group>
  205. <property name="MemberName" />
  206. <property name="Title" translatable="yes">The Pimp</property>
  207. <property name="Icon">stock:stock_insert_image Menu</property>
  208. <property name="WindowPosition">CenterOnParent</property>
  209. <signal name="DeleteEvent" handler="OnDeleteEvent" />
  210. <child>
  211. <widget class="Gtk.VBox" id="vbox1">
  212. <property name="MemberName" />
  213. <child>
  214. <widget class="Gtk.MenuBar" id="menubar1">
  215. <property name="MemberName" />
  216. <node name="menubar1" type="Menubar">
  217. <node type="Menu" action="FileAction">
  218. <node type="Menuitem" action="NewAction" />
  219. <node type="Menuitem" action="OpenAction" />
  220. <node type="Menuitem" action="SaveAction" />
  221. <node type="Menuitem" action="SaveAsAction" />
  222. <node type="Menuitem" action="QuitAction" />
  223. </node>
  224. <node type="Menu" action="EditAction">
  225. <node type="Menuitem" action="UndoAction" />
  226. <node type="Menuitem" action="RedoAction" />
  227. </node>
  228. <node type="Menu" action="ViewAction">
  229. <node type="Menuitem" action="ZoomInAction" />
  230. <node type="Menuitem" action="ZoomOutAction" />
  231. <node type="Menuitem" action="BestFitAction" />
  232. <node type="Menuitem" action="NormalSizeAction" />
  233. <node type="Separator" />
  234. <node type="Menuitem" action="FullscreenAction" />
  235. </node>
  236. <node type="Menu" action="HelpAction">
  237. <node type="Menuitem" action="HelpAction1" />
  238. <node type="Menuitem" action="AboutAction" />
  239. </node>
  240. </node>
  241. </widget>
  242. <packing>
  243. <property name="Position">0</property>
  244. <property name="AutoSize">True</property>
  245. <property name="Expand">False</property>
  246. <property name="Fill">False</property>
  247. </packing>
  248. </child>
  249. <child>
  250. <widget class="Gtk.Toolbar" id="toolbar1">
  251. <property name="MemberName" />
  252. <property name="ShowArrow">False</property>
  253. <property name="ButtonStyle">Icons</property>
  254. <node name="toolbar1" type="Toolbar">
  255. <node type="Toolitem" action="newAction" />
  256. <node type="Toolitem" action="openAction" />
  257. <node type="Toolitem" action="saveAction" />
  258. <node type="Separator" />
  259. <node type="Toolitem" action="undoAction" />
  260. <node type="Toolitem" action="redoAction" />
  261. <node type="Separator" />
  262. <node type="Toolitem" action="zoomInAction" />
  263. <node type="Toolitem" action="zoomOutAction" />
  264. <node type="Toolitem" action="zoomFitAction" />
  265. <node type="Toolitem" action="zoom100Action" />
  266. <node type="Separator" />
  267. <node type="Toolitem" action="helpAction" />
  268. </node>
  269. </widget>
  270. <packing>
  271. <property name="Position">1</property>
  272. <property name="AutoSize">True</property>
  273. <property name="Expand">False</property>
  274. <property name="Fill">False</property>
  275. </packing>
  276. </child>
  277. <child>
  278. <widget class="Gtk.HPaned" id="hpaned1">
  279. <property name="MemberName" />
  280. <property name="CanFocus">True</property>
  281. <property name="Position">33</property>
  282. <child>
  283. <widget class="Gtk.VPaned" id="vpaned1">
  284. <property name="MemberName" />
  285. <property name="CanFocus">True</property>
  286. <property name="Position">41</property>
  287. <child>
  288. <placeholder />
  289. </child>
  290. <child>
  291. <placeholder />
  292. </child>
  293. </widget>
  294. <packing>
  295. <property name="Resize">False</property>
  296. </packing>
  297. </child>
  298. <child>
  299. <widget class="Gtk.HPaned" id="hpaned2">
  300. <property name="MemberName" />
  301. <property name="CanFocus">True</property>
  302. <property name="Position">886</property>
  303. <child>
  304. <widget class="Gtk.Notebook" id="notebook1">
  305. <property name="MemberName" />
  306. <property name="CanFocus">True</property>
  307. <property name="CurrentPage">0</property>
  308. <property name="BorderWidth">5</property>
  309. <child>
  310. <placeholder />
  311. </child>
  312. </widget>
  313. <packing>
  314. <property name="Resize">False</property>
  315. </packing>
  316. </child>
  317. <child>
  318. <widget class="Gtk.VPaned" id="vpaned2">
  319. <property name="MemberName" />
  320. <property name="CanFocus">True</property>
  321. <property name="Position">41</property>
  322. <child>
  323. <placeholder />
  324. </child>
  325. <child>
  326. <placeholder />
  327. </child>
  328. </widget>
  329. <packing>
  330. <property name="Resize">False</property>
  331. <property name="Shrink">False</property>
  332. </packing>
  333. </child>
  334. </widget>
  335. </child>
  336. </widget>
  337. <packing>
  338. <property name="Position">2</property>
  339. <property name="AutoSize">True</property>
  340. </packing>
  341. </child>
  342. <child>
  343. <widget class="Gtk.Statusbar" id="statusbar1">
  344. <property name="MemberName" />
  345. <property name="Spacing">6</property>
  346. <child>
  347. <placeholder />
  348. </child>
  349. <child>
  350. <placeholder />
  351. </child>
  352. </widget>
  353. <packing>
  354. <property name="Position">3</property>
  355. <property name="AutoSize">True</property>
  356. <property name="Expand">False</property>
  357. <property name="Fill">False</property>
  358. </packing>
  359. </child>
  360. </widget>
  361. </child>
  362. </widget>
  363. <widget class="Gtk.Dialog" id="ThePimp.OpenFile" design-size="640 480">
  364. <property name="MemberName" />
  365. <property name="Title" translatable="yes">Open File</property>
  366. <property name="Icon">stock:stock_open Menu</property>
  367. <property name="TypeHint">Dialog</property>
  368. <property name="WindowPosition">CenterOnParent</property>
  369. <property name="Modal">True</property>
  370. <property name="Buttons">2</property>
  371. <property name="HelpButton">False</property>
  372. <property name="HasSeparator">False</property>
  373. <child internal-child="VBox">
  374. <widget class="Gtk.VBox" id="dialog1_VBox">
  375. <property name="MemberName" />
  376. <property name="BorderWidth">2</property>
  377. <child>
  378. <widget class="Gtk.FileChooserWidget" id="filechooserwidget1">
  379. <property name="MemberName" />
  380. <signal name="FileActivated" handler="OnFilechooserwidget1FileActivated" />
  381. </widget>
  382. <packing>
  383. <property name="Position">0</property>
  384. <property name="AutoSize">True</property>
  385. </packing>
  386. </child>
  387. </widget>
  388. </child>
  389. <child internal-child="ActionArea">
  390. <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
  391. <property name="MemberName" />
  392. <property name="Spacing">6</property>
  393. <property name="BorderWidth">5</property>
  394. <property name="Size">2</property>
  395. <property name="LayoutStyle">End</property>
  396. <child>
  397. <widget class="Gtk.Button" id="buttonCancel">
  398. <property name="MemberName" />
  399. <property name="CanDefault">True</property>
  400. <property name="CanFocus">True</property>
  401. <property name="UseStock">True</property>
  402. <property name="Type">StockItem</property>
  403. <property name="StockId">gtk-cancel</property>
  404. <property name="ResponseId">-6</property>
  405. <property name="label">gtk-cancel</property>
  406. </widget>
  407. <packing>
  408. <property name="Expand">False</property>
  409. <property name="Fill">False</property>
  410. </packing>
  411. </child>
  412. <child>
  413. <widget class="Gtk.Button" id="buttonOk">
  414. <property name="MemberName" />
  415. <property name="CanDefault">True</property>
  416. <property name="CanFocus">True</property>
  417. <property name="UseStock">True</property>
  418. <property name="Type">StockItem</property>
  419. <property name="StockId">gtk-ok</property>
  420. <property name="ResponseId">-5</property>
  421. <property name="label">gtk-ok</property>
  422. </widget>
  423. <packing>
  424. <property name="Position">1</property>
  425. <property name="Expand">False</property>
  426. <property name="Fill">False</property>
  427. </packing>
  428. </child>
  429. </widget>
  430. </child>
  431. </widget>
  432. <widget class="Gtk.Bin" id="ThePimp.ToolBox" design-size="34 300">
  433. <property name="MemberName" />
  434. <child>
  435. <widget class="Gtk.VBox" id="vbox2">
  436. <property name="MemberName" />
  437. <property name="Sensitive">False</property>
  438. <child>
  439. <widget class="Gtk.Button" id="button5">
  440. <property name="MemberName" />
  441. <property name="CanFocus">True</property>
  442. <property name="Type">Custom</property>
  443. <child>
  444. <widget class="Gtk.Image" id="image1">
  445. <property name="MemberName" />
  446. <property name="Pixbuf">stock:stock_show-draw-functions SmallToolbar</property>
  447. </widget>
  448. </child>
  449. </widget>
  450. <packing>
  451. <property name="Position">0</property>
  452. <property name="AutoSize">True</property>
  453. <property name="Expand">False</property>
  454. <property name="Fill">False</property>
  455. </packing>
  456. </child>
  457. <child>
  458. <widget class="Gtk.Button" id="button8">
  459. <property name="MemberName" />
  460. <property name="CanFocus">True</property>
  461. <property name="Type">Custom</property>
  462. <child>
  463. <widget class="Gtk.Image" id="image2">
  464. <property name="MemberName" />
  465. <property name="Pixbuf">stock:stock_insert-fields-author SmallToolbar</property>
  466. </widget>
  467. </child>
  468. </widget>
  469. <packing>
  470. <property name="Position">1</property>
  471. <property name="AutoSize">True</property>
  472. <property name="Expand">False</property>
  473. <property name="Fill">False</property>
  474. </packing>
  475. </child>
  476. <child>
  477. <widget class="Gtk.Button" id="button7">
  478. <property name="MemberName" />
  479. <property name="CanFocus">True</property>
  480. <property name="Type">Custom</property>
  481. <child>
  482. <widget class="Gtk.Image" id="image3">
  483. <property name="MemberName" />
  484. <property name="Pixbuf">stock:gtk-clear SmallToolbar</property>
  485. </widget>
  486. </child>
  487. </widget>
  488. <packing>
  489. <property name="Position">2</property>
  490. <property name="AutoSize">True</property>
  491. <property name="Expand">False</property>
  492. <property name="Fill">False</property>
  493. </packing>
  494. </child>
  495. <child>
  496. <widget class="Gtk.Button" id="button9">
  497. <property name="MemberName" />
  498. <property name="CanFocus">True</property>
  499. <property name="Type">Custom</property>
  500. <child>
  501. <widget class="Gtk.Image" id="image4">
  502. <property name="MemberName" />
  503. <property name="Pixbuf">stock:stock_draw-line SmallToolbar</property>
  504. </widget>
  505. </child>
  506. </widget>
  507. <packing>
  508. <property name="Position">3</property>
  509. <property name="AutoSize">True</property>
  510. <property name="Expand">False</property>
  511. <property name="Fill">False</property>
  512. </packing>
  513. </child>
  514. <child>
  515. <widget class="Gtk.Button" id="button10">
  516. <property name="MemberName" />
  517. <property name="CanFocus">True</property>
  518. <property name="Type">Custom</property>
  519. <child>
  520. <widget class="Gtk.Image" id="image5">
  521. <property name="MemberName" />
  522. <property name="Pixbuf">stock:stock_draw-rectangle SmallToolbar</property>
  523. </widget>
  524. </child>
  525. </widget>
  526. <packing>
  527. <property name="Position">4</property>
  528. <property name="AutoSize">True</property>
  529. <property name="Expand">False</property>
  530. <property name="Fill">False</property>
  531. </packing>
  532. </child>
  533. <child>
  534. <widget class="Gtk.Button" id="button11">
  535. <property name="MemberName" />
  536. <property name="CanFocus">True</property>
  537. <property name="Type">Custom</property>
  538. <child>
  539. <widget class="Gtk.Image" id="image6">
  540. <property name="MemberName" />
  541. <property name="Pixbuf">stock:stock_draw-ellipse SmallToolbar</property>
  542. </widget>
  543. </child>
  544. </widget>
  545. <packing>
  546. <property name="Position">5</property>
  547. <property name="AutoSize">True</property>
  548. <property name="Expand">False</property>
  549. <property name="Fill">False</property>
  550. </packing>
  551. </child>
  552. <child>
  553. <widget class="Gtk.Button" id="button6">
  554. <property name="MemberName" />
  555. <property name="CanFocus">True</property>
  556. <property name="Type">Custom</property>
  557. <child>
  558. <widget class="Gtk.Image" id="image7">
  559. <property name="MemberName" />
  560. <property name="Pixbuf">stock:stock_draw-polygon SmallToolbar</property>
  561. </widget>
  562. </child>
  563. </widget>
  564. <packing>
  565. <property name="Position">6</property>
  566. <property name="AutoSize">True</property>
  567. <property name="Expand">False</property>
  568. <property name="Fill">False</property>
  569. </packing>
  570. </child>
  571. <child>
  572. <widget class="Gtk.Button" id="button13">
  573. <property name="MemberName" />
  574. <property name="CanFocus">True</property>
  575. <property name="Type">Custom</property>
  576. <child>
  577. <widget class="Gtk.Image" id="image8">
  578. <property name="MemberName" />
  579. <property name="Pixbuf">stock:stock_draw-text SmallToolbar</property>
  580. </widget>
  581. </child>
  582. </widget>
  583. <packing>
  584. <property name="Position">7</property>
  585. <property name="AutoSize">True</property>
  586. <property name="Expand">False</property>
  587. <property name="Fill">False</property>
  588. </packing>
  589. </child>
  590. <child>
  591. <widget class="Gtk.Button" id="button12">
  592. <property name="MemberName" />
  593. <property name="CanFocus">True</property>
  594. <property name="Type">Custom</property>
  595. <child>
  596. <widget class="Gtk.Image" id="image9">
  597. <property name="MemberName" />
  598. <property name="Pixbuf">stock:stock_3d-color-picker SmallToolbar</property>
  599. </widget>
  600. </child>
  601. </widget>
  602. <packing>
  603. <property name="Position">8</property>
  604. <property name="AutoSize">True</property>
  605. <property name="Expand">False</property>
  606. <property name="Fill">False</property>
  607. </packing>
  608. </child>
  609. </widget>
  610. </child>
  611. </widget>
  612. <widget class="Gtk.Bin" id="ThePimp.PictureView" design-size="300 300">
  613. <property name="MemberName" />
  614. <child>
  615. <placeholder />
  616. </child>
  617. </widget>
  618. <widget class="Gtk.Dialog" id="ThePimp.SaveFile" design-size="640 480">
  619. <property name="MemberName" />
  620. <property name="Title" translatable="yes">Save File</property>
  621. <property name="Icon">stock:stock_save Menu</property>
  622. <property name="WindowPosition">CenterOnParent</property>
  623. <property name="Buttons">2</property>
  624. <property name="HelpButton">False</property>
  625. <property name="HasSeparator">False</property>
  626. <child internal-child="VBox">
  627. <widget class="Gtk.VBox" id="dialog1_VBox">
  628. <property name="MemberName" />
  629. <property name="BorderWidth">2</property>
  630. <child>
  631. <widget class="Gtk.FileChooserWidget" id="filechooserwidget1">
  632. <property name="MemberName" />
  633. <property name="Action">Save</property>
  634. <signal name="FileActivated" handler="OnFilechooserwidget1FileActivated" />
  635. </widget>
  636. <packing>
  637. <property name="Position">0</property>
  638. <property name="AutoSize">True</property>
  639. </packing>
  640. </child>
  641. </widget>
  642. </child>
  643. <child internal-child="ActionArea">
  644. <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
  645. <property name="MemberName" />
  646. <property name="Spacing">6</property>
  647. <property name="BorderWidth">5</property>
  648. <property name="Size">2</property>
  649. <property name="LayoutStyle">End</property>
  650. <child>
  651. <widget class="Gtk.Button" id="buttonCancel">
  652. <property name="MemberName" />
  653. <property name="CanDefault">True</property>
  654. <property name="CanFocus">True</property>
  655. <property name="UseStock">True</property>
  656. <property name="Type">StockItem</property>
  657. <property name="StockId">gtk-cancel</property>
  658. <property name="ResponseId">-6</property>
  659. <property name="label">gtk-cancel</property>
  660. </widget>
  661. <packing>
  662. <property name="Expand">False</property>
  663. <property name="Fill">False</property>
  664. </packing>
  665. </child>
  666. <child>
  667. <widget class="Gtk.Button" id="buttonOk">
  668. <property name="MemberName" />
  669. <property name="CanDefault">True</property>
  670. <property name="CanFocus">True</property>
  671. <property name="UseStock">True</property>
  672. <property name="Type">StockItem</property>
  673. <property name="StockId">gtk-ok</property>
  674. <property name="ResponseId">-5</property>
  675. <property name="label">gtk-ok</property>
  676. </widget>
  677. <packing>
  678. <property name="Position">1</property>
  679. <property name="Expand">False</property>
  680. <property name="Fill">False</property>
  681. </packing>
  682. </child>
  683. </widget>
  684. </child>
  685. </widget>
  686. <widget class="Gtk.Window" id="ThePimp.AboutWindow" design-size="485 347">
  687. <property name="MemberName" />
  688. <property name="Title" translatable="yes">About The Pimp</property>
  689. <property name="Icon">stock:gtk-about Menu</property>
  690. <property name="TypeHint">Dialog</property>
  691. <property name="WindowPosition">CenterAlways</property>
  692. <property name="Modal">True</property>
  693. <property name="DefaultWidth">450</property>
  694. <property name="DefaultHeight">300</property>
  695. <property name="Gravity">Center</property>
  696. <child>
  697. <widget class="Gtk.VBox" id="vbox2">
  698. <property name="MemberName" />
  699. <child>
  700. <placeholder />
  701. </child>
  702. <child>
  703. <widget class="Gtk.HBox" id="hbox1">
  704. <property name="MemberName" />
  705. <child>
  706. <widget class="Gtk.VBox" id="vbox3">
  707. <property name="MemberName" />
  708. <property name="BorderWidth">10</property>
  709. <child>
  710. <placeholder />
  711. </child>
  712. <child>
  713. <widget class="Gtk.Button" id="buttonLink">
  714. <property name="MemberName" />
  715. <property name="CanFocus">True</property>
  716. <property name="Type">Custom</property>
  717. <property name="FocusOnClick">False</property>
  718. <property name="Relief">None</property>
  719. <signal name="Clicked" handler="OnButtonLinkClicked" />
  720. <child>
  721. <widget class="Gtk.Label" id="link">
  722. <property name="MemberName" />
  723. <property name="LabelProp" translatable="yes">&lt;span color="blue"&gt;&lt;u&gt;&lt;b&gt;http://caca.zoy.org/wiki/thepimp&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;</property>
  724. <property name="UseMarkup">True</property>
  725. <property name="UseUnderline">True</property>
  726. </widget>
  727. </child>
  728. </widget>
  729. <packing>
  730. <property name="PackType">End</property>
  731. <property name="Position">1</property>
  732. <property name="AutoSize">True</property>
  733. <property name="Expand">False</property>
  734. <property name="Fill">False</property>
  735. </packing>
  736. </child>
  737. </widget>
  738. <packing>
  739. <property name="Position">0</property>
  740. <property name="AutoSize">False</property>
  741. <property name="Fill">False</property>
  742. </packing>
  743. </child>
  744. <child>
  745. <widget class="Gtk.Button" id="buttonClose">
  746. <property name="MemberName" />
  747. <property name="CanDefault">True</property>
  748. <property name="HasDefault">True</property>
  749. <property name="CanFocus">True</property>
  750. <property name="UseStock">True</property>
  751. <property name="Type">StockItem</property>
  752. <property name="StockId">gtk-close</property>
  753. <property name="BorderWidth">10</property>
  754. <signal name="Clicked" handler="OnButtonCloseClicked" />
  755. <property name="label">gtk-close</property>
  756. </widget>
  757. <packing>
  758. <property name="PackType">End</property>
  759. <property name="Position">1</property>
  760. <property name="AutoSize">False</property>
  761. <property name="Expand">False</property>
  762. </packing>
  763. </child>
  764. </widget>
  765. <packing>
  766. <property name="PackType">End</property>
  767. <property name="Position">1</property>
  768. <property name="AutoSize">True</property>
  769. <property name="Expand">False</property>
  770. <property name="Fill">False</property>
  771. </packing>
  772. </child>
  773. </widget>
  774. </child>
  775. </widget>
  776. <widget class="Gtk.Dialog" id="ThePimp.NewFile" design-size="240 221">
  777. <property name="MemberName" />
  778. <property name="Title" translatable="yes">New Image</property>
  779. <property name="Icon">stock:gtk-new Menu</property>
  780. <property name="TypeHint">Dialog</property>
  781. <property name="WindowPosition">CenterOnParent</property>
  782. <property name="Modal">True</property>
  783. <property name="Buttons">2</property>
  784. <property name="HelpButton">False</property>
  785. <property name="HasSeparator">False</property>
  786. <child internal-child="VBox">
  787. <widget class="Gtk.VBox" id="dialog1_VBox">
  788. <property name="MemberName" />
  789. <property name="BorderWidth">2</property>
  790. <child>
  791. <widget class="Gtk.VBox" id="vbox2">
  792. <property name="MemberName" />
  793. <property name="Spacing">6</property>
  794. <child>
  795. <widget class="Gtk.Frame" id="frame1">
  796. <property name="MemberName" />
  797. <property name="ShadowType">None</property>
  798. <child>
  799. <widget class="Gtk.Alignment" id="GtkAlignment3">
  800. <property name="MemberName" />
  801. <property name="Xalign">0</property>
  802. <property name="Yalign">0</property>
  803. <property name="LeftPadding">12</property>
  804. <child>
  805. <widget class="Gtk.VBox" id="vbox3">
  806. <property name="MemberName" />
  807. <property name="Spacing">6</property>
  808. <property name="BorderWidth">5</property>
  809. <child>
  810. <widget class="Gtk.Table" id="table1">
  811. <property name="MemberName" />
  812. <property name="NRows">2</property>
  813. <property name="NColumns">3</property>
  814. <property name="RowSpacing">6</property>
  815. <property name="ColumnSpacing">6</property>
  816. <child>
  817. <widget class="Gtk.Label" id="label1">
  818. <property name="MemberName" />
  819. <property name="LabelProp" translatable="yes">px</property>
  820. </widget>
  821. <packing>
  822. <property name="LeftAttach">2</property>
  823. <property name="RightAttach">3</property>
  824. <property name="AutoSize">True</property>
  825. <property name="XOptions">Fill</property>
  826. <property name="YOptions">Fill</property>
  827. <property name="XExpand">False</property>
  828. <property name="XFill">True</property>
  829. <property name="XShrink">False</property>
  830. <property name="YExpand">False</property>
  831. <property name="YFill">True</property>
  832. <property name="YShrink">False</property>
  833. </packing>
  834. </child>
  835. <child>
  836. <widget class="Gtk.Label" id="label2">
  837. <property name="MemberName" />
  838. <property name="LabelProp" translatable="yes">px</property>
  839. </widget>
  840. <packing>
  841. <property name="TopAttach">1</property>
  842. <property name="BottomAttach">2</property>
  843. <property name="LeftAttach">2</property>
  844. <property name="RightAttach">3</property>
  845. <property name="AutoSize">True</property>
  846. <property name="XOptions">Fill</property>
  847. <property name="YOptions">Fill</property>
  848. <property name="XExpand">False</property>
  849. <property name="XFill">True</property>
  850. <property name="XShrink">False</property>
  851. <property name="YExpand">False</property>
  852. <property name="YFill">True</property>
  853. <property name="YShrink">False</property>
  854. </packing>
  855. </child>
  856. <child>
  857. <widget class="Gtk.Label" id="label3">
  858. <property name="MemberName" />
  859. <property name="LabelProp" translatable="yes">Width</property>
  860. <property name="Justify">Right</property>
  861. </widget>
  862. <packing>
  863. <property name="AutoSize">False</property>
  864. <property name="XOptions">0</property>
  865. <property name="YOptions">Fill</property>
  866. <property name="XExpand">False</property>
  867. <property name="XFill">False</property>
  868. <property name="XShrink">False</property>
  869. <property name="YExpand">False</property>
  870. <property name="YFill">True</property>
  871. <property name="YShrink">False</property>
  872. </packing>
  873. </child>
  874. <child>
  875. <widget class="Gtk.Label" id="label4">
  876. <property name="MemberName" />
  877. <property name="LabelProp" translatable="yes">Height</property>
  878. <property name="Justify">Right</property>
  879. </widget>
  880. <packing>
  881. <property name="TopAttach">1</property>
  882. <property name="BottomAttach">2</property>
  883. <property name="AutoSize">False</property>
  884. <property name="XOptions">0</property>
  885. <property name="YOptions">Fill</property>
  886. <property name="XExpand">False</property>
  887. <property name="XFill">False</property>
  888. <property name="XShrink">False</property>
  889. <property name="YExpand">False</property>
  890. <property name="YFill">True</property>
  891. <property name="YShrink">False</property>
  892. </packing>
  893. </child>
  894. <child>
  895. <widget class="Gtk.SpinButton" id="spinbutton1">
  896. <property name="MemberName" />
  897. <property name="CanFocus">True</property>
  898. <property name="Lower">1</property>
  899. <property name="Upper">1000000</property>
  900. <property name="PageIncrement">10</property>
  901. <property name="StepIncrement">1</property>
  902. <property name="ClimbRate">1</property>
  903. <property name="Numeric">True</property>
  904. <property name="Value">1600</property>
  905. </widget>
  906. <packing>
  907. <property name="LeftAttach">1</property>
  908. <property name="RightAttach">2</property>
  909. <property name="AutoSize">True</property>
  910. <property name="XOptions">Fill</property>
  911. <property name="YOptions">Fill</property>
  912. <property name="XExpand">False</property>
  913. <property name="XFill">True</property>
  914. <property name="XShrink">False</property>
  915. <property name="YExpand">False</property>
  916. <property name="YFill">True</property>
  917. <property name="YShrink">False</property>
  918. </packing>
  919. </child>
  920. <child>
  921. <widget class="Gtk.SpinButton" id="spinbutton2">
  922. <property name="MemberName" />
  923. <property name="CanFocus">True</property>
  924. <property name="Lower">1</property>
  925. <property name="Upper">1000000</property>
  926. <property name="PageIncrement">10</property>
  927. <property name="StepIncrement">1</property>
  928. <property name="ClimbRate">1</property>
  929. <property name="Numeric">True</property>
  930. <property name="Value">1200</property>
  931. </widget>
  932. <packing>
  933. <property name="TopAttach">1</property>
  934. <property name="BottomAttach">2</property>
  935. <property name="LeftAttach">1</property>
  936. <property name="RightAttach">2</property>
  937. <property name="AutoSize">True</property>
  938. <property name="XOptions">Fill</property>
  939. <property name="YOptions">Fill</property>
  940. <property name="XExpand">False</property>
  941. <property name="XFill">True</property>
  942. <property name="XShrink">False</property>
  943. <property name="YExpand">False</property>
  944. <property name="YFill">True</property>
  945. <property name="YShrink">False</property>
  946. </packing>
  947. </child>
  948. </widget>
  949. <packing>
  950. <property name="Position">0</property>
  951. <property name="AutoSize">True</property>
  952. <property name="Expand">False</property>
  953. <property name="Fill">False</property>
  954. </packing>
  955. </child>
  956. </widget>
  957. </child>
  958. </widget>
  959. </child>
  960. <child>
  961. <widget class="Gtk.Label" id="GtkLabel3">
  962. <property name="MemberName" />
  963. <property name="LabelProp" translatable="yes">&lt;b&gt;Image Size&lt;/b&gt;</property>
  964. <property name="UseMarkup">True</property>
  965. </widget>
  966. <packing>
  967. <property name="type">label_item</property>
  968. </packing>
  969. </child>
  970. </widget>
  971. <packing>
  972. <property name="Position">0</property>
  973. <property name="AutoSize">True</property>
  974. <property name="Expand">False</property>
  975. <property name="Fill">False</property>
  976. </packing>
  977. </child>
  978. <child>
  979. <widget class="Gtk.Frame" id="frame2">
  980. <property name="MemberName" />
  981. <property name="ShadowType">None</property>
  982. <child>
  983. <widget class="Gtk.Alignment" id="GtkAlignment">
  984. <property name="MemberName" />
  985. <property name="Xalign">0</property>
  986. <property name="Yalign">0</property>
  987. <property name="LeftPadding">12</property>
  988. <child>
  989. <widget class="Gtk.Table" id="table2">
  990. <property name="MemberName" />
  991. <property name="NRows">1</property>
  992. <property name="NColumns">2</property>
  993. <property name="RowSpacing">6</property>
  994. <property name="ColumnSpacing">6</property>
  995. <child>
  996. <widget class="Gtk.ComboBox" id="combobox1">
  997. <property name="MemberName" />
  998. <property name="IsTextCombo">True</property>
  999. <property name="Items" translatable="yes">Random Noise
  1000. Bayer Dithering Pattern</property>
  1001. <property name="Active">0</property>
  1002. </widget>
  1003. <packing>
  1004. <property name="LeftAttach">1</property>
  1005. <property name="RightAttach">2</property>
  1006. <property name="AutoSize">True</property>
  1007. <property name="XOptions">Fill</property>
  1008. <property name="YOptions">Fill</property>
  1009. <property name="XExpand">False</property>
  1010. <property name="XFill">True</property>
  1011. <property name="XShrink">False</property>
  1012. <property name="YExpand">False</property>
  1013. <property name="YFill">True</property>
  1014. <property name="YShrink">False</property>
  1015. </packing>
  1016. </child>
  1017. <child>
  1018. <widget class="Gtk.Label" id="label5">
  1019. <property name="MemberName" />
  1020. <property name="LabelProp" translatable="yes">Fill with</property>
  1021. </widget>
  1022. <packing>
  1023. <property name="AutoSize">True</property>
  1024. <property name="XOptions">Fill</property>
  1025. <property name="YOptions">Fill</property>
  1026. <property name="XExpand">False</property>
  1027. <property name="XFill">True</property>
  1028. <property name="XShrink">False</property>
  1029. <property name="YExpand">False</property>
  1030. <property name="YFill">True</property>
  1031. <property name="YShrink">False</property>
  1032. </packing>
  1033. </child>
  1034. </widget>
  1035. </child>
  1036. </widget>
  1037. </child>
  1038. <child>
  1039. <widget class="Gtk.Label" id="GtkLabel">
  1040. <property name="MemberName" />
  1041. <property name="LabelProp" translatable="yes">&lt;b&gt;Advanced&lt;/b&gt;</property>
  1042. <property name="UseMarkup">True</property>
  1043. </widget>
  1044. <packing>
  1045. <property name="type">label_item</property>
  1046. </packing>
  1047. </child>
  1048. </widget>
  1049. <packing>
  1050. <property name="Position">1</property>
  1051. <property name="AutoSize">True</property>
  1052. <property name="Expand">False</property>
  1053. <property name="Fill">False</property>
  1054. </packing>
  1055. </child>
  1056. <child>
  1057. <placeholder />
  1058. </child>
  1059. </widget>
  1060. <packing>
  1061. <property name="Position">0</property>
  1062. <property name="AutoSize">True</property>
  1063. </packing>
  1064. </child>
  1065. </widget>
  1066. </child>
  1067. <child internal-child="ActionArea">
  1068. <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
  1069. <property name="MemberName" />
  1070. <property name="Spacing">6</property>
  1071. <property name="BorderWidth">5</property>
  1072. <property name="Size">2</property>
  1073. <property name="LayoutStyle">End</property>
  1074. <child>
  1075. <widget class="Gtk.Button" id="buttonCancel">
  1076. <property name="MemberName" />
  1077. <property name="CanDefault">True</property>
  1078. <property name="CanFocus">True</property>
  1079. <property name="UseStock">True</property>
  1080. <property name="Type">StockItem</property>
  1081. <property name="StockId">gtk-cancel</property>
  1082. <property name="ResponseId">-6</property>
  1083. <property name="label">gtk-cancel</property>
  1084. </widget>
  1085. <packing>
  1086. <property name="Expand">False</property>
  1087. <property name="Fill">False</property>
  1088. </packing>
  1089. </child>
  1090. <child>
  1091. <widget class="Gtk.Button" id="buttonOk">
  1092. <property name="MemberName" />
  1093. <property name="CanDefault">True</property>
  1094. <property name="CanFocus">True</property>
  1095. <property name="UseStock">True</property>
  1096. <property name="Type">StockItem</property>
  1097. <property name="StockId">gtk-ok</property>
  1098. <property name="ResponseId">-5</property>
  1099. <property name="label">gtk-ok</property>
  1100. </widget>
  1101. <packing>
  1102. <property name="Position">1</property>
  1103. <property name="Expand">False</property>
  1104. <property name="Fill">False</property>
  1105. </packing>
  1106. </child>
  1107. </widget>
  1108. </child>
  1109. </widget>
  1110. <widget class="Gtk.Dialog" id="ThePimp.ErrorWindow" design-size="229 133">
  1111. <property name="MemberName" />
  1112. <property name="Title" translatable="yes">Pimp Error</property>
  1113. <property name="Icon">stock:gtk-dialog-error Menu</property>
  1114. <property name="TypeHint">Dialog</property>
  1115. <property name="WindowPosition">CenterOnParent</property>
  1116. <property name="Modal">True</property>
  1117. <property name="Buttons">1</property>
  1118. <property name="HelpButton">False</property>
  1119. <property name="HasSeparator">False</property>
  1120. <child internal-child="VBox">
  1121. <widget class="Gtk.VBox" id="dialog1_VBox">
  1122. <property name="MemberName" />
  1123. <property name="BorderWidth">2</property>
  1124. <child>
  1125. <widget class="Gtk.HBox" id="hbox1">
  1126. <property name="MemberName" />
  1127. <property name="Spacing">20</property>
  1128. <property name="BorderWidth">10</property>
  1129. <child>
  1130. <widget class="Gtk.Image" id="image1">
  1131. <property name="MemberName" />
  1132. <property name="Pixbuf">stock:gtk-dialog-error Dialog</property>
  1133. </widget>
  1134. <packing>
  1135. <property name="Position">0</property>
  1136. <property name="AutoSize">True</property>
  1137. <property name="Expand">False</property>
  1138. <property name="Fill">False</property>
  1139. </packing>
  1140. </child>
  1141. <child>
  1142. <widget class="Gtk.Label" id="message">
  1143. <property name="MemberName" />
  1144. <property name="LabelProp" translatable="yes">Error!</property>
  1145. <property name="Wrap">True</property>
  1146. </widget>
  1147. <packing>
  1148. <property name="Position">1</property>
  1149. <property name="AutoSize">False</property>
  1150. <property name="Expand">False</property>
  1151. </packing>
  1152. </child>
  1153. </widget>
  1154. <packing>
  1155. <property name="Position">0</property>
  1156. <property name="AutoSize">False</property>
  1157. <property name="Fill">False</property>
  1158. </packing>
  1159. </child>
  1160. </widget>
  1161. </child>
  1162. <child internal-child="ActionArea">
  1163. <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
  1164. <property name="MemberName" />
  1165. <property name="Spacing">6</property>
  1166. <property name="BorderWidth">5</property>
  1167. <property name="Size">1</property>
  1168. <property name="LayoutStyle">End</property>
  1169. <child>
  1170. <widget class="Gtk.Button" id="buttonOk">
  1171. <property name="MemberName" />
  1172. <property name="CanDefault">True</property>
  1173. <property name="CanFocus">True</property>
  1174. <property name="UseStock">True</property>
  1175. <property name="Type">StockItem</property>
  1176. <property name="StockId">gtk-ok</property>
  1177. <property name="ResponseId">-5</property>
  1178. <signal name="Clicked" handler="OnButtonOkClicked" />
  1179. <property name="label">gtk-ok</property>
  1180. </widget>
  1181. <packing>
  1182. <property name="Expand">False</property>
  1183. <property name="Fill">False</property>
  1184. </packing>
  1185. </child>
  1186. </widget>
  1187. </child>
  1188. </widget>
  1189. </stetic-interface>