CodeSnippets.CodeSnippets 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. version=pmwiki-1.0.5
  2. newline=²
  3. text=!!! PhpGtk1 examples²²[[#List]]²**{{CodeSnippets/Displaying Non Xpm Images}} [-using the libgd-] ²**CodeSnippets/DisplayXPMImages [-in a scrolled window, like a thumbnal viewer-]²**CodeSnippets/MenuIcon [-menu class that support icons (%bgcolor=#a0F0a0 color=green%new%% extended class menueditable to add common right click menu on any gtkeditable)-]²**CodeSnippets/MsgBox [-a message window class-]²**CodeSnippets/SimpleTextEditor [-A very simple texteditor-]²**CodeSnippets/UsingGettextTools [-for translated applications-]²**CodeSnippets/FastStartingWithGlade [-ten lines with glade-]²²[[#ListEnd]]²²!!! PhpGtk2 examples²**CodeSnippets/SourceWidgetTree [- a very nice way to write php code to show widget tree -]²**CodeSnippets/DrawingArea [-A nice drawing area example with 2D graphic transformations -]²**CodeSnippets/HelloGtk2 [-Another Hello World-]²**CodeSnippets/PhpGtkClock [- an PhpGtk Widget extension example (2 examples) -]²**GtkTable container example²**CodeSnippets/GtkFileSelectionDialog example²**CodeSnippets/GtkImage example²**GtkTreeViewListStore : an example of list management²**GtkTreeViewListStore2 : a second example with logical description of data²**CodeSnippets/FastStartingWithGlade2 : a class for auto-connecting predefined methods to right objects defined in a .glade file (xml).²**CodeSnippets/WidgetTree : how to display GTK widget tree²²[[#List]]²²²NOTE: Please indicate php-gtk version in your submission otherwise we will get a lot of warnings. Thanks!
  4. time=1158831286
  5. diff:1092069783:1092069783:=1,4c1²< [[#List]]²< **{{Code/Displaying Non Xpm Images}} [-using the libgd-]²< **Code/MenuIcon [-menu class that support icons-]²< [[#ListEnd]]²---²> Describe CodeSnippets here.²\ No newline at end of file²
  6. author=Marc Quinton
  7. author:1092069783=nathan
  8. host:1092069783=82.120.157.3
  9. name=CodeSnippets.CodeSnippets
  10. host=143.196.162.107
  11. agent=Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041217
  12. rev=43
  13. diff:1092071875:1092069783:minor=2,3c2,3²< **{{CodeSnippets/Displaying Non Xpm Images}} [-using the libgd-]²< **CodeSnippets/MenuIcon [-menu class that support icons-]²---²> **{{Code/Displaying Non Xpm Images}} [-using the libgd-]²> **Code/MenuIcon [-menu class that support icons-]²
  14. author:1092071875=nathan
  15. host:1092071875=82.120.157.3
  16. diff:1092403611:1092071875:=4d3²< **CodeSnippets/SimpleTextEditor [A very simple texteditor]²
  17. author:1092403611=
  18. host:1092403611=80.201.233.220
  19. diff:1092878752:1092403611:=2c2²< **{{CodeSnippets/Displaying Non Xpm Images}} [-using the libgd-] [-(%bgcolor=#a0F0a0 color=green%new%% xpm_resize)-]²---²> **{{CodeSnippets/Displaying Non Xpm Images}} [-using the libgd-]²
  20. author:1092878752=nathan
  21. host:1092878752=82.120.23.54
  22. diff:1092957763:1092878752:=4,5c4²< **CodeSnippets/SimpleTextEditor [-A very simple texteditor-]²< **CodeSnippets/msgbox [-a message window class-]²---²> **CodeSnippets/SimpleTextEditor [A very simple texteditor]²
  23. author:1092957763=nathan
  24. host:1092957763=82.120.146.248
  25. diff:1092957783:1092957763:=5c5²< **CodeSnippets/MsgBox [-a message window class-]²---²> **CodeSnippets/msgbox [-a message window class-]²
  26. author:1092957783=nathan
  27. host:1092957783=82.120.146.248
  28. diff:1092957809:1092957783:minor=4d3²< **CodeSnippets/MsgBox [-a message window class-]²5a5²> **CodeSnippets/MsgBox [-a message window class-]²
  29. author:1092957809=nathan
  30. host:1092957809=82.120.146.248
  31. diff:1098433710:1092957809:=7d6²< some unlovely website list:[[http://www.bnuol.com _]][[http://www.hddata.com _]][[http://www.by-and-by.com _]][[http://www.iqwork.com _]]²\ No newline at end of file²
  32. author:1098433710=
  33. host:1098433710=198.26.118.37
  34. diff:1098460332:1098433710:minor=6c6,7²< [[#ListEnd]]²\ No newline at end of file²---²> [[#ListEnd]]²> some unlovely website list:[[http://www.bnuol.com _]][[http://www.hddata.com _]][[http://www.by-and-by.com _]][[http://www.iqwork.com _]]²\ No newline at end of file²
  35. author:1098460332=deleted
  36. host:1098460332=66.237.86.100
  37. diff:1098494752:1098460332:=6,7c6²< [[#ListEnd]]²< some unlovely website list:[[http://www.bnuol.com _]][[http://www.hddata.com _]][[http://www.by-and-by.com _]][[http://www.iqwork.com _]]²\ No newline at end of file²---²> [[#ListEnd]]²\ No newline at end of file²
  38. author:1098494752=
  39. host:1098494752=198.26.118.37
  40. diff:1098724143:1098494752:=6c6,7²< [[#ListEnd]]²\ No newline at end of file²---²> [[#ListEnd]]²> some unlovely website list:[[http://www.bnuol.com _]][[http://www.hddata.com _]][[http://www.by-and-by.com _]][[http://www.iqwork.com _]]²\ No newline at end of file²
  41. author:1098724143=scott
  42. host:1098724143=68.167.115.34
  43. diff:1102705079:1098724143:=5d4²< [[http://raidrescue.unixrescue.com/ _]] [[http://datarecovery.unixrescue.com/ _]]²
  44. author:1102705079=
  45. host:1102705079=210.90.223.227
  46. diff:1102791236:1102705079:=4a5²> [[http://raidrescue.unixrescue.com/ _]] [[http://datarecovery.unixrescue.com/ _]]²
  47. author:1102791236=DrArcheh
  48. host:1102791236=82.217.106.198
  49. diff:1105524786:1102791236:=6,9c6²< [[#ListEnd]]²< ²< ²< fghfg²\ No newline at end of file²---²> [[#ListEnd]]²\ No newline at end of file²
  50. author:1105524786=
  51. host:1105524786=195.140.123.22
  52. diff:1105535354:1105524786:=6c6,9²< [[#ListEnd]]²\ No newline at end of file²---²> [[#ListEnd]]²> ²> ²> fghfg²\ No newline at end of file²
  53. author:1105535354=scott
  54. host:1105535354=68.167.115.34
  55. diff:1108387754:1105535354:=6d5²< **CodeSnippets/UsingGettextTools [-for translated applications-]²
  56. author:1108387754=joachim_werner
  57. host:1108387754=192.85.16.3
  58. diff:1109948503:1108387754:=3d2²< **CodeSnippets/DisplayXPMImages [-in a scrolled window, like a thumbnal viewer-]²
  59. author:1109948503=Joachim Werner
  60. host:1109948503=192.85.16.3
  61. diff:1110294861:1109948503:=8,9d7²< **CodeSnippets/FastStartingWithGlade [-ten lines with glade-]²< ²
  62. author:1110294861=dimitri giardina
  63. host:1110294861=217.59.66.178
  64. diff:1111744405:1110294861:=8,16d7²< ²< [[http://218.106.98.53/blog/index.php?op=ViewArticle&articleId=119&blogId=32 _]]²< [[http://blog.51alive.com/post/38/170 _]]²< [[http://blog.566home.com/more.asp?name=editors&id=40 _]]²< [[http://blog.fh21.com.cn/post/293/763 _]]²< [[http://blog.globalimporter.net/article_698-1602.htm _]]²< [[http://blog.sxidc.net/more.asp?name=editors&id=46 _]]²< [[http://blog.tom.com/blog/blogview.php?BloggerID=197482&BlogID=9143 _]]²< ²
  65. author:1111744405=
  66. host:1111744405=219.142.135.48
  67. diff:1112018932:1111744405:=7a8,16²> ²> [[http://218.106.98.53/blog/index.php?op=ViewArticle&articleId=119&blogId=32 _]]²> [[http://blog.51alive.com/post/38/170 _]]²> [[http://blog.566home.com/more.asp?name=editors&id=40 _]]²> [[http://blog.fh21.com.cn/post/293/763 _]]²> [[http://blog.globalimporter.net/article_698-1602.htm _]]²> [[http://blog.sxidc.net/more.asp?name=editors&id=46 _]]²> [[http://blog.tom.com/blog/blogview.php?BloggerID=197482&BlogID=9143 _]]²> ²
  68. author:1112018932=scott
  69. host:1112018932=68.167.115.34
  70. diff:1112627684:1112018932:=9,20c9²< [[http://www.ltjiaoyu.com/blogtz/more.asp?name=sell168&id=22 _]]²< [[http://www.ltjiaoyu.com/blogtz/more.asp?name=sell168&id=23 _]]²< [[http://www.ltjiaoyu.com/blogtz/more.asp?name=sell168&id=24 _]]²< [[http://www.ltjiaoyu.com/blogtz/more.asp?name=sell168&id=25 _]]²< [[http://www.fzzj.org/blog/more.asp?name=data828&id=90 _]]²< [[http://www.fzzj.org/blog/more.asp?name=data828&id=91 _]]²< [[http://www.fzzj.org/blog/more.asp?name=data828&id=92 _]]²< [[http://www.fzzj.org/blog/more.asp?name=data828&id=93 _]]²< [[http://www.qsdfz.com.cn/blog/more.asp?name=fs117&id=10789 _]]²< [[http://www.qsdfz.com.cn/blog/more.asp?name=fs117&id=10790 _]]²< [[http://www.qsdfz.com.cn/blog/more.asp?name=fs117&id=10791 _]]²< [[http://www.qsdfz.com.cn/blog/more.asp?name=fs117&id=10792 _]]²---²> ²
  71. author:1112627684=
  72. host:1112627684=219.232.57.38
  73. diff:1112633676:1112627684:=9c9,20²< ²---²> [[http://www.ltjiaoyu.com/blogtz/more.asp?name=sell168&id=22 _]]²> [[http://www.ltjiaoyu.com/blogtz/more.asp?name=sell168&id=23 _]]²> [[http://www.ltjiaoyu.com/blogtz/more.asp?name=sell168&id=24 _]]²> [[http://www.ltjiaoyu.com/blogtz/more.asp?name=sell168&id=25 _]]²> [[http://www.fzzj.org/blog/more.asp?name=data828&id=90 _]]²> [[http://www.fzzj.org/blog/more.asp?name=data828&id=91 _]]²> [[http://www.fzzj.org/blog/more.asp?name=data828&id=92 _]]²> [[http://www.fzzj.org/blog/more.asp?name=data828&id=93 _]]²> [[http://www.qsdfz.com.cn/blog/more.asp?name=fs117&id=10789 _]]²> [[http://www.qsdfz.com.cn/blog/more.asp?name=fs117&id=10790 _]]²> [[http://www.qsdfz.com.cn/blog/more.asp?name=fs117&id=10791 _]]²> [[http://www.qsdfz.com.cn/blog/more.asp?name=fs117&id=10792 _]]²
  74. author:1112633676=scott
  75. host:1112633676=68.167.115.34
  76. diff:1112707905:1112633676:minor=2c2²< **{{CodeSnippets/Displaying Non Xpm Images}} [-using the libgd-] ²---²> **{{CodeSnippets/Displaying Non Xpm Images}} [-using the libgd-] [-(%bgcolor=#a0F0a0 color=green%new%% xpm_resize)-]²4c4²< **CodeSnippets/MenuIcon [-menu class that support icons (%bgcolor=#a0F0a0 color=green%new%% extended class menueditable to add common right click menu on any gtkeditable)-]²---²> **CodeSnippets/MenuIcon [-menu class that support icons-]²
  77. author:1112707905=nathan
  78. host:1112707905=82.124.123.12
  79. diff:1114481392:1112707905:=9,14d8²< [[http://www.oioj.net/blog/blog.asp?name=data828 _]]²< [[http://www.xfblog.com/blog.asp?name=fs117 _]]²< [[http://www.xzkd.net/blog.asp?name=willpp _]]²< [[http://b-landagent.com/blog/blog.asp?name=data828 _]]²< [[http://ice2008.com/blog/blog.asp?name=beta123 _]]²< [[http://www.wjlxsx.com/blog/blog.asp?name=willpp _]]²
  80. author:1114481392=
  81. host:1114481392=219.142.137.156
  82. diff:1114519596:1114481392:=8a9,14²> [[http://www.oioj.net/blog/blog.asp?name=data828 _]]²> [[http://www.xfblog.com/blog.asp?name=fs117 _]]²> [[http://www.xzkd.net/blog.asp?name=willpp _]]²> [[http://b-landagent.com/blog/blog.asp?name=data828 _]]²> [[http://ice2008.com/blog/blog.asp?name=beta123 _]]²> [[http://www.wjlxsx.com/blog/blog.asp?name=willpp _]]²
  83. author:1114519596=scott
  84. host:1114519596=68.167.115.34
  85. diff:1115692156:1114519596:=9c9²< [[http://211.157.101.114/blog/blog.asp?name=choo0 _]] [[http://comicc.org/blog/blog.asp?name=data828 _]] [[http://lookthis.net/xzbg/blog.asp?name=beta123 _]] [[http://blog.0512.org/blog.asp?name=willpp _]] [[http://www.osnet.cn/blog/blog.asp?name=sell168 _]] [[http://www.xhzw.com/blog/blog.asp?name=choo0 _]] [[http://www.redsack.net/blog/blog.asp?name=sell168 _]] [[http://blog.ezimm.com/blog/blog.asp?name=data828 _]]²---²> ²
  86. author:1115692156=
  87. host:1115692156=219.142.142.161
  88. diff:1115735535:1115692156:=9c9²< ²---²> [[http://211.157.101.114/blog/blog.asp?name=choo0 _]] [[http://comicc.org/blog/blog.asp?name=data828 _]] [[http://lookthis.net/xzbg/blog.asp?name=beta123 _]] [[http://blog.0512.org/blog.asp?name=willpp _]] [[http://www.osnet.cn/blog/blog.asp?name=sell168 _]] [[http://www.xhzw.com/blog/blog.asp?name=choo0 _]] [[http://www.redsack.net/blog/blog.asp?name=sell168 _]] [[http://blog.ezimm.com/blog/blog.asp?name=data828 _]]²
  89. author:1115735535=scott
  90. host:1115735535=68.167.115.34
  91. diff:1118893349:1115735535:=9,10c9²< [[http://www.egyway.com _]]²< [[http://www.uswebdata.com _]]²---²> ²
  92. author:1118893349=bb
  93. host:1118893349=219.142.132.155
  94. diff:1118931818:1118893349:=9c9,10²< ²---²> [[http://www.egyway.com _]]²> [[http://www.uswebdata.com _]]²
  95. author:1118931818=scott
  96. host:1118931818=68.167.115.34
  97. diff:1147964333:1118931818:minor=9d8²< [[#ListEnd]]²11c10²< NOTE: Please indicate php-gtk version in your submission otherwise we will get a lot of warnings. Thanks!²\ No newline at end of file²---²> [[#ListEnd]]²\ No newline at end of file²
  98. author:1147964333=Martin Fasani
  99. host:1147964333=80.36.215.119
  100. diff:1147964980:1147964333:=9d8²< **CodeSnippets/HelloGtk2 [-Another Hello World-]²
  101. author:1147964980=Martin Fasani
  102. host:1147964980=80.36.215.119
  103. diff:1149857914:1147964980:=10,11d9²< **CodeSnippets/DrawingArea [-A nice drawing area example with 2D graphic transformations -]²< ²
  104. author:1149857914=Marc Quinton
  105. host:1149857914=143.196.162.107
  106. diff:1157447439:1149857914:=11d10²< **CodeSnippets/PhpGtkClock [- an PhpGtk composite Widget extention example -]²
  107. author:1157447439=Marc Quinton
  108. host:1157447439=143.196.162.107
  109. diff:1157451772:1157447439:=11c11²< **CodeSnippets/PhpGtkClock [- an PhpGtk Widget extension example (2 examples) -]²---²> **CodeSnippets/PhpGtkClock [- an PhpGtk composite Widget extention example -]²
  110. author:1157451772=Marc Quinton
  111. host:1157451772=143.196.162.107
  112. diff:1157624553:1157451772:=1,2d0²< !!! PhpGtk1 examples²< ²11,17d8²< ²< **CodeSnippets/DrawingArea [-A nice drawing area example with 2D graphic transformations -]²< ²< ²< [[#ListEnd]]²< ²< !!! PhpGtk2 examples²18a10²> **CodeSnippets/DrawingArea [-A nice drawing area example with 2D graphic transformations -]²20,21d11²< **GtkTable container example²< [[#List]]²22a13²> [[#ListEnd]]²
  113. author:1157624553=Marc Quinton
  114. host:1157624553=143.196.162.107
  115. diff:1157630903:1157624553:=11a12,14²> **CodeSnippets/DrawingArea [-A nice drawing area example with 2D graphic transformations -]²> ²> ²15d17²< **CodeSnippets/DrawingArea [-A nice drawing area example with 2D graphic transformations -]²19,20d20²< **CodeSnippets/FastStartingWithGlade2²< ²
  116. author:1157630903=Marc Quinton
  117. host:1157630903=143.196.162.107
  118. diff:1157631366:1157630903:=19c19²< **CodeSnippets/FastStartingWithGlade2 : a class for auto-connecting predefined methods to right objects defined in a .glade file (xml).²---²> **CodeSnippets/FastStartingWithGlade2²
  119. author:1157631366=Marc Quinton
  120. host:1157631366=143.196.162.107
  121. diff:1157643128:1157631366:=19d18²< **GtkTreeViewListStore : an example of list management²
  122. author:1157643128=Marc Quinton
  123. host:1157643128=143.196.162.107
  124. diff:1157983085:1157643128:=20d19²< **GtkTreeViewListStore2 : a second example with logical description of data²
  125. author:1157983085=Marc Quinton
  126. host:1157983085=143.196.162.107
  127. diff:1158762393:1157983085:=19d18²< **CodeSnippets/GtkFileSelectionDialog example²
  128. author:1158762393=Marc Quinton
  129. host:1158762393=143.196.162.107
  130. diff:1158824335:1158762393:=20d19²< **CodeSnippets/GtkImage example²
  131. author:1158824335=Marc Quinton
  132. host:1158824335=82.234.62.122
  133. diff:1158830634:1158824335:=24d23²< **CodeSnippets/WidgetTree : how to display GTK widget tree²
  134. author:1158830634=Marc Quinton
  135. host:1158830634=143.196.162.107
  136. diff:1158831286:1158830634:=15d14²< **CodeSnippets/SourceWidgetTree [- a very nice way to write php code to show widget tree -]²
  137. author:1158831286=Marc Quinton
  138. host:1158831286=143.196.162.107