summaryrefslogtreecommitdiff
path: root/packages/gtk2/src/gtk+/gtk/gtkhbbox.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gtk2/src/gtk+/gtk/gtkhbbox.inc')
-rw-r--r--packages/gtk2/src/gtk+/gtk/gtkhbbox.inc81
1 files changed, 81 insertions, 0 deletions
diff --git a/packages/gtk2/src/gtk+/gtk/gtkhbbox.inc b/packages/gtk2/src/gtk+/gtk/gtkhbbox.inc
new file mode 100644
index 0000000000..8cc8db4809
--- /dev/null
+++ b/packages/gtk2/src/gtk+/gtk/gtkhbbox.inc
@@ -0,0 +1,81 @@
+// included by gtk2.pas
+
+{$IFDEF read_forward_definitions}
+{$ENDIF read_forward_definitions}
+
+//------------------------------------------------------------------------------
+
+{$IFDEF read_interface_types}
+ PGtkHButtonBox = ^TGtkHButtonBox;
+ TGtkHButtonBox = record
+ button_box : TGtkButtonBox;
+ end;
+
+ PGtkHButtonBoxClass = ^TGtkHButtonBoxClass;
+ TGtkHButtonBoxClass = record
+ parent_class : TGtkButtonBoxClass;
+ end;
+
+{$ENDIF read_interface_types}
+
+//------------------------------------------------------------------------------
+
+{$IFDEF read_interface_rest}
+function GTK_TYPE_HBUTTON_BOX : GType;
+function GTK_HBUTTON_BOX(obj: pointer) : PGtkHButtonBox;
+function GTK_HBUTTON_BOX_CLASS(klass: pointer) : PGtkHButtonBoxClass;
+function GTK_IS_HBUTTON_BOX(obj: pointer) : boolean;
+function GTK_IS_HBUTTON_BOX_CLASS(klass: pointer) : boolean;
+function GTK_HBUTTON_BOX_GET_CLASS(obj: pointer) : PGtkHButtonBoxClass;
+
+
+function gtk_hbutton_box_get_type:TGtkType; cdecl; external gtklib;
+function gtk_hbutton_box_new:PGtkWidget; cdecl; external gtklib;
+{ buttons can be added by gtk_container_add() }
+
+{$ifndef GTK_DISABLE_DEPRECATED}
+function gtk_hbutton_box_get_spacing_default:gint; cdecl; external gtklib;
+function gtk_hbutton_box_get_layout_default:TGtkButtonBoxStyle; cdecl; external gtklib;
+procedure gtk_hbutton_box_set_spacing_default(spacing:gint); cdecl; external gtklib;
+procedure gtk_hbutton_box_set_layout_default(layout:TGtkButtonBoxStyle); cdecl; external gtklib;
+{$endif}
+
+
+{$ENDIF read_interface_rest}
+
+//------------------------------------------------------------------------------
+
+{$IFDEF read_implementation}
+function GTK_TYPE_HBUTTON_BOX : GType;
+begin
+ GTK_TYPE_HBUTTON_BOX:=gtk_hbutton_box_get_type;
+end;
+
+function GTK_HBUTTON_BOX(obj: pointer) : PGtkHButtonBox;
+begin
+ GTK_HBUTTON_BOX:=PGtkHButtonBox(GTK_CHECK_CAST(obj,GTK_TYPE_HBUTTON_BOX));
+end;
+
+function GTK_HBUTTON_BOX_CLASS(klass: pointer) : PGtkHButtonBoxClass;
+begin
+ GTK_HBUTTON_BOX_CLASS:=PGtkHButtonBoxClass(GTK_CHECK_CLASS_CAST(klass,GTK_TYPE_HBUTTON_BOX));
+end;
+
+function GTK_IS_HBUTTON_BOX(obj: pointer) : boolean;
+begin
+ GTK_IS_HBUTTON_BOX:=GTK_CHECK_TYPE(obj,GTK_TYPE_HBUTTON_BOX);
+end;
+
+function GTK_IS_HBUTTON_BOX_CLASS(klass: pointer) : boolean;
+begin
+ GTK_IS_HBUTTON_BOX_CLASS:=GTK_CHECK_CLASS_TYPE(klass,GTK_TYPE_HBUTTON_BOX);
+end;
+
+function GTK_HBUTTON_BOX_GET_CLASS(obj: pointer) : PGtkHButtonBoxClass;
+begin
+ GTK_HBUTTON_BOX_GET_CLASS:=PGtkHButtonBoxClass(GTK_CHECK_GET_CLASS(obj,GTK_TYPE_HBUTTON_BOX));
+end;
+
+{$ENDIF read_implementation}
+// included by gtk2.pas
+