gtkradiotoolbutton.inc 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {$IFDEF read_forward_definitions}
  2. {$ENDIF read_forward_definitions}
  3. {$IFDEF read_interface_types}
  4. type
  5. PGtkRadioToolButton = ^TGtkRadioToolButton;
  6. TGtkRadioToolButton = record
  7. parent : TGtkToggleToolButton;
  8. end;
  9. { Padding for future expansion }
  10. PGtkRadioToolButtonClass = ^TGtkRadioToolButtonClass;
  11. TGtkRadioToolButtonClass = record
  12. parent_class : TGtkToggleToolButtonClass;
  13. _gtk_reserved1 : procedure ;cdecl;
  14. _gtk_reserved2 : procedure ;
  15. _gtk_reserved3 : procedure ;
  16. _gtk_reserved4 : procedure ;
  17. end;
  18. {$ENDIF read_interface_types}
  19. {$IFDEF read_interface_rest}
  20. function GTK_TYPE_RADIO_TOOL_BUTTON : GType;
  21. function GTK_RADIO_TOOL_BUTTON(obj : pointer) : PGtkRadioToolButton;
  22. function GTK_RADIO_TOOL_BUTTON_CLASS(klass : pointer) : PGtkRadioToolButtonClass;
  23. function GTK_IS_RADIO_TOOL_BUTTON(obj : pointer) : gboolean;
  24. function GTK_IS_RADIO_TOOL_BUTTON_CLASS(klass : pointer) : gboolean;
  25. function GTK_RADIO_TOOL_BUTTON_GET_CLASS(obj : pointer) : PGtkRadioToolButtonClass;
  26. function gtk_radio_tool_button_get_type:GType;cdecl;external gtklib name 'gtk_radio_tool_button_get_type';
  27. function gtk_radio_tool_button_new(group:PGSList):PGtkToolItem;cdecl;external gtklib name 'gtk_radio_tool_button_new';
  28. function gtk_radio_tool_button_new_from_stock(group:PGSList; stock_id:Pgchar):PGtkToolItem;cdecl;external gtklib name 'gtk_radio_tool_button_new_from_stock';
  29. function gtk_radio_tool_button_new_from_widget(group:PGtkRadioToolButton):PGtkToolItem;cdecl;external gtklib name 'gtk_radio_tool_button_new_from_widget';
  30. function gtk_radio_tool_button_new_with_stock_from_widget(group:PGtkRadioToolButton; stock_id:Pgchar):PGtkToolItem;cdecl;external gtklib name 'gtk_radio_tool_button_new_with_stock_from_widget';
  31. function gtk_radio_tool_button_get_group(button:PGtkRadioToolButton):PGSList;cdecl;external gtklib name 'gtk_radio_tool_button_get_group';
  32. procedure gtk_radio_tool_button_set_group(button:PGtkRadioToolButton; group:PGSList);cdecl;external gtklib name 'gtk_radio_tool_button_set_group';
  33. {$endif read_interface_rest}
  34. {$ifdef read_implementation}
  35. function GTK_TYPE_RADIO_TOOL_BUTTON : GType;
  36. begin
  37. GTK_TYPE_RADIO_TOOL_BUTTON:=gtk_radio_tool_button_get_type;
  38. end;
  39. function GTK_RADIO_TOOL_BUTTON(obj : pointer) : PGtkRadioToolButton;
  40. begin
  41. GTK_RADIO_TOOL_BUTTON:=PGtkRadioToolButton(G_TYPE_CHECK_INSTANCE_CAST(obj,GTK_TYPE_RADIO_TOOL_BUTTON));
  42. end;
  43. function GTK_RADIO_TOOL_BUTTON_CLASS(klass : pointer) : PGtkRadioToolButtonClass;
  44. begin
  45. GTK_RADIO_TOOL_BUTTON_CLASS:=PGtkRadioToolButtonClass(G_TYPE_CHECK_CLASS_CAST(klass,GTK_TYPE_RADIO_TOOL_BUTTON));
  46. end;
  47. function GTK_IS_RADIO_TOOL_BUTTON(obj : pointer) : gboolean;
  48. begin
  49. GTK_IS_RADIO_TOOL_BUTTON:=G_TYPE_CHECK_INSTANCE_TYPE(obj,GTK_TYPE_RADIO_TOOL_BUTTON);
  50. end;
  51. function GTK_IS_RADIO_TOOL_BUTTON_CLASS(klass : pointer) : gboolean;
  52. begin
  53. GTK_IS_RADIO_TOOL_BUTTON_CLASS:=G_TYPE_CHECK_CLASS_TYPE(klass,GTK_TYPE_RADIO_TOOL_BUTTON);
  54. end;
  55. function GTK_RADIO_TOOL_BUTTON_GET_CLASS(obj : pointer) : PGtkRadioToolButtonClass;
  56. begin
  57. GTK_RADIO_TOOL_BUTTON_GET_CLASS:=PGtkRadioToolButtonClass(G_TYPE_INSTANCE_GET_CLASS(obj,GTK_TYPE_RADIO_TOOL_BUTTON));
  58. end;
  59. {$endif read_implementation}