You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

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