1 /* 2 * This file is part of d-dazzle. 3 * 4 * d-dazzle is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU Lesser General Public License 6 * as published by the Free Software Foundation; either version 3 7 * of the License, or (at your option) any later version, with 8 * some exceptions, please read the COPYING file. 9 * 10 * d-dazzle is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU Lesser General Public License for more details. 14 * 15 * You should have received a copy of the GNU Lesser General Public License 16 * along with d-dazzle; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA 18 */ 19 module dazzle.c.types; 20 21 public import cairo.c.types; 22 public import gdk.c.types; 23 public import gio.c.types; 24 public import glib.c.types; 25 public import gobject.c.types; 26 public import gtk.c.types; 27 public import pango.c.types; 28 29 30 public enum DzlAnimationMode 31 { 32 LINEAR = 0, 33 EASE_IN_QUAD = 1, 34 EASE_IN_OUT_QUAD = 3, 35 EASE_OUT_QUAD = 2, 36 EASE_IN_CUBIC = 4, 37 EASE_OUT_CUBIC = 5, 38 EASE_IN_OUT_CUBIC = 6, 39 } 40 alias DzlAnimationMode AnimationMode; 41 42 public enum DzlDockRevealerTransitionType 43 { 44 NONE = 0, 45 SLIDE_RIGHT = 1, 46 SLIDE_LEFT = 2, 47 SLIDE_UP = 3, 48 SLIDE_DOWN = 4, 49 } 50 alias DzlDockRevealerTransitionType DockRevealerTransitionType; 51 52 public enum DzlFileTransferFlags 53 { 54 NONE = 0, 55 MOVE = 1, 56 } 57 alias DzlFileTransferFlags FileTransferFlags; 58 59 public enum DzlPropertiesFlags 60 { 61 NONE = 0, 62 STATEFUL_BOOLEANS = 1, 63 } 64 alias DzlPropertiesFlags PropertiesFlags; 65 66 public enum DzlShortcutMatch 67 { 68 NONE = 0, 69 EQUAL = 1, 70 PARTIAL = 2, 71 } 72 alias DzlShortcutMatch ShortcutMatch; 73 74 public enum DzlShortcutPhase 75 { 76 DISPATCH = 0, 77 /** 78 * Indicates the capture phase of the shortcut 79 * activation. This allows parent widgets to intercept the keybinding before 80 * it is dispatched to the target #GdkWindow. 81 */ 82 CAPTURE = 1, 83 BUBBLE = 2, 84 GLOBAL = 4, 85 } 86 alias DzlShortcutPhase ShortcutPhase; 87 88 /** 89 * DzlShortcutType specifies the kind of shortcut that is being described. 90 * More values may be added to this enumeration over time. 91 * 92 * Since: 3.20 93 */ 94 public enum DzlShortcutType 95 { 96 /** 97 * The shortcut is a keyboard accelerator. The #DzlShortcutsShortcut:accelerator 98 * property will be used. 99 */ 100 ACCELERATOR = 0, 101 /** 102 * The shortcut is a pinch gesture. GTK+ provides an icon and subtitle. 103 */ 104 GESTURE_PINCH = 1, 105 /** 106 * The shortcut is a stretch gesture. GTK+ provides an icon and subtitle. 107 */ 108 GESTURE_STRETCH = 2, 109 /** 110 * The shortcut is a clockwise rotation gesture. GTK+ provides an icon and subtitle. 111 */ 112 GESTURE_ROTATE_CLOCKWISE = 3, 113 /** 114 * The shortcut is a counterclockwise rotation gesture. GTK+ provides an icon and subtitle. 115 */ 116 GESTURE_ROTATE_COUNTERCLOCKWISE = 4, 117 /** 118 * The shortcut is a two-finger swipe gesture. GTK+ provides an icon and subtitle. 119 */ 120 GESTURE_TWO_FINGER_SWIPE_LEFT = 5, 121 /** 122 * The shortcut is a two-finger swipe gesture. GTK+ provides an icon and subtitle. 123 */ 124 GESTURE_TWO_FINGER_SWIPE_RIGHT = 6, 125 /** 126 * The shortcut is a gesture. The #DzlShortcutsShortcut:icon property will be 127 * used. 128 */ 129 GESTURE = 7, 130 } 131 alias DzlShortcutType ShortcutType; 132 133 public enum DzlSliderPosition 134 { 135 NONE = 0, 136 TOP = 1, 137 RIGHT = 2, 138 BOTTOM = 3, 139 LEFT = 4, 140 } 141 alias DzlSliderPosition SliderPosition; 142 143 public enum DzlTabStyle 144 { 145 ICONS = 2, 146 TEXT = 1, 147 BOTH = 3, 148 } 149 alias DzlTabStyle TabStyle; 150 151 public enum DzlThreeGridColumn 152 { 153 LEFT = 0, 154 CENTER = 1, 155 RIGHT = 2, 156 } 157 alias DzlThreeGridColumn ThreeGridColumn; 158 159 public enum DzlTreeDropPosition 160 { 161 INTO = 0, 162 BEFORE = 1, 163 AFTER = 2, 164 } 165 alias DzlTreeDropPosition TreeDropPosition; 166 167 struct DzlAnimation; 168 169 struct DzlAnimationClass 170 { 171 GObjectClass parentClass; 172 } 173 174 struct DzlApplication 175 { 176 GtkApplication parentInstance; 177 } 178 179 struct DzlApplicationClass 180 { 181 GtkApplicationClass parentClass; 182 /** */ 183 extern(C) void function(DzlApplication* self, const(char)* resourcePath) addResources; 184 /** */ 185 extern(C) void function(DzlApplication* self, const(char)* resourcePath) removeResources; 186 void* Reserved1; 187 void* Reserved2; 188 void* Reserved3; 189 void* Reserved4; 190 void* Reserved5; 191 void* Reserved6; 192 void* Reserved7; 193 void* Reserved8; 194 } 195 196 struct DzlApplicationWindow 197 { 198 GtkApplicationWindow parentInstance; 199 } 200 201 struct DzlApplicationWindowClass 202 { 203 GtkApplicationWindowClass parentClass; 204 /** 205 * 206 * Params: 207 * self = a #DzlApplicationWindow 208 * Returns: %TRUE if @self is fullscreen, otherwise %FALSE. 209 */ 210 extern(C) int function(DzlApplicationWindow* self) getFullscreen; 211 /** */ 212 extern(C) void function(DzlApplicationWindow* self, int fullscreen) setFullscreen; 213 void* Reserved1; 214 void* Reserved2; 215 void* Reserved3; 216 void* Reserved4; 217 void* Reserved5; 218 void* Reserved6; 219 void* Reserved7; 220 void* Reserved8; 221 } 222 223 struct DzlBin 224 { 225 GtkBin parentInstance; 226 } 227 228 struct DzlBinClass 229 { 230 GtkBinClass parentClass; 231 } 232 233 struct DzlBindingGroup; 234 235 struct DzlBindingGroupClass 236 { 237 GObjectClass parentClass; 238 } 239 240 struct DzlBoldingLabel; 241 242 struct DzlBoldingLabelClass 243 { 244 GtkLabelClass parentClass; 245 } 246 247 struct DzlBox 248 { 249 GtkBox parentInstance; 250 } 251 252 struct DzlBoxClass 253 { 254 GtkBoxClass parentClass; 255 } 256 257 struct DzlBoxTheatric; 258 259 struct DzlBoxTheatricClass 260 { 261 GObjectClass parentClass; 262 } 263 264 struct DzlCenteringBin 265 { 266 GtkBin parentInstance; 267 } 268 269 struct DzlCenteringBinClass 270 { 271 GtkBinClass parent; 272 } 273 274 struct DzlChildPropertyAction; 275 276 struct DzlChildPropertyActionClass 277 { 278 GObjectClass parentClass; 279 } 280 281 struct DzlColumnLayout 282 { 283 GtkContainer parentInstance; 284 } 285 286 struct DzlColumnLayoutClass 287 { 288 GtkContainerClass parent; 289 } 290 291 struct DzlCounter 292 { 293 DzlCounterValue* values; 294 const(char)* category; 295 const(char)* name; 296 const(char)* description; 297 } 298 299 struct DzlCounterArena; 300 301 struct DzlCounterValue 302 { 303 long value; 304 long[7] padding; 305 } 306 307 struct DzlCountersWindow 308 { 309 GtkWindow parentInstance; 310 } 311 312 struct DzlCountersWindowClass 313 { 314 GtkWindowClass parentClass; 315 void* Reserved1; 316 void* Reserved2; 317 void* Reserved3; 318 void* Reserved4; 319 } 320 321 struct DzlCpuGraph; 322 323 struct DzlCpuGraphClass 324 { 325 DzlGraphViewClass parentClass; 326 } 327 328 struct DzlCpuModel; 329 330 struct DzlCpuModelClass 331 { 332 DzlGraphModelClass parentClass; 333 } 334 335 struct DzlCssProvider; 336 337 struct DzlCssProviderClass 338 { 339 GtkCssProviderClass parentClass; 340 } 341 342 struct DzlDirectoryModel; 343 344 struct DzlDirectoryModelClass 345 { 346 GObjectClass parentClass; 347 } 348 349 struct DzlDirectoryReaper; 350 351 struct DzlDirectoryReaperClass 352 { 353 GObjectClass parentClass; 354 } 355 356 struct DzlDock; 357 358 struct DzlDockBin 359 { 360 GtkContainer parentInstance; 361 } 362 363 struct DzlDockBinClass 364 { 365 GtkContainerClass parent; 366 /** */ 367 extern(C) GtkWidget* function(DzlDockBin* self, GtkPositionType edge) createEdge; 368 void* Reserved1; 369 void* Reserved2; 370 void* Reserved3; 371 void* Reserved4; 372 void* Reserved5; 373 void* Reserved6; 374 void* Reserved7; 375 void* Reserved8; 376 } 377 378 struct DzlDockBinEdge 379 { 380 DzlDockRevealer parentInstance; 381 } 382 383 struct DzlDockBinEdgeClass 384 { 385 DzlDockRevealerClass parent; 386 /** */ 387 extern(C) void function(DzlDockBinEdge* self) moveToBinChild; 388 void* Reserved1; 389 void* Reserved2; 390 void* Reserved3; 391 void* Reserved4; 392 void* Reserved5; 393 void* Reserved6; 394 void* Reserved7; 395 void* Reserved8; 396 } 397 398 struct DzlDockInterface 399 { 400 GTypeInterface parent; 401 } 402 403 struct DzlDockItem; 404 405 struct DzlDockItemInterface 406 { 407 GTypeInterface parent; 408 /** */ 409 extern(C) void function(DzlDockItem* self, DzlDockManager* manager) setManager; 410 /** 411 * 412 * Params: 413 * self = A #DzlDockItem 414 * Returns: A #DzlDockmanager. 415 */ 416 extern(C) DzlDockManager* function(DzlDockItem* self) getManager; 417 /** */ 418 extern(C) void function(DzlDockItem* self, DzlDockManager* oldManager) managerSet; 419 /** */ 420 extern(C) void function(DzlDockItem* self, DzlDockItem* child) presentChild; 421 /** */ 422 extern(C) void function(DzlDockItem* self) updateVisibility; 423 /** */ 424 extern(C) int function(DzlDockItem* self, DzlDockItem* child) getChildVisible; 425 /** */ 426 extern(C) void function(DzlDockItem* self, DzlDockItem* child, int childVisible) setChildVisible; 427 /** 428 * 429 * Params: 430 * self = A #DzlDockItem 431 * Returns: A newly allocated string or %NULL. 432 */ 433 extern(C) char* function(DzlDockItem* self) getTitle; 434 /** 435 * 436 * Params: 437 * self = A #DzlDockItem 438 * Returns: A newly allocated string or %NULL. 439 */ 440 extern(C) char* function(DzlDockItem* self) getIconName; 441 /** 442 * 443 * Params: 444 * self = a #DzlDockItem 445 * Returns: %TRUE if the dock item can be closed by the user, otherwise %FALSE. 446 */ 447 extern(C) int function(DzlDockItem* self) getCanClose; 448 /** 449 * 450 * Params: 451 * self = a #DzlDockItem 452 * Returns: %TRUE if the widget can be minimized. 453 */ 454 extern(C) int function(DzlDockItem* self, DzlDockItem* descendant) canMinimize; 455 /** 456 * 457 * Params: 458 * self = a #DzlDockItem 459 * Returns: %TRUE if the dock item was closed 460 */ 461 extern(C) int function(DzlDockItem* self) close; 462 /** 463 * 464 * Params: 465 * self = a #DzlDockItem 466 * child = A #DzlDockItem that is a child of @self 467 * position = A location for a #GtkPositionType 468 * Returns: %TRUE if @child was minimized. Otherwise %FALSE and @position 469 * may be updated to a suggested position. 470 */ 471 extern(C) int function(DzlDockItem* self, DzlDockItem* child, GtkPositionType* position) minimize; 472 /** */ 473 extern(C) void function(DzlDockItem* self, DzlDockItem* child) release; 474 /** */ 475 extern(C) void function(DzlDockItem* self) presented; 476 /** 477 * 478 * Params: 479 * self = a #DzlDockItem 480 * Returns: a #GIcon or %NULL 481 */ 482 extern(C) GIcon* function(DzlDockItem* self) refGicon; 483 /** */ 484 extern(C) void function(DzlDockItem* self) needsAttention; 485 } 486 487 struct DzlDockManager 488 { 489 GObject parentInstance; 490 } 491 492 struct DzlDockManagerClass 493 { 494 GObjectClass parent; 495 /** */ 496 extern(C) void function(DzlDockManager* self, DzlDock* dock) registerDock; 497 /** */ 498 extern(C) void function(DzlDockManager* self, DzlDock* dock) unregisterDock; 499 void* Reserved1; 500 void* Reserved2; 501 void* Reserved3; 502 void* Reserved4; 503 void* Reserved5; 504 void* Reserved6; 505 void* Reserved7; 506 void* Reserved8; 507 } 508 509 struct DzlDockOverlay 510 { 511 GtkEventBox parentInstance; 512 } 513 514 struct DzlDockOverlayClass 515 { 516 GtkEventBoxClass parent; 517 /** */ 518 extern(C) void function(DzlDockOverlay* self) hideEdges; 519 void* Reserved1; 520 void* Reserved2; 521 void* Reserved3; 522 void* Reserved4; 523 void* Reserved5; 524 void* Reserved6; 525 void* Reserved7; 526 void* Reserved8; 527 } 528 529 struct DzlDockOverlayEdge; 530 531 struct DzlDockOverlayEdgeClass 532 { 533 DzlBinClass parentClass; 534 } 535 536 struct DzlDockPaned 537 { 538 DzlMultiPaned parentInstance; 539 } 540 541 struct DzlDockPanedClass 542 { 543 DzlMultiPanedClass parent; 544 void* Reserved1; 545 void* Reserved2; 546 void* Reserved3; 547 void* Reserved4; 548 void* Reserved5; 549 void* Reserved6; 550 void* Reserved7; 551 void* Reserved8; 552 } 553 554 struct DzlDockRevealer 555 { 556 DzlBin parentInstance; 557 } 558 559 struct DzlDockRevealerClass 560 { 561 DzlBinClass parent; 562 void* Reserved1; 563 void* Reserved2; 564 void* Reserved3; 565 void* Reserved4; 566 void* Reserved5; 567 void* Reserved6; 568 void* Reserved7; 569 void* Reserved8; 570 } 571 572 struct DzlDockStack 573 { 574 GtkBox parentInstance; 575 } 576 577 struct DzlDockStackClass 578 { 579 GtkBoxClass parent; 580 void* Reserved1; 581 void* Reserved2; 582 void* Reserved3; 583 void* Reserved4; 584 } 585 586 struct DzlDockTransientGrab; 587 588 struct DzlDockTransientGrabClass 589 { 590 GObjectClass parentClass; 591 } 592 593 struct DzlDockWidget 594 { 595 DzlBin parentInstance; 596 } 597 598 struct DzlDockWidgetClass 599 { 600 DzlBinClass parent; 601 void* Reserved1; 602 void* Reserved2; 603 void* Reserved3; 604 void* Reserved4; 605 void* Reserved5; 606 void* Reserved6; 607 void* Reserved7; 608 void* Reserved8; 609 } 610 611 struct DzlDockWindow 612 { 613 GtkWindow parentInstance; 614 } 615 616 struct DzlDockWindowClass 617 { 618 GtkWindowClass parent; 619 void* Reserved1; 620 void* Reserved2; 621 void* Reserved3; 622 void* Reserved4; 623 void* Reserved5; 624 void* Reserved6; 625 void* Reserved7; 626 void* Reserved8; 627 } 628 629 struct DzlElasticBin 630 { 631 GtkBin parentInstance; 632 } 633 634 struct DzlElasticBinClass 635 { 636 GtkBinClass parentClass; 637 void* Reserved1; 638 void* Reserved2; 639 void* Reserved3; 640 void* Reserved4; 641 } 642 643 struct DzlEmptyState 644 { 645 GtkBin parentInstance; 646 } 647 648 struct DzlEmptyStateClass 649 { 650 GtkBinClass parentClass; 651 } 652 653 struct DzlEntryBox; 654 655 struct DzlEntryBoxClass 656 { 657 GtkBoxClass parentClass; 658 } 659 660 struct DzlFileChooserEntry 661 { 662 GtkBin parentInstance; 663 } 664 665 struct DzlFileChooserEntryClass 666 { 667 GtkBinClass parentClass; 668 void* Reserved1; 669 void* Reserved2; 670 void* Reserved3; 671 void* Reserved4; 672 } 673 674 struct DzlFileTransfer 675 { 676 GObject parentInstance; 677 } 678 679 struct DzlFileTransferClass 680 { 681 GObjectClass parentClass; 682 void*[12] Padding; 683 } 684 685 struct DzlFileTransferStat 686 { 687 long nFilesTotal; 688 long nFiles; 689 long nDirsTotal; 690 long nDirs; 691 long nBytesTotal; 692 long nBytes; 693 long[10] Padding; 694 } 695 696 struct DzlFuzzyIndex; 697 698 struct DzlFuzzyIndexBuilder; 699 700 struct DzlFuzzyIndexBuilderClass 701 { 702 GObjectClass parentClass; 703 } 704 705 struct DzlFuzzyIndexClass 706 { 707 GObjectClass parentClass; 708 } 709 710 struct DzlFuzzyIndexCursor; 711 712 struct DzlFuzzyIndexCursorClass 713 { 714 GObjectClass parentClass; 715 } 716 717 struct DzlFuzzyIndexMatch; 718 719 struct DzlFuzzyIndexMatchClass 720 { 721 GObjectClass parentClass; 722 } 723 724 struct DzlFuzzyMutableIndex; 725 726 struct DzlFuzzyMutableIndexMatch 727 { 728 const(char)* key; 729 void* value; 730 float score; 731 uint id; 732 } 733 734 struct DzlGraphColumn; 735 736 struct DzlGraphColumnClass 737 { 738 GObjectClass parentClass; 739 } 740 741 struct DzlGraphLineRenderer; 742 743 struct DzlGraphLineRendererClass 744 { 745 GObjectClass parentClass; 746 } 747 748 struct DzlGraphModel 749 { 750 GObject parentInstance; 751 } 752 753 struct DzlGraphModelClass 754 { 755 GObjectClass parent; 756 } 757 758 struct DzlGraphModelIter 759 { 760 void*[8] data; 761 } 762 763 struct DzlGraphRenderer; 764 765 struct DzlGraphRendererInterface 766 { 767 GTypeInterface parent; 768 /** */ 769 extern(C) void function(DzlGraphRenderer* self, DzlGraphModel* table, long xBegin, long xEnd, double yBegin, double yEnd, cairo_t* cr, cairo_rectangle_int_t* area) render; 770 } 771 772 struct DzlGraphView 773 { 774 GtkDrawingArea parentInstance; 775 } 776 777 struct DzlGraphViewClass 778 { 779 GtkDrawingAreaClass parentClass; 780 void* Reserved1; 781 void* Reserved2; 782 void* Reserved3; 783 void* Reserved4; 784 void* Reserved5; 785 void* Reserved6; 786 void* Reserved7; 787 void* Reserved8; 788 } 789 790 struct DzlHeap 791 { 792 char* data; 793 size_t len; 794 } 795 796 struct DzlJoinedMenu; 797 798 struct DzlJoinedMenuClass 799 { 800 GMenuModelClass parentClass; 801 } 802 803 struct DzlListBox 804 { 805 GtkListBox parentInstance; 806 } 807 808 struct DzlListBoxClass 809 { 810 GtkListBoxClass parentClass; 811 void*[4] Reserved; 812 } 813 814 struct DzlListBoxRow 815 { 816 GtkListBoxRow parentInstance; 817 } 818 819 struct DzlListBoxRowClass 820 { 821 GtkListBoxRowClass parentClass; 822 } 823 824 struct DzlListModelFilter; 825 826 struct DzlListModelFilterClass 827 { 828 GObjectClass parentClass; 829 } 830 831 struct DzlListStoreAdapter 832 { 833 GObject parentInstance; 834 } 835 836 struct DzlListStoreAdapterClass 837 { 838 GObjectClass parentClass; 839 } 840 841 struct DzlMenuButton 842 { 843 GtkMenuButton parentInstance; 844 } 845 846 struct DzlMenuButtonClass 847 { 848 GtkMenuButtonClass parentClass; 849 void* Reserved1; 850 void* Reserved2; 851 void* Reserved3; 852 void* Reserved4; 853 } 854 855 struct DzlMenuManager; 856 857 struct DzlMenuManagerClass 858 { 859 GObjectClass parentClass; 860 } 861 862 struct DzlMultiPaned 863 { 864 GtkContainer parentInstance; 865 } 866 867 struct DzlMultiPanedClass 868 { 869 GtkContainerClass parent; 870 /** */ 871 extern(C) void function(DzlMultiPaned* self, GtkWidget* child) resizeDragBegin; 872 /** */ 873 extern(C) void function(DzlMultiPaned* self, GtkWidget* child) resizeDragEnd; 874 void* Reserved1; 875 void* Reserved2; 876 void* Reserved3; 877 void* Reserved4; 878 void* Reserved5; 879 void* Reserved6; 880 void* Reserved7; 881 void* Reserved8; 882 } 883 884 struct DzlPath; 885 886 struct DzlPathBar; 887 888 struct DzlPathBarClass 889 { 890 GtkBoxClass parentClass; 891 } 892 893 struct DzlPathClass 894 { 895 GObjectClass parentClass; 896 } 897 898 struct DzlPathElement; 899 900 struct DzlPathElementClass 901 { 902 GObjectClass parentClass; 903 } 904 905 struct DzlPatternSpec; 906 907 struct DzlPillBox; 908 909 struct DzlPillBoxClass 910 { 911 GtkEventBoxClass parentClass; 912 } 913 914 struct DzlPreferences; 915 916 struct DzlPreferencesBin 917 { 918 GtkBin parentInstance; 919 } 920 921 struct DzlPreferencesBinClass 922 { 923 GtkBinClass parentClass; 924 /** */ 925 extern(C) void function(DzlPreferencesBin* self, GSettings* settings) connect; 926 /** */ 927 extern(C) void function(DzlPreferencesBin* self, GSettings* settings) disconnect; 928 /** */ 929 extern(C) int function(DzlPreferencesBin* self, DzlPatternSpec* spec) matches; 930 void* Reserved1; 931 void* Reserved2; 932 void* Reserved3; 933 void* Reserved4; 934 void* Reserved5; 935 void* Reserved6; 936 void* Reserved7; 937 void* Reserved8; 938 } 939 940 struct DzlPreferencesEntry 941 { 942 DzlPreferencesBin parentInstance; 943 } 944 945 struct DzlPreferencesEntryClass 946 { 947 DzlPreferencesBinClass parentClass; 948 } 949 950 struct DzlPreferencesFileChooserButton; 951 952 struct DzlPreferencesFileChooserButtonClass 953 { 954 DzlPreferencesBinClass parentClass; 955 } 956 957 struct DzlPreferencesFlowBox; 958 959 struct DzlPreferencesFlowBoxClass 960 { 961 DzlColumnLayoutClass parentClass; 962 } 963 964 struct DzlPreferencesFontButton; 965 966 struct DzlPreferencesFontButtonClass 967 { 968 DzlPreferencesBinClass parentClass; 969 } 970 971 struct DzlPreferencesGroup; 972 973 struct DzlPreferencesGroupClass 974 { 975 GtkBinClass parentClass; 976 } 977 978 struct DzlPreferencesInterface 979 { 980 GTypeInterface parentInterface; 981 /** */ 982 extern(C) void function(DzlPreferences* self, const(char)* pageName, GHashTable* map) setPage; 983 /** */ 984 extern(C) void function(DzlPreferences* self, const(char)* pageName, const(char)* title, int priority) addPage; 985 /** */ 986 extern(C) void function(DzlPreferences* self, const(char)* pageName, const(char)* groupName, const(char)* title, int priority) addGroup; 987 /** */ 988 extern(C) void function(DzlPreferences* self, const(char)* pageName, const(char)* groupName, const(char)* title, GtkSelectionMode mode, int priority) addListGroup; 989 /** */ 990 extern(C) uint function(DzlPreferences* self, const(char)* pageName, const(char)* groupName, const(char)* schemaId, const(char)* key, const(char)* path, const(char)* variantString, const(char)* title, const(char)* subtitle, const(char)* keywords, int priority) addRadio; 991 /** */ 992 extern(C) uint function(DzlPreferences* self, const(char)* pageName, const(char)* groupName, const(char)* schemaId, const(char)* key, const(char)* title, const(char)* keywords, int priority) addFontButton; 993 /** */ 994 extern(C) uint function(DzlPreferences* self, const(char)* pageName, const(char)* groupName, const(char)* schemaId, const(char)* key, const(char)* path, const(char)* variantString, const(char)* title, const(char)* subtitle, const(char)* keywords, int priority) addSwitch; 995 /** */ 996 extern(C) uint function(DzlPreferences* self, const(char)* pageName, const(char)* groupName, const(char)* schemaId, const(char)* key, const(char)* path, const(char)* title, const(char)* subtitle, const(char)* keywords, int priority) addSpinButton; 997 /** */ 998 extern(C) uint function(DzlPreferences* self, const(char)* pageName, const(char)* groupName, const(char)* schemaId, const(char)* key, const(char)* path, const(char)* title, const(char)* subtitle, GtkFileChooserAction action, const(char)* keywords, int priority) addFileChooser; 999 /** */ 1000 extern(C) uint function(DzlPreferences* self, const(char)* pageName, const(char)* groupName, GtkWidget* widget, const(char)* keywords, int priority) addCustom; 1001 /** */ 1002 extern(C) int function(DzlPreferences* self, uint widgetId) removeId; 1003 /** 1004 * Returns: A #GtkWidget or %NULL. 1005 */ 1006 extern(C) GtkWidget* function(DzlPreferences* self, uint widgetId) getWidget; 1007 /** */ 1008 extern(C) uint function(DzlPreferences* self, const(char)* pageName, const(char)* groupName, GtkWidget* firstWidget, void* args) addTableRowVa; 1009 } 1010 1011 struct DzlPreferencesPage; 1012 1013 struct DzlPreferencesPageClass 1014 { 1015 GtkBinClass parentClass; 1016 } 1017 1018 struct DzlPreferencesSpinButton; 1019 1020 struct DzlPreferencesSpinButtonClass 1021 { 1022 DzlPreferencesBinClass parentClass; 1023 } 1024 1025 struct DzlPreferencesSwitch; 1026 1027 struct DzlPreferencesSwitchClass 1028 { 1029 DzlPreferencesBinClass parentClass; 1030 } 1031 1032 struct DzlPreferencesView 1033 { 1034 GtkBin parentInstance; 1035 } 1036 1037 struct DzlPreferencesViewClass 1038 { 1039 GtkBinClass parentClass; 1040 void*[8] Reserved; 1041 } 1042 1043 struct DzlPriorityBox 1044 { 1045 GtkBox parentInstance; 1046 } 1047 1048 struct DzlPriorityBoxClass 1049 { 1050 GtkBoxClass parentClass; 1051 void* Reserved1; 1052 void* Reserved2; 1053 void* Reserved3; 1054 void* Reserved4; 1055 } 1056 1057 struct DzlProgressButton 1058 { 1059 GtkButton parentInstance; 1060 } 1061 1062 struct DzlProgressButtonClass 1063 { 1064 GtkButtonClass parentClass; 1065 void* Reserved1; 1066 void* Reserved2; 1067 void* Reserved3; 1068 void* Reserved4; 1069 } 1070 1071 struct DzlProgressIcon; 1072 1073 struct DzlProgressIconClass 1074 { 1075 GtkDrawingAreaClass parentClass; 1076 } 1077 1078 struct DzlProgressMenuButton 1079 { 1080 GtkMenuButton parentInstance; 1081 } 1082 1083 struct DzlProgressMenuButtonClass 1084 { 1085 GtkMenuButtonClass parentClass; 1086 void* Reserved1; 1087 void* Reserved2; 1088 void* Reserved3; 1089 void* Reserved4; 1090 } 1091 1092 struct DzlPropertiesGroup; 1093 1094 struct DzlPropertiesGroupClass 1095 { 1096 GObjectClass parentClass; 1097 } 1098 1099 struct DzlRadioBox 1100 { 1101 GtkBin parentInstance; 1102 } 1103 1104 struct DzlRadioBoxClass 1105 { 1106 GtkBinClass parentClass; 1107 void* Padding1; 1108 void* Padding2; 1109 void* Padding3; 1110 void* Padding4; 1111 } 1112 1113 struct DzlReadOnlyListModel; 1114 1115 struct DzlReadOnlyListModelClass 1116 { 1117 GObjectClass parentClass; 1118 } 1119 1120 struct DzlRecursiveFileMonitor; 1121 1122 struct DzlRecursiveFileMonitorClass 1123 { 1124 GObjectClass parentClass; 1125 } 1126 1127 struct DzlRing 1128 { 1129 ubyte* data; 1130 uint len; 1131 uint pos; 1132 } 1133 1134 struct DzlScrolledWindow; 1135 1136 struct DzlScrolledWindowClass 1137 { 1138 GtkScrolledWindowClass parentClass; 1139 } 1140 1141 struct DzlSearchBar 1142 { 1143 GtkBin parentInstance; 1144 } 1145 1146 struct DzlSearchBarClass 1147 { 1148 GtkBinClass parentClass; 1149 } 1150 1151 struct DzlSettingsFlagAction; 1152 1153 struct DzlSettingsFlagActionClass 1154 { 1155 GObjectClass parentClass; 1156 } 1157 1158 struct DzlSettingsSandwich; 1159 1160 struct DzlSettingsSandwichClass 1161 { 1162 GObjectClass parentClass; 1163 } 1164 1165 struct DzlShortcutAccelDialog; 1166 1167 struct DzlShortcutAccelDialogClass 1168 { 1169 GtkDialogClass parentClass; 1170 } 1171 1172 struct DzlShortcutChord; 1173 1174 struct DzlShortcutChordTable; 1175 1176 struct DzlShortcutContext; 1177 1178 struct DzlShortcutContextClass 1179 { 1180 GObjectClass parentClass; 1181 } 1182 1183 struct DzlShortcutController; 1184 1185 struct DzlShortcutControllerClass 1186 { 1187 GObjectClass parentClass; 1188 } 1189 1190 /** 1191 * The #DzlShortcutEntry structure can be used to bulk register shortcuts 1192 * for a particular widget. It can also do the necessary hooks of registering 1193 * commands that can be changed using the keytheme components. 1194 */ 1195 struct DzlShortcutEntry 1196 { 1197 /** 1198 * the command identifier 1199 */ 1200 const(char)* command; 1201 /** 1202 * the phase for activation, or 0 for the default 1203 */ 1204 DzlShortcutPhase phase; 1205 /** 1206 * the default accelerator for the command, if any 1207 */ 1208 const(char)* defaultAccel; 1209 /** 1210 * the section for the shortcuts window 1211 */ 1212 const(char)* section; 1213 /** 1214 * the group for the shortcuts window 1215 */ 1216 const(char)* group; 1217 /** 1218 * the title for the shortcuts window 1219 */ 1220 const(char)* title; 1221 /** 1222 * the subtitle for the shortcuts window, if any 1223 */ 1224 const(char)* subtitle; 1225 } 1226 1227 struct DzlShortcutLabel; 1228 1229 struct DzlShortcutLabelClass 1230 { 1231 GtkBoxClass parentClass; 1232 } 1233 1234 struct DzlShortcutManager 1235 { 1236 GObject parentInstance; 1237 } 1238 1239 struct DzlShortcutManagerClass 1240 { 1241 GObjectClass parentInstance; 1242 void* Reserved1; 1243 void* Reserved2; 1244 void* Reserved3; 1245 void* Reserved4; 1246 void* Reserved5; 1247 void* Reserved6; 1248 void* Reserved7; 1249 void* Reserved8; 1250 } 1251 1252 struct DzlShortcutModel; 1253 1254 struct DzlShortcutModelClass 1255 { 1256 GtkTreeStoreClass parentClass; 1257 } 1258 1259 struct DzlShortcutSimpleLabel; 1260 1261 struct DzlShortcutSimpleLabelClass 1262 { 1263 GtkBoxClass parentClass; 1264 } 1265 1266 struct DzlShortcutTheme 1267 { 1268 GObject parentInstance; 1269 } 1270 1271 struct DzlShortcutThemeClass 1272 { 1273 GObjectClass parentClass; 1274 void* Reserved1; 1275 void* Reserved2; 1276 void* Reserved3; 1277 void* Reserved4; 1278 void* Reserved5; 1279 void* Reserved6; 1280 void* Reserved7; 1281 void* Reserved8; 1282 } 1283 1284 struct DzlShortcutThemeEditor 1285 { 1286 GtkBin parentInstance; 1287 } 1288 1289 struct DzlShortcutThemeEditorClass 1290 { 1291 GtkBinClass parentClass; 1292 void* Reserved1; 1293 void* Reserved2; 1294 void* Reserved3; 1295 void* Reserved4; 1296 void* Reserved5; 1297 void* Reserved6; 1298 void* Reserved7; 1299 void* Reserved8; 1300 } 1301 1302 struct DzlShortcutTooltip; 1303 1304 struct DzlShortcutTooltipClass 1305 { 1306 GObjectClass parentClass; 1307 } 1308 1309 struct DzlShortcutsGroup; 1310 1311 struct DzlShortcutsGroupClass; 1312 1313 struct DzlShortcutsSection; 1314 1315 struct DzlShortcutsSectionClass; 1316 1317 struct DzlShortcutsShortcut; 1318 1319 struct DzlShortcutsShortcutClass; 1320 1321 struct DzlShortcutsWindow 1322 { 1323 GtkWindow window; 1324 } 1325 1326 struct DzlShortcutsWindowClass 1327 { 1328 GtkWindowClass parentClass; 1329 /** */ 1330 extern(C) void function(DzlShortcutsWindow* self) close; 1331 /** */ 1332 extern(C) void function(DzlShortcutsWindow* self) search; 1333 } 1334 1335 struct DzlSignalGroup; 1336 1337 struct DzlSignalGroupClass 1338 { 1339 GObjectClass parentClass; 1340 } 1341 1342 struct DzlSimpleLabel; 1343 1344 struct DzlSimpleLabelClass 1345 { 1346 GtkWidgetClass parentClass; 1347 } 1348 1349 struct DzlSimplePopover 1350 { 1351 GtkPopover parentInstance; 1352 } 1353 1354 struct DzlSimplePopoverClass 1355 { 1356 GtkPopoverClass parent; 1357 /** */ 1358 extern(C) void function(DzlSimplePopover* self, const(char)* text) activate; 1359 /** */ 1360 extern(C) int function(DzlSimplePopover* self, uint position, const(char)* chars, uint nChars) insertText; 1361 /** */ 1362 extern(C) void function(DzlSimplePopover* self) changed; 1363 } 1364 1365 struct DzlSlider 1366 { 1367 GtkContainer parentInstance; 1368 } 1369 1370 struct DzlSliderClass 1371 { 1372 GtkContainerClass parentInstance; 1373 } 1374 1375 struct DzlStackList 1376 { 1377 GtkBin parentInstance; 1378 } 1379 1380 struct DzlStackListClass 1381 { 1382 GtkBinClass parentInstance; 1383 /** */ 1384 extern(C) void function(DzlStackList* self, GtkListBoxRow* row) rowActivated; 1385 /** */ 1386 extern(C) void function(DzlStackList* self, GtkListBoxRow* row) headerActivated; 1387 void* Reserved1; 1388 void* Reserved2; 1389 void* Reserved3; 1390 void* Reserved4; 1391 void* Reserved5; 1392 void* Reserved6; 1393 void* Reserved7; 1394 void* Reserved8; 1395 } 1396 1397 struct DzlStateMachine 1398 { 1399 GObject parentInstance; 1400 } 1401 1402 struct DzlStateMachineClass 1403 { 1404 GObjectClass parent; 1405 } 1406 1407 struct DzlSuggestion 1408 { 1409 GObject parentInstance; 1410 } 1411 1412 struct DzlSuggestionButton 1413 { 1414 GtkStack parentInstance; 1415 } 1416 1417 struct DzlSuggestionButtonClass 1418 { 1419 GtkStackClass parentClass; 1420 void*[8] Reserved; 1421 } 1422 1423 struct DzlSuggestionClass 1424 { 1425 GObjectClass parentClass; 1426 /** 1427 * 1428 * Params: 1429 * self = a #DzlSuggestion 1430 * typedText = The user entered text 1431 * Returns: Suffix to append to @typed_text 1432 * or %NULL to leave it unchanged. 1433 */ 1434 extern(C) char* function(DzlSuggestion* self, const(char)* typedText) suggestSuffix; 1435 /** 1436 * 1437 * Params: 1438 * self = An #DzlSuggestion 1439 * typedText = the text that was typed into the entry 1440 * Returns: The replacement text to insert into 1441 * the entry when "tab" is pressed to complete the insertion. 1442 */ 1443 extern(C) char* function(DzlSuggestion* self, const(char)* typedText) replaceTypedText; 1444 /** 1445 * 1446 * Params: 1447 * self = a #DzlSuggestion 1448 * Returns: a #GIcon or %NULL 1449 */ 1450 extern(C) GIcon* function(DzlSuggestion* self) getIcon; 1451 /** 1452 * 1453 * Params: 1454 * self = a #DzlSuggestion 1455 * widget = a widget that may contain the surface 1456 * Returns: a #cairo_surface_t or %NULL 1457 */ 1458 extern(C) cairo_surface_t* function(DzlSuggestion* self, GtkWidget* widget) getIconSurface; 1459 void* Reserved3; 1460 void* Reserved4; 1461 } 1462 1463 struct DzlSuggestionEntry 1464 { 1465 GtkEntry parentInstance; 1466 } 1467 1468 struct DzlSuggestionEntryBuffer 1469 { 1470 GtkEntryBuffer parentInstance; 1471 } 1472 1473 struct DzlSuggestionEntryBufferClass 1474 { 1475 GtkEntryBufferClass parentClass; 1476 void* Reserved1; 1477 void* Reserved2; 1478 void* Reserved3; 1479 void* Reserved4; 1480 } 1481 1482 struct DzlSuggestionEntryClass 1483 { 1484 GtkEntryClass parentClass; 1485 /** */ 1486 extern(C) void function(DzlSuggestionEntry* self) hideSuggestions; 1487 /** */ 1488 extern(C) void function(DzlSuggestionEntry* self) showSuggestions; 1489 /** */ 1490 extern(C) void function(DzlSuggestionEntry* self, int amount) moveSuggestion; 1491 /** */ 1492 extern(C) void function(DzlSuggestionEntry* self, DzlSuggestion* suggestion) suggestionActivated; 1493 /** */ 1494 extern(C) void function(DzlSuggestionEntry* self, DzlSuggestion* suggestion) suggestionSelected; 1495 void*[7] Reserved; 1496 } 1497 1498 struct DzlSuggestionPopover; 1499 1500 struct DzlSuggestionPopoverClass 1501 { 1502 GtkWindowClass parentClass; 1503 } 1504 1505 struct DzlSuggestionRow 1506 { 1507 DzlListBoxRow parentInstance; 1508 } 1509 1510 struct DzlSuggestionRowClass 1511 { 1512 DzlListBoxRowClass parentClass; 1513 void*[4] Reserved; 1514 } 1515 1516 struct DzlTab; 1517 1518 struct DzlTabClass 1519 { 1520 DzlBinClass parentClass; 1521 } 1522 1523 struct DzlTabStrip 1524 { 1525 GtkBox parentInstance; 1526 } 1527 1528 struct DzlTabStripClass 1529 { 1530 GtkBoxClass parent; 1531 void* Reserved1; 1532 void* Reserved2; 1533 void* Reserved3; 1534 void* Reserved4; 1535 void* Reserved5; 1536 void* Reserved6; 1537 void* Reserved7; 1538 void* Reserved8; 1539 } 1540 1541 struct DzlTaskCache; 1542 1543 struct DzlTaskCacheClass 1544 { 1545 GObjectClass parentClass; 1546 } 1547 1548 struct DzlThemeManager; 1549 1550 struct DzlThemeManagerClass 1551 { 1552 GObjectClass parentClass; 1553 } 1554 1555 struct DzlThreeGrid 1556 { 1557 GtkContainer parentInstance; 1558 } 1559 1560 struct DzlThreeGridClass 1561 { 1562 GtkContainerClass parentClass; 1563 void* Reserved1; 1564 void* Reserved2; 1565 void* Reserved3; 1566 void* Reserved4; 1567 void* Reserved5; 1568 void* Reserved6; 1569 void* Reserved7; 1570 void* Reserved8; 1571 } 1572 1573 struct DzlTree 1574 { 1575 GtkTreeView parentInstance; 1576 } 1577 1578 struct DzlTreeBuilder 1579 { 1580 GObject parentInstance; 1581 } 1582 1583 struct DzlTreeBuilderClass 1584 { 1585 GObjectClass parentClass; 1586 /** */ 1587 extern(C) void function(DzlTreeBuilder* builder, GtkWidget* tree) added; 1588 /** */ 1589 extern(C) void function(DzlTreeBuilder* builder, GtkWidget* tree) removed; 1590 /** */ 1591 extern(C) void function(DzlTreeBuilder* builder, DzlTreeNode* node) buildNode; 1592 /** */ 1593 extern(C) void function(DzlTreeBuilder* builder, DzlTreeNode* parent) buildChildren; 1594 /** */ 1595 extern(C) int function(DzlTreeBuilder* builder, DzlTreeNode* node) nodeActivated; 1596 /** */ 1597 extern(C) void function(DzlTreeBuilder* builder, DzlTreeNode* node) nodeSelected; 1598 /** */ 1599 extern(C) void function(DzlTreeBuilder* builder, DzlTreeNode* node) nodeUnselected; 1600 /** */ 1601 extern(C) void function(DzlTreeBuilder* builder, DzlTreeNode* node, GMenu* menu) nodePopup; 1602 /** */ 1603 extern(C) void function(DzlTreeBuilder* builder, DzlTreeNode* node) nodeExpanded; 1604 /** */ 1605 extern(C) void function(DzlTreeBuilder* builder, DzlTreeNode* node) nodeCollapsed; 1606 /** */ 1607 extern(C) int function(DzlTreeBuilder* builder, DzlTreeNode* node) nodeDraggable; 1608 /** */ 1609 extern(C) int function(DzlTreeBuilder* builder, DzlTreeNode* node, GtkSelectionData* data) nodeDroppable; 1610 /** */ 1611 extern(C) int function(DzlTreeBuilder* builder, DzlTreeNode* node, GtkSelectionData* data) dragDataGet; 1612 /** */ 1613 extern(C) int function(DzlTreeBuilder* builder, DzlTreeNode* dragNode, DzlTreeNode* dropNode, DzlTreeDropPosition position, GdkDragAction action, GtkSelectionData* data) dragNodeReceived; 1614 /** */ 1615 extern(C) int function(DzlTreeBuilder* builder, DzlTreeNode* dropNode, DzlTreeDropPosition position, GdkDragAction action, GtkSelectionData* data) dragDataReceived; 1616 /** */ 1617 extern(C) int function(DzlTreeBuilder* builder, DzlTreeNode* node) dragNodeDelete; 1618 /** */ 1619 extern(C) void function(DzlTreeBuilder* tree, DzlTreeNode* node, GtkCellRenderer* cell) cellDataFunc; 1620 void*[11] Padding; 1621 } 1622 1623 struct DzlTreeClass 1624 { 1625 GtkTreeViewClass parentClass; 1626 /** */ 1627 extern(C) void function(DzlTree* self, const(char)* actionGroup, const(char)* actionName, const(char)* param) action; 1628 /** */ 1629 extern(C) void function(DzlTree* self, GtkWidget* widget) populatePopup; 1630 void*[12] Padding; 1631 } 1632 1633 struct DzlTreeNode; 1634 1635 struct DzlTreeNodeClass 1636 { 1637 GObjectClass parentClass; 1638 } 1639 1640 struct DzlTrie; 1641 1642 struct DzlWidgetActionGroup; 1643 1644 struct DzlWidgetActionGroupClass 1645 { 1646 GObjectClass parentClass; 1647 } 1648 1649 struct _DzlGraphColumnClass 1650 { 1651 GObjectClass parent; 1652 } 1653 1654 /** 1655 * Function prototype for callbacks provided to dzl_counter_arena_foreach(). 1656 * 1657 * Params: 1658 * counter = the counter. 1659 * userData = data supplied to dzl_counter_arena_foreach(). 1660 */ 1661 public alias extern(C) void function(DzlCounter* counter, void* userData) DzlCounterForeachFunc; 1662 1663 /** */ 1664 public alias extern(C) int function(DzlDirectoryModel* self, GFile* directory, GFileInfo* fileInfo, void* userData) DzlDirectoryModelVisibleFunc; 1665 1666 /** */ 1667 public alias extern(C) int function(GObject* object, void* userData) DzlListModelFilterFunc; 1668 1669 /** */ 1670 public alias extern(C) int function(GFile* file, void* userData) DzlRecursiveIgnoreFunc; 1671 1672 /** */ 1673 public alias extern(C) void function(DzlShortcutChord* chord, void* chordData, void* userData) DzlShortcutChordTableForeach; 1674 1675 /** 1676 * Called for stack lists that are bound to a #GListModel with 1677 * dzl_stack_list_push() for each item that gets added to the model. 1678 * 1679 * Params: 1680 * item = the item from the model for which to create a widget for 1681 * userData = user data from dzl_stack_list_push() 1682 * 1683 * Returns: a #GtkWidget that represents @item 1684 */ 1685 public alias extern(C) GtkWidget* function(void* item, void* userData) DzlStackListCreateWidgetFunc; 1686 1687 /** 1688 * Positions the popover in the coordinates defined by @area. 1689 * 1690 * If @is_absolute is set to %TRUE, then absolute coordinates are used. 1691 * Otherwise, the position is expected to be relative to @entry. 1692 * 1693 * Params: 1694 * entry = a #DzlSuggestionEntry 1695 * area = location to place the popover 1696 * isAbsolute = If the area is in absolute coordinates 1697 * userData = closure data 1698 * 1699 * Since: 3.26 1700 */ 1701 public alias extern(C) void function(DzlSuggestionEntry* entry, GdkRectangle* area, int* isAbsolute, void* userData) DzlSuggestionPositionFunc; 1702 1703 /** 1704 * #DzlTaskCacheCallback is the prototype for a function to be executed to 1705 * populate an item in the cache. 1706 * 1707 * This function will be executed when a fault (cache miss) occurs from 1708 * a caller requesting an item from the cache. 1709 * 1710 * The callee may complete the operation asynchronously, but MUST return 1711 * either a GObject using g_task_return_pointer() or a #GError using 1712 * g_task_return_error() or g_task_return_new_error(). 1713 * 1714 * Params: 1715 * self = An #DzlTaskCache. 1716 * key = the key to fetch 1717 * task = the task to be completed 1718 * userData = user_data registered at initialization. 1719 */ 1720 public alias extern(C) void function(DzlTaskCache* self, void* key, GTask* task, void* userData) DzlTaskCacheCallback; 1721 1722 /** 1723 * Callback to check if @node should be visible. 1724 * 1725 * Returns: %TRUE if @node should be visible. 1726 */ 1727 public alias extern(C) int function(DzlTree* tree, DzlTreeNode* node, void* userData) DzlTreeFilterFunc; 1728 1729 /** 1730 * Callback to check @child, a child of @node, matches a lookup 1731 * request. Returns %TRUE if @child matches, %FALSE if not. 1732 * 1733 * Returns: %TRUE if @child matched 1734 */ 1735 public alias extern(C) int function(DzlTree* tree, DzlTreeNode* node, DzlTreeNode* child, void* userData) DzlTreeFindFunc; 1736 1737 /** */ 1738 public alias extern(C) int function(DzlTreeNode* a, DzlTreeNode* b, void* userData) DzlTreeNodeCompareFunc; 1739 1740 /** */ 1741 public alias extern(C) int function(DzlTrie* dzlTrie, const(char)* key, void* value, void* userData) DzlTrieTraverseFunc; 1742 1743 enum COUNTER_REQUIRES_ATOMIC = 1; 1744 alias DZL_COUNTER_REQUIRES_ATOMIC = COUNTER_REQUIRES_ATOMIC; 1745 1746 enum DOCK_BIN_STYLE_CLASS_PINNED = "pinned"; 1747 alias DZL_DOCK_BIN_STYLE_CLASS_PINNED = DOCK_BIN_STYLE_CLASS_PINNED; 1748 1749 enum ENABLE_TRACE = 0; 1750 alias DZL_ENABLE_TRACE = ENABLE_TRACE; 1751 1752 enum LOG_LEVEL_TRACE = 1; 1753 alias DZL_LOG_LEVEL_TRACE = LOG_LEVEL_TRACE; 1754 1755 /** 1756 * Dzl major version component (e.g. 1 if %DZL_VERSION is 1.2.3) 1757 */ 1758 enum MAJOR_VERSION = 3; 1759 alias DZL_MAJOR_VERSION = MAJOR_VERSION; 1760 1761 /** 1762 * Dzl micro version component (e.g. 3 if %DZL_VERSION is 1.2.3) 1763 */ 1764 enum MICRO_VERSION = 1; 1765 alias DZL_MICRO_VERSION = MICRO_VERSION; 1766 1767 /** 1768 * Dzl minor version component (e.g. 2 if %DZL_VERSION is 1.2.3) 1769 */ 1770 enum MINOR_VERSION = 34; 1771 alias DZL_MINOR_VERSION = MINOR_VERSION; 1772 1773 /** 1774 * Dazzle version, encoded as a string, useful for printing and 1775 * concatenation. 1776 */ 1777 enum VERSION_S = "3.34.1"; 1778 alias DZL_VERSION_S = VERSION_S;