PageRenderTime 129ms CodeModel.GetById 73ms app.highlight 36ms RepoModel.GetById 0ms app.codeStats 0ms

/packages/gtk2/src/gtk+/gtk/gtkaboutdialog.inc

https://github.com/slibre/freepascal
Pascal | 114 lines | 79 code | 20 blank | 15 comment | 0 complexity | a81c726e65eb771e33b813a91e16bde3 MD5 | raw file
Possible License(s): LGPL-2.0, LGPL-2.1, LGPL-3.0
  1// included by gtk2.pas
  2
  3{$IFDEF read_forward_definitions}
  4{$ENDIF read_forward_definitions}
  5
  6//------------------------------------------------------------------------------
  7
  8{$IFDEF read_interface_types}
  9  PGtkAboutDialog = ^TGtkAboutDialog;
 10  TGtkAboutDialog = record
 11       parent_instance : TGtkDialog;
 12       private_data : gpointer;
 13    end;
 14
 15
 16  PGtkAboutDialogClass = ^TGtkAboutDialogClass;
 17  TGtkAboutDialogClass = record
 18       parent_class : TGtkDialogClass;
 19       _gtk_reserved1 : procedure ;cdecl;
 20       _gtk_reserved2 : procedure ;cdecl;
 21       _gtk_reserved3 : procedure ;cdecl;
 22       _gtk_reserved4 : procedure ;cdecl;
 23    end;
 24
 25    TGtkAboutDialogActivateLinkFunc = procedure (about:PGtkAboutDialog; link_:Pgchar; data:gpointer);cdecl;
 26{$ENDIF read_interface_types}
 27
 28//------------------------------------------------------------------------------
 29
 30{$IFDEF read_interface_rest}
 31function GTK_TYPE_ABOUT_DIALOG : GType;
 32function GTK_ABOUT_DIALOG(anObject : pointer) : PGtkAboutDialog;
 33function GTK_ABOUT_DIALOG_CLASS(klass : pointer) : PGtkAboutDialogClass;
 34function GTK_IS_ABOUT_DIALOG(anObject: pointer) : boolean;
 35function GTK_IS_ABOUT_DIALOG_CLASS(klass : pointer) : boolean;
 36function GTK_ABOUT_DIALOG_GET_CLASS(obj : pointer) : PGtkAboutDialogClass;
 37
 38function gtk_about_dialog_get_type: GType; cdecl; external gtklib;
 39function gtk_about_dialog_new:PGtkWidget;cdecl; external gtklib;
 40procedure gtk_show_about_dialog(parent:PGtkWindow; first_property_name:Pgchar);varargs;cdecl; external gtklib;
 41
 42{$ifndef GTK_DISABLE_DEPRECATED}
 43function gtk_about_dialog_get_name(about:PGtkAboutDialog): Pgchar;cdecl; external gtklib;
 44procedure gtk_about_dialog_set_name(about:PGtkAboutDialog; name:Pgchar);cdecl; external gtklib;
 45{$endif}
 46
 47function gtk_about_dialog_get_program_name(about:PGtkAboutDialog):Pgchar;cdecl; external gtklib;
 48procedure gtk_about_dialog_set_program_name(about:PGtkAboutDialog; name:Pgchar);cdecl; external gtklib;
 49function gtk_about_dialog_get_version(about:PGtkAboutDialog):Pgchar;cdecl; external gtklib;
 50procedure gtk_about_dialog_set_version(about:PGtkAboutDialog; version:Pgchar);cdecl; external gtklib;
 51function gtk_about_dialog_get_copyright(about:PGtkAboutDialog):Pgchar;cdecl; external gtklib;
 52procedure gtk_about_dialog_set_copyright(about:PGtkAboutDialog; copyright:Pgchar);cdecl;external;
 53function gtk_about_dialog_get_comments(about:PGtkAboutDialog):Pgchar;cdecl;external;
 54procedure gtk_about_dialog_set_comments(about:PGtkAboutDialog; comments:Pgchar);cdecl;external;
 55function gtk_about_dialog_get_license(about:PGtkAboutDialog):Pgchar;cdecl;external;
 56procedure gtk_about_dialog_set_license(about:PGtkAboutDialog; license:Pgchar);cdecl;external;
 57function gtk_about_dialog_get_wrap_license(about:PGtkAboutDialog):gboolean;cdecl;external;
 58procedure gtk_about_dialog_set_wrap_license(about:PGtkAboutDialog; wrap_license:gboolean);cdecl;external;
 59function gtk_about_dialog_get_website(about:PGtkAboutDialog):Pgchar;cdecl;external;
 60procedure gtk_about_dialog_set_website(about:PGtkAboutDialog; website:Pgchar);cdecl;external;
 61function gtk_about_dialog_get_website_label(about:PGtkAboutDialog):Pgchar;cdecl;external;
 62procedure gtk_about_dialog_set_website_label(about:PGtkAboutDialog; website_label:Pgchar);cdecl;external;
 63function gtk_about_dialog_get_authors(about:PGtkAboutDialog):PPgchar;cdecl;external;
 64procedure gtk_about_dialog_set_authors(about:PGtkAboutDialog; authors:PPgchar);cdecl;external;
 65function gtk_about_dialog_get_documenters(about:PGtkAboutDialog):PPgchar;cdecl;external;
 66procedure gtk_about_dialog_set_documenters(about:PGtkAboutDialog; documenters:PPgchar);cdecl;external;
 67function gtk_about_dialog_get_artists(about:PGtkAboutDialog):PPgchar;cdecl;external;
 68procedure gtk_about_dialog_set_artists(about:PGtkAboutDialog; artists:PPgchar);cdecl;external;
 69function gtk_about_dialog_get_translator_credits(about:PGtkAboutDialog):Pgchar;cdecl;external;
 70procedure gtk_about_dialog_set_translator_credits(about:PGtkAboutDialog; translator_credits:Pgchar);cdecl;external;
 71function gtk_about_dialog_get_logo(about:PGtkAboutDialog):PGdkPixbuf;cdecl;external;
 72procedure gtk_about_dialog_set_logo(about:PGtkAboutDialog; logo:PGdkPixbuf);cdecl;external;
 73function gtk_about_dialog_get_logo_icon_name(about:PGtkAboutDialog):Pgchar;cdecl;external;
 74procedure gtk_about_dialog_set_logo_icon_name(about:PGtkAboutDialog; icon_name:Pgchar);cdecl;external;
 75
 76function gtk_about_dialog_set_email_hook(func:TGtkAboutDialogActivateLinkFunc; data:gpointer; destroy:TGDestroyNotify):TGtkAboutDialogActivateLinkFunc;cdecl; external gtklib;
 77function gtk_about_dialog_set_url_hook(func:TGtkAboutDialogActivateLinkFunc; data:gpointer; destroy:TGDestroyNotify):TGtkAboutDialogActivateLinkFunc;cdecl; external gtklib;
 78{$ENDIF read_interface_rest}
 79
 80//------------------------------------------------------------------------------
 81
 82{$IFDEF read_implementation}
 83function GTK_TYPE_ABOUT_DIALOG : GType;
 84begin
 85  GTK_TYPE_ABOUT_DIALOG:=gtk_about_dialog_get_type;
 86end;
 87
 88function GTK_ABOUT_DIALOG(anObject : pointer) : PGtkAboutDialog;
 89begin
 90   GTK_ABOUT_DIALOG:=PGtkAboutDialog(G_TYPE_CHECK_INSTANCE_CAST(anObject,GTK_TYPE_ABOUT_DIALOG));
 91end;
 92
 93function GTK_ABOUT_DIALOG_CLASS(klass : pointer) : PGtkAboutDialogClass;
 94begin
 95   GTK_ABOUT_DIALOG_CLASS:=PGtkAboutDialogClass(G_TYPE_CHECK_CLASS_CAST(klass,GTK_TYPE_ABOUT_DIALOG));
 96end;
 97
 98function GTK_IS_ABOUT_DIALOG(anObject: pointer) : boolean;
 99begin
100   GTK_IS_ABOUT_DIALOG:=G_TYPE_CHECK_INSTANCE_TYPE(anObject,GTK_TYPE_ABOUT_DIALOG);
101end;
102
103function GTK_IS_ABOUT_DIALOG_CLASS(klass : pointer) : boolean;
104begin
105   GTK_IS_ABOUT_DIALOG_CLASS:=G_TYPE_CHECK_CLASS_TYPE(klass,GTK_TYPE_ABOUT_DIALOG);
106end;
107
108function GTK_ABOUT_DIALOG_GET_CLASS(obj : pointer) : PGtkAboutDialogClass;
109begin
110   GTK_ABOUT_DIALOG_GET_CLASS:=PGtkAboutDialogClass(G_TYPE_INSTANCE_GET_CLASS(obj,GTK_TYPE_ABOUT_DIALOG));
111end;
112
113{$ENDIF read_implementation}
114// included by gtk2.pas