libgnomeui.pp 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. unit libgnomeui;
  2. {off $DEFINE GNOME_EXCLUDE_EXPERIMENTAL}
  3. {$PACKRECORDS C}
  4. {$mode objfpc}
  5. interface
  6. Uses glib, gdk, gdk_imlib, gtk, libgnome, libart;
  7. const
  8. libgnomeuidll='gnomeui';
  9. Type
  10. va_list = pchar;
  11. {$define read_interface}
  12. {$undef read_implementation}
  13. (* GNOME initialization *)
  14. {$include gnomeinit.inc}
  15. (* GTK Helper Widgets *)
  16. {$include gtkpixmapmenuitem.inc}(* Menu item diplaying pixmap *)
  17. {$include gtkclock.inc}(* clock widget for counting or realtime *)
  18. {$include gtkdial.inc}(* Analog dial widget for number selection *)
  19. (* GNOME MISC. Types/Routines/Consts *)
  20. type
  21. TGnomeStringCallback = procedure (_string:Pgchar; data:gpointer);cdecl;
  22. TGnomeReplyCallback = procedure (reply:gint; data:gpointer);cdecl;
  23. TGnomePreferencesType = (GNOME_PREFERENCES_NEVER,GNOME_PREFERENCES_USER,
  24. GNOME_PREFERENCES_ALWAYS);
  25. {$include gnomeuidefs.inc} (* GNOME KEY CONST DEFINES *)
  26. {$include gnomegeometry.inc} (* WINDOW Geometry <-> String *)
  27. {$include gnometypebuiltins.inc} (* GTK type macros *)
  28. {$include gnomeicontext.inc}(* object & routines for painting word-wrapped text *)
  29. {$include gnomewinhints.inc} (* Convenience functions for working with XA_WIN_* hints *)
  30. {$include gnomedentryedit.inc} (* object(not widget) for handling the editing of Desktop entries *)
  31. (* GNOME MISC. Required Widgets *)
  32. {$include gnomepixmap.inc} (* widget for diplaying pixmaps *)
  33. {$include gnomedialog.inc} (* base dialog class *)
  34. {$include gnomemessagebox.inc}(* message/error dialog class *)
  35. {$include gnomeclient.inc} (*routines to add session-management to apps *)
  36. (* GNOME APP. Core widgets *)
  37. {$include gnomeabout.inc} (* Dialog for creating app. about box *)
  38. {$include gnomedock.inc} (* Docking Widget/Items & Layout *)
  39. {$include gnomeapp.inc} (* Main App Window, simplifies toolbars, menus etc. *)
  40. {$include gnomeappbar.inc} (* Main App bar, Status, progress, etc *)
  41. (* GNOME STOCK WIDGETS/ROUTINES *)
  42. {$include gnomestock.inc} (* Stock images/icons *)
  43. {$include gnomeapphelper.inc} (* Simplify stock menu/toolbar creation *)
  44. {$include gnomedialogutil.inc}(* Simplify message/error dialog creation *)
  45. {$ifndef GNOME_EXCLUDE_EXPERIMENTAL}
  46. {$include gnomeapputil.inc} (* App. Message Dialogs and Progress modifications *)
  47. {$endif}
  48. {$include gnomepopupmenu.inc} (* routines for handling popup menus and attaching to widgets *)
  49. {$include gnomepopuphelp.inc} (* add help, Cut, Copy & Paste menu to Widgets *)
  50. (* GNOME ENTRY(aka Edit) Widgets *)
  51. {$include gnomedateedit.inc}(* Entry For Date & Time *)
  52. {$include gnomeentry.inc} (* Entry with History *)
  53. {$include gnomefileentry.inc} (* Entry For File Names *)
  54. {$include gnomeiconentry.inc}(* Entry for selecting icons *)
  55. {$include gnomenumberentry.inc}(* Entry for number input *)
  56. {$include gnomepixmapentry.inc} (* Entry For large images *)
  57. (* GNOME "Select" Widgets *)
  58. {$include gnomecolorpicker.inc} (* button tied to color dialog *)
  59. {$include gnomefontpicker.inc} (* button tied to font dialog *)
  60. {$include gnomepaperselector.inc} (* Widget used to select paper type *)
  61. {$include gnomeiconsel.inc}(* Widget used to select an icon *)
  62. (* GNOME Muliple Document Interface *)
  63. {$include gnomemdichild.inc}
  64. {$include gnomemdigenericchild.inc}
  65. {$include gnomemdi.inc}
  66. {$include gnomemdisession.inc}
  67. (* GNOME Canvas & Types *)
  68. {$include gnomecanvas.inc}
  69. {$include gnomecanvasline.inc}
  70. {$include gnomecanvasimage.inc}
  71. {$include gnomecanvasload.inc}
  72. {$include gnomecanvasrectellipse.inc}
  73. {$include gnomecanvaspolygon.inc}
  74. {$include gnomecanvastext.inc}
  75. {$include gnomecanvaswidget.inc}
  76. {$include gnomeiconitem.inc}
  77. {$include gnomecanvasutil.inc}
  78. (* GNOME Misc. Widgets *)
  79. {$include gnomecalculator.inc} (* fully functional embedable dialog widget *)
  80. {$include gnomeiconlist.inc} (* Icon list widget *)
  81. {$include gnomehref.inc} (* icon for displaying clickable url *)
  82. {$include gnomeprocbar.inc} (* Gnome Process Bar *)
  83. {$ifndef GNOME_EXCLUDE_EXPERIMENTAL}
  84. {$include gnomeanimator.inc}
  85. {$endif}
  86. {$include gnomescores.inc} (* Game Dialog for displaying High scores *)
  87. {$include gnomepropertybox.inc} (* Dialog Box for handling property configuration *)
  88. (* GNOME Druid Wizard System *)
  89. {$include gnomedruidpage.inc}
  90. {$include gnomedruidpagestart.inc}
  91. {$include gnomedruidpagestandard.inc}
  92. {$include gnomedruidpagefinish.inc}
  93. {$include gnomedruid.inc}
  94. implementation
  95. {$undef read_interface}
  96. {$define read_implementation}
  97. (* GTK Helper Widgets *)
  98. {$include gtkpixmapmenuitem.inc}(* Menu item diplaying pixmap *)
  99. {$include gtkclock.inc}(* clock widget for counting or realtime *)
  100. {$include gtkdial.inc}(* Analog dial widget for number selection *)
  101. (* GNOME MISC. Types/Routines/Consts *)
  102. {$include gnomeuidefs.inc} (* GNOME KEY CONST DEFINES *)
  103. {$include gnomegeometry.inc} (* WINDOW Geometry <-> String *)
  104. {$include gnomeicontext.inc}(* object & routines for painting word-wrapped text *)
  105. {$include gnometypebuiltins.inc} (* GTK type macros *)
  106. {$include gnomewinhints.inc} (* Convenience functions for working with XA_WIN_* hints *)
  107. {$include gnomedentryedit.inc} (* object(not widget) for handling the editing of Desktop entries *)
  108. (* GNOME MISC. Required Widgets *)
  109. {$include gnomepixmap.inc} (* widget for diplaying pixmaps *)
  110. {$include gnomedialog.inc} (* base dialog class *)
  111. {$include gnomemessagebox.inc}(* message/error dialog class *)
  112. {$include gnomeclient.inc} (*routines to add session-management to apps *)
  113. (* GNOME APP. Core widgets *)
  114. {$include gnomeabout.inc} (* Dialog for creating app. about box *)
  115. {$include gnomedock.inc} (* Docking Widget/Items & Layout *)
  116. {$include gnomeapp.inc} (* Main App Window, simplifies toolbars, menus etc. *)
  117. {$include gnomeappbar.inc} (* Main App bar, Status, progress, etc *)
  118. (* GNOME STOCK WIDGETS/ROUTINES *)
  119. {$include gnomestock.inc} (* Stock images/icons *)
  120. {$include gnomeapphelper.inc} (* Simplify stock menu/toolbar creation *)
  121. {$include gnomedialogutil.inc}(* Simplify message/error dialog creation *)
  122. {$ifndef GNOME_EXCLUDE_EXPERIMENTAL}
  123. {$include gnomeapputil.inc} (* App. Message Dialogs and Progress modifications *)
  124. {$endif}
  125. {$include gnomepopupmenu.inc} (* routines for handling popup menus and attaching to widgets *)
  126. {$include gnomepopuphelp.inc} (* add help, Cut, Copy & Paste menu to Widgets *)
  127. (* GNOME ENTRY(aka Edit) Widgets *)
  128. {$include gnomedateedit.inc}(* Entry For Date & Time *)
  129. {$include gnomeentry.inc} (* Entry with History *)
  130. {$include gnomefileentry.inc} (* Entry For File Names *)
  131. {$include gnomeiconentry.inc}(* Entry for selecting icons *)
  132. {$include gnomenumberentry.inc}(* Entry for number input *)
  133. {$include gnomepixmapentry.inc} (* Entry For large images *)
  134. (* GNOME "Select" Widgets *)
  135. {$include gnomecolorpicker.inc} (* button tied to color dialog *)
  136. {$include gnomefontpicker.inc} (* button tied to font dialog *)
  137. {$include gnomepaperselector.inc} (* Widget used to select paper type *)
  138. {$include gnomeiconsel.inc}(* Widget used to select an icon *)
  139. (* GNOME Muliple Document Interface *)
  140. {$include gnomemdichild.inc}
  141. {$include gnomemdigenericchild.inc}
  142. {$include gnomemdi.inc}
  143. {$include gnomemdisession.inc}
  144. (* GNOME Canvas & Types *)
  145. {$include gnomecanvas.inc}
  146. {$include gnomecanvasline.inc}
  147. {$include gnomecanvasimage.inc}
  148. {$include gnomecanvasload.inc}
  149. {$include gnomecanvasrectellipse.inc}
  150. {$include gnomecanvaspolygon.inc}
  151. {$include gnomecanvastext.inc}
  152. {$include gnomecanvaswidget.inc}
  153. {$include gnomeiconitem.inc}
  154. {$include gnomecanvasutil.inc}
  155. (* GNOME Misc. Widgets *)
  156. {$include gnomecalculator.inc} (* fully functional embedable dialog widget *)
  157. {$include gnomeiconlist.inc} (* Icon list widget *)
  158. {$include gnomehref.inc} (* icon for displaying clickable url *)
  159. {$include gnomeprocbar.inc} (* Gnome Process Bar *)
  160. {$ifndef GNOME_EXCLUDE_EXPERIMENTAL}
  161. {$include gnomeanimator.inc}
  162. {$endif}
  163. {$include gnomescores.inc} (* Game Dialog for displaying High scores *)
  164. {$include gnomepropertybox.inc} (* Dialog Box for handling property configuration *)
  165. (* GNOME Druid Wizard System *)
  166. {$include gnomedruidpage.inc}
  167. {$include gnomedruidpagestart.inc}
  168. {$include gnomedruidpagestandard.inc}
  169. {$include gnomedruidpagefinish.inc}
  170. {$include gnomedruid.inc}
  171. end.