1 /* 2 * This file is part of gtkD. 3 * 4 * gtkD 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 * gtkD 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 gtkD; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA 18 */ 19 20 // generated automatically - do not change 21 // find conversion definition on APILookup.txt 22 // implement new conversion functionalities on the wrap.utils pakage 23 24 25 module gsv.c.types; 26 27 public import cairo.c.types; 28 public import gdk.c.types; 29 public import gdkpixbuf.c.types; 30 public import gio.c.types; 31 public import glib.c.types; 32 public import gobject.c.types; 33 public import gtk.c.types; 34 35 36 public enum GtkSourceBackgroundPatternType 37 { 38 /** 39 * no pattern 40 */ 41 NONE = 0, 42 /** 43 * grid pattern 44 */ 45 GRID = 1, 46 } 47 alias GtkSourceBackgroundPatternType BackgroundPatternType; 48 49 public enum GtkSourceBracketMatchType 50 { 51 /** 52 * there is no bracket to match. 53 */ 54 NONE = 0, 55 /** 56 * matching a bracket 57 * failed because the maximum range was reached. 58 */ 59 OUT_OF_RANGE = 1, 60 /** 61 * a matching bracket was not found. 62 */ 63 NOT_FOUND = 2, 64 /** 65 * a matching bracket was found. 66 */ 67 FOUND = 3, 68 } 69 alias GtkSourceBracketMatchType BracketMatchType; 70 71 public enum GtkSourceChangeCaseType 72 { 73 /** 74 * change case to lowercase. 75 */ 76 LOWER = 0, 77 /** 78 * change case to uppercase. 79 */ 80 UPPER = 1, 81 /** 82 * toggle case of each character. 83 */ 84 TOGGLE = 2, 85 /** 86 * capitalize each word. 87 */ 88 TITLE = 3, 89 } 90 alias GtkSourceChangeCaseType ChangeCaseType; 91 92 public enum GtkSourceCompletionActivation 93 { 94 /** 95 * None. 96 */ 97 NONE = 0, 98 /** 99 * Interactive activation. By 100 * default, it occurs on each insertion in the #GtkTextBuffer. This can be 101 * blocked temporarily with gtk_source_completion_block_interactive(). 102 */ 103 INTERACTIVE = 1, 104 /** 105 * User requested activation. 106 * By default, it occurs when the user presses 107 * <keycombo><keycap>Control</keycap><keycap>space</keycap></keycombo>. 108 */ 109 USER_REQUESTED = 2, 110 } 111 alias GtkSourceCompletionActivation CompletionActivation; 112 113 /** 114 * An error code used with %GTK_SOURCE_COMPLETION_ERROR in a #GError returned 115 * from a completion-related function. 116 */ 117 public enum GtkSourceCompletionError 118 { 119 /** 120 * The #GtkSourceCompletionProvider 121 * is already bound to the #GtkSourceCompletion object. 122 */ 123 ALREADY_BOUND = 0, 124 /** 125 * The #GtkSourceCompletionProvider is 126 * not bound to the #GtkSourceCompletion object. 127 */ 128 NOT_BOUND = 1, 129 } 130 alias GtkSourceCompletionError CompletionError; 131 132 public enum GtkSourceCompressionType 133 { 134 /** 135 * plain text. 136 */ 137 NONE = 0, 138 /** 139 * gzip compression. 140 */ 141 GZIP = 1, 142 } 143 alias GtkSourceCompressionType CompressionType; 144 145 /** 146 * An error code used with the %GTK_SOURCE_FILE_LOADER_ERROR domain. 147 */ 148 public enum GtkSourceFileLoaderError 149 { 150 /** 151 * The file is too big. 152 */ 153 TOO_BIG = 0, 154 /** 155 * It is not 156 * possible to detect the encoding automatically. 157 */ 158 ENCODING_AUTO_DETECTION_FAILED = 1, 159 /** 160 * There was an encoding 161 * conversion error and it was needed to use a fallback character. 162 */ 163 CONVERSION_FALLBACK = 2, 164 } 165 alias GtkSourceFileLoaderError FileLoaderError; 166 167 /** 168 * An error code used with the %GTK_SOURCE_FILE_SAVER_ERROR domain. 169 * 170 * Since: 3.14 171 */ 172 public enum GtkSourceFileSaverError 173 { 174 /** 175 * The buffer contains invalid 176 * characters. 177 */ 178 INVALID_CHARS = 0, 179 /** 180 * The file is externally 181 * modified. 182 */ 183 EXTERNALLY_MODIFIED = 1, 184 } 185 alias GtkSourceFileSaverError FileSaverError; 186 187 /** 188 * Flags to define the behavior of a #GtkSourceFileSaver. 189 * 190 * Since: 3.14 191 */ 192 public enum GtkSourceFileSaverFlags 193 { 194 /** 195 * No flags. 196 */ 197 NONE = 0, 198 /** 199 * Ignore invalid characters. 200 */ 201 IGNORE_INVALID_CHARS = 1, 202 /** 203 * Save file despite external modifications. 204 */ 205 IGNORE_MODIFICATION_TIME = 2, 206 /** 207 * Create a backup before saving the file. 208 */ 209 CREATE_BACKUP = 4, 210 } 211 alias GtkSourceFileSaverFlags FileSaverFlags; 212 213 /** 214 * The alignment mode of the renderer, when a cell spans multiple lines (due to 215 * text wrapping). 216 */ 217 public enum GtkSourceGutterRendererAlignmentMode 218 { 219 /** 220 * The full cell. 221 */ 222 CELL = 0, 223 /** 224 * The first line. 225 */ 226 FIRST = 1, 227 /** 228 * The last line. 229 */ 230 LAST = 2, 231 } 232 alias GtkSourceGutterRendererAlignmentMode GutterRendererAlignmentMode; 233 234 public enum GtkSourceGutterRendererState 235 { 236 /** 237 * normal state 238 */ 239 NORMAL = 0, 240 /** 241 * area in the renderer represents the 242 * line on which the insert cursor is currently positioned 243 */ 244 CURSOR = 1, 245 /** 246 * the mouse pointer is currently 247 * over the activatable area of the renderer 248 */ 249 PRELIT = 2, 250 /** 251 * area in the renderer represents 252 * a line in the buffer which contains part of the selection 253 */ 254 SELECTED = 4, 255 } 256 alias GtkSourceGutterRendererState GutterRendererState; 257 258 public enum GtkSourceNewlineType 259 { 260 /** 261 * line feed, used on UNIX. 262 */ 263 LF = 0, 264 /** 265 * carriage return, used on Mac. 266 */ 267 CR = 1, 268 /** 269 * carriage return followed by a line feed, used 270 * on Windows. 271 */ 272 CR_LF = 2, 273 } 274 alias GtkSourceNewlineType NewlineType; 275 276 public enum GtkSourceSmartHomeEndType 277 { 278 /** 279 * smart-home-end disabled. 280 */ 281 DISABLED = 0, 282 /** 283 * move to the first/last 284 * non-whitespace character on the first press of the HOME/END keys and 285 * to the beginning/end of the line on the second press. 286 */ 287 BEFORE = 1, 288 /** 289 * move to the beginning/end of the 290 * line on the first press of the HOME/END keys and to the first/last 291 * non-whitespace character on the second press. 292 */ 293 AFTER = 2, 294 /** 295 * always move to the first/last 296 * non-whitespace character when the HOME/END keys are pressed. 297 */ 298 ALWAYS = 3, 299 } 300 alias GtkSourceSmartHomeEndType SmartHomeEndType; 301 302 public enum GtkSourceSortFlags 303 { 304 /** 305 * no flags specified 306 */ 307 NONE = 0, 308 /** 309 * case sensitive sort 310 */ 311 CASE_SENSITIVE = 1, 312 /** 313 * sort in reverse order 314 */ 315 REVERSE_ORDER = 2, 316 /** 317 * remove duplicates 318 */ 319 REMOVE_DUPLICATES = 4, 320 } 321 alias GtkSourceSortFlags SortFlags; 322 323 /** 324 * #GtkSourceSpaceLocationFlags contains flags for white space locations. 325 * 326 * If a line contains only white spaces (no text), the white spaces match both 327 * %GTK_SOURCE_SPACE_LOCATION_LEADING and %GTK_SOURCE_SPACE_LOCATION_TRAILING. 328 * 329 * Since: 3.24 330 */ 331 public enum GtkSourceSpaceLocationFlags 332 { 333 /** 334 * No flags. 335 */ 336 NONE = 0, 337 /** 338 * Leading white spaces on a line, i.e. the 339 * indentation. 340 */ 341 LEADING = 1, 342 /** 343 * White spaces inside a line of text. 344 */ 345 INSIDE_TEXT = 2, 346 /** 347 * Trailing white spaces on a line. 348 */ 349 TRAILING = 4, 350 /** 351 * White spaces anywhere. 352 */ 353 ALL = 7, 354 } 355 alias GtkSourceSpaceLocationFlags SpaceLocationFlags; 356 357 /** 358 * #GtkSourceSpaceTypeFlags contains flags for white space types. 359 * 360 * Since: 3.24 361 */ 362 public enum GtkSourceSpaceTypeFlags 363 { 364 /** 365 * No flags. 366 */ 367 NONE = 0, 368 /** 369 * Space character. 370 */ 371 SPACE = 1, 372 /** 373 * Tab character. 374 */ 375 TAB = 2, 376 /** 377 * Line break character. If the 378 * #GtkSourceBuffer:implicit-trailing-newline property is %TRUE, 379 * #GtkSourceSpaceDrawer also draws a line break at the end of the buffer. 380 */ 381 NEWLINE = 4, 382 /** 383 * Non-breaking space character. 384 */ 385 NBSP = 8, 386 /** 387 * All white spaces. 388 */ 389 ALL = 15, 390 } 391 alias GtkSourceSpaceTypeFlags SpaceTypeFlags; 392 393 public enum GtkSourceViewGutterPosition 394 { 395 /** 396 * the gutter position of the lines 397 * renderer 398 */ 399 LINES = -30, 400 /** 401 * the gutter position of the marks 402 * renderer 403 */ 404 MARKS = -20, 405 } 406 alias GtkSourceViewGutterPosition ViewGutterPosition; 407 408 struct GtkSourceBuffer 409 { 410 GtkTextBuffer parentInstance; 411 GtkSourceBufferPrivate* priv; 412 } 413 414 struct GtkSourceBufferClass 415 { 416 GtkTextBufferClass parentClass; 417 /** */ 418 extern(C) void function(GtkSourceBuffer* buffer) undo; 419 /** */ 420 extern(C) void function(GtkSourceBuffer* buffer) redo; 421 /** */ 422 extern(C) void function(GtkSourceBuffer* buffer, GtkTextIter* iter, GtkSourceBracketMatchType state) bracketMatched; 423 void*[20] padding; 424 } 425 426 struct GtkSourceBufferPrivate; 427 428 struct GtkSourceCompletion 429 { 430 GObject parentInstance; 431 GtkSourceCompletionPrivate* priv; 432 } 433 434 struct GtkSourceCompletionClass 435 { 436 GObjectClass parentClass; 437 /** */ 438 extern(C) int function(GtkSourceCompletion* completion, GtkSourceCompletionProvider* provider, GtkSourceCompletionProposal* proposal) proposalActivated; 439 /** */ 440 extern(C) void function(GtkSourceCompletion* completion) show; 441 /** */ 442 extern(C) void function(GtkSourceCompletion* completion) hide; 443 /** */ 444 extern(C) void function(GtkSourceCompletion* completion, GtkSourceCompletionContext* context) populateContext; 445 /** */ 446 extern(C) void function(GtkSourceCompletion* completion, GtkScrollStep step, int num) moveCursor; 447 /** */ 448 extern(C) void function(GtkSourceCompletion* completion, GtkScrollStep step, int num) movePage; 449 /** */ 450 extern(C) void function(GtkSourceCompletion* completion) activateProposal; 451 void*[20] padding; 452 } 453 454 struct GtkSourceCompletionContext 455 { 456 GObject parent; 457 GtkSourceCompletionContextPrivate* priv; 458 } 459 460 struct GtkSourceCompletionContextClass 461 { 462 GObjectClass parentClass; 463 /** */ 464 extern(C) void function(GtkSourceCompletionContext* context) cancelled; 465 void*[10] padding; 466 } 467 468 struct GtkSourceCompletionContextPrivate; 469 470 struct GtkSourceCompletionInfo 471 { 472 GtkWindow parent; 473 GtkSourceCompletionInfoPrivate* priv; 474 } 475 476 struct GtkSourceCompletionInfoClass 477 { 478 GtkWindowClass parentClass; 479 void*[10] padding; 480 } 481 482 struct GtkSourceCompletionInfoPrivate; 483 484 struct GtkSourceCompletionItem 485 { 486 GObject parent; 487 GtkSourceCompletionItemPrivate* priv; 488 } 489 490 struct GtkSourceCompletionItemClass 491 { 492 GObjectClass parentClass; 493 void*[10] padding; 494 } 495 496 struct GtkSourceCompletionItemPrivate; 497 498 struct GtkSourceCompletionPrivate; 499 500 struct GtkSourceCompletionProposal; 501 502 /** 503 * The virtual function table for #GtkSourceCompletionProposal. 504 */ 505 struct GtkSourceCompletionProposalIface 506 { 507 /** 508 * The parent interface. 509 */ 510 GTypeInterface parent; 511 /** 512 * 513 * Params: 514 * proposal = a #GtkSourceCompletionProposal. 515 * Returns: a new string containing the label of @proposal. 516 */ 517 extern(C) char* function(GtkSourceCompletionProposal* proposal) getLabel; 518 /** 519 * 520 * Params: 521 * proposal = a #GtkSourceCompletionProposal. 522 * Returns: a new string containing the label of @proposal with markup. 523 */ 524 extern(C) char* function(GtkSourceCompletionProposal* proposal) getMarkup; 525 /** 526 * 527 * Params: 528 * proposal = a #GtkSourceCompletionProposal. 529 * Returns: a new string containing the text of @proposal. 530 */ 531 extern(C) char* function(GtkSourceCompletionProposal* proposal) getText; 532 /** 533 * 534 * Params: 535 * proposal = a #GtkSourceCompletionProposal. 536 * Returns: A #GdkPixbuf with the icon of @proposal. 537 */ 538 extern(C) GdkPixbuf* function(GtkSourceCompletionProposal* proposal) getIcon; 539 /** 540 * 541 * Params: 542 * proposal = a #GtkSourceCompletionProposal. 543 * Returns: The icon name of @proposal. 544 */ 545 extern(C) const(char)* function(GtkSourceCompletionProposal* proposal) getIconName; 546 /** 547 * 548 * Params: 549 * proposal = a #GtkSourceCompletionProposal. 550 * Returns: A #GIcon with the icon of @proposal. 551 */ 552 extern(C) GIcon* function(GtkSourceCompletionProposal* proposal) getGicon; 553 /** 554 * 555 * Params: 556 * proposal = a #GtkSourceCompletionProposal. 557 * Returns: a newly-allocated string containing 558 * extra information of @proposal or %NULL if no extra information is associated 559 * to @proposal. 560 */ 561 extern(C) char* function(GtkSourceCompletionProposal* proposal) getInfo; 562 /** 563 * 564 * Params: 565 * proposal = a #GtkSourceCompletionProposal. 566 * Returns: The hash value of @proposal. 567 */ 568 extern(C) uint function(GtkSourceCompletionProposal* proposal) hash; 569 /** 570 * 571 * Params: 572 * proposal = a #GtkSourceCompletionProposal. 573 * other = a #GtkSourceCompletionProposal. 574 * Returns: %TRUE if @proposal and @object are the same proposal 575 */ 576 extern(C) int function(GtkSourceCompletionProposal* proposal, GtkSourceCompletionProposal* other) equal; 577 /** */ 578 extern(C) void function(GtkSourceCompletionProposal* proposal) changed; 579 } 580 581 struct GtkSourceCompletionProvider; 582 583 /** 584 * The virtual function table for #GtkSourceCompletionProvider. 585 */ 586 struct GtkSourceCompletionProviderIface 587 { 588 /** 589 * The parent interface. 590 */ 591 GTypeInterface gIface; 592 /** 593 * 594 * Params: 595 * provider = a #GtkSourceCompletionProvider. 596 * Returns: a new string containing the name of the provider. 597 */ 598 extern(C) char* function(GtkSourceCompletionProvider* provider) getName; 599 /** 600 * 601 * Params: 602 * provider = The #GtkSourceCompletionProvider 603 * Returns: The icon to be used for the provider, 604 * or %NULL if the provider does not have a special icon. 605 */ 606 extern(C) GdkPixbuf* function(GtkSourceCompletionProvider* provider) getIcon; 607 /** 608 * 609 * Params: 610 * provider = The #GtkSourceCompletionProvider 611 * Returns: The icon name to be used for the provider, 612 * or %NULL if the provider does not have a special icon. 613 */ 614 extern(C) const(char)* function(GtkSourceCompletionProvider* provider) getIconName; 615 /** 616 * 617 * Params: 618 * provider = The #GtkSourceCompletionProvider 619 * Returns: The icon to be used for the provider, 620 * or %NULL if the provider does not have a special icon. 621 */ 622 extern(C) GIcon* function(GtkSourceCompletionProvider* provider) getGicon; 623 /** */ 624 extern(C) void function(GtkSourceCompletionProvider* provider, GtkSourceCompletionContext* context) populate; 625 /** 626 * 627 * Params: 628 * provider = a #GtkSourceCompletionProvider. 629 * context = a #GtkSourceCompletionContext. 630 * Returns: %TRUE if @provider matches the completion context, %FALSE otherwise. 631 */ 632 extern(C) int function(GtkSourceCompletionProvider* provider, GtkSourceCompletionContext* context) match; 633 /** 634 * 635 * Params: 636 * provider = a #GtkSourceCompletionProvider. 637 * Returns: a combination of #GtkSourceCompletionActivation. 638 */ 639 extern(C) GtkSourceCompletionActivation function(GtkSourceCompletionProvider* provider) getActivation; 640 /** 641 * 642 * Params: 643 * provider = a #GtkSourceCompletionProvider. 644 * proposal = a currently selected #GtkSourceCompletionProposal. 645 * Returns: a custom #GtkWidget to show extra 646 * information about @proposal, or %NULL if the provider does not have a special 647 * info widget. 648 */ 649 extern(C) GtkWidget* function(GtkSourceCompletionProvider* provider, GtkSourceCompletionProposal* proposal) getInfoWidget; 650 /** */ 651 extern(C) void function(GtkSourceCompletionProvider* provider, GtkSourceCompletionProposal* proposal, GtkSourceCompletionInfo* info) updateInfo; 652 /** 653 * 654 * Params: 655 * provider = a #GtkSourceCompletionProvider. 656 * context = a #GtkSourceCompletionContext. 657 * proposal = a #GtkSourceCompletionProposal. 658 * iter = a #GtkTextIter. 659 * Returns: %TRUE if @iter was set for @proposal, %FALSE otherwise. 660 */ 661 extern(C) int function(GtkSourceCompletionProvider* provider, GtkSourceCompletionContext* context, GtkSourceCompletionProposal* proposal, GtkTextIter* iter) getStartIter; 662 /** 663 * 664 * Params: 665 * provider = a #GtkSourceCompletionProvider. 666 * proposal = a #GtkSourceCompletionProposal. 667 * iter = a #GtkTextIter. 668 * Returns: %TRUE to indicate that the proposal activation has been handled, 669 * %FALSE otherwise. 670 */ 671 extern(C) int function(GtkSourceCompletionProvider* provider, GtkSourceCompletionProposal* proposal, GtkTextIter* iter) activateProposal; 672 /** 673 * 674 * Params: 675 * provider = a #GtkSourceCompletionProvider. 676 * Returns: the interactive delay in milliseconds. 677 */ 678 extern(C) int function(GtkSourceCompletionProvider* provider) getInteractiveDelay; 679 /** 680 * 681 * Params: 682 * provider = a #GtkSourceCompletionProvider. 683 * Returns: the provider priority. 684 */ 685 extern(C) int function(GtkSourceCompletionProvider* provider) getPriority; 686 } 687 688 struct GtkSourceCompletionWords 689 { 690 GObject parent; 691 GtkSourceCompletionWordsPrivate* priv; 692 } 693 694 struct GtkSourceCompletionWordsClass 695 { 696 GObjectClass parentClass; 697 } 698 699 struct GtkSourceCompletionWordsPrivate; 700 701 struct GtkSourceEncoding; 702 703 struct GtkSourceFile 704 { 705 GObject parent; 706 GtkSourceFilePrivate* priv; 707 } 708 709 struct GtkSourceFileClass 710 { 711 GObjectClass parentClass; 712 void*[10] padding; 713 } 714 715 struct GtkSourceFileLoader 716 { 717 GObject parent; 718 GtkSourceFileLoaderPrivate* priv; 719 } 720 721 struct GtkSourceFileLoaderClass 722 { 723 GObjectClass parentClass; 724 void*[10] padding; 725 } 726 727 struct GtkSourceFileLoaderPrivate; 728 729 struct GtkSourceFilePrivate; 730 731 struct GtkSourceFileSaver 732 { 733 GObject object; 734 GtkSourceFileSaverPrivate* priv; 735 } 736 737 struct GtkSourceFileSaverClass 738 { 739 GObjectClass parentClass; 740 void*[10] padding; 741 } 742 743 struct GtkSourceFileSaverPrivate; 744 745 struct GtkSourceGutter 746 { 747 GObject parent; 748 GtkSourceGutterPrivate* priv; 749 } 750 751 struct GtkSourceGutterClass 752 { 753 GObjectClass parentClass; 754 void*[10] padding; 755 } 756 757 struct GtkSourceGutterPrivate; 758 759 struct GtkSourceGutterRenderer 760 { 761 GObject parent; 762 GtkSourceGutterRendererPrivate* priv; 763 } 764 765 struct GtkSourceGutterRendererClass 766 { 767 GObjectClass parentClass; 768 /** */ 769 extern(C) void function(GtkSourceGutterRenderer* renderer, cairo_t* cr, GdkRectangle* backgroundArea, GdkRectangle* cellArea, GtkTextIter* start, GtkTextIter* end) begin; 770 /** */ 771 extern(C) void function(GtkSourceGutterRenderer* renderer, cairo_t* cr, GdkRectangle* backgroundArea, GdkRectangle* cellArea, GtkTextIter* start, GtkTextIter* end, GtkSourceGutterRendererState state) draw; 772 /** */ 773 extern(C) void function(GtkSourceGutterRenderer* renderer) end; 774 /** */ 775 extern(C) void function(GtkSourceGutterRenderer* renderer, GtkTextView* oldView) changeView; 776 /** */ 777 extern(C) void function(GtkSourceGutterRenderer* renderer, GtkTextBuffer* oldBuffer) changeBuffer; 778 /** 779 * 780 * Params: 781 * renderer = a #GtkSourceGutterRenderer 782 * iter = a #GtkTextIter at the start of the line to be activated 783 * area = a #GdkRectangle of the cell area to be activated 784 * event = the event that triggered the query 785 * Returns: %TRUE if the renderer can be activated, %FALSE otherwise 786 */ 787 extern(C) int function(GtkSourceGutterRenderer* renderer, GtkTextIter* iter, GdkRectangle* area, GdkEvent* event) queryActivatable; 788 /** */ 789 extern(C) void function(GtkSourceGutterRenderer* renderer, GtkTextIter* iter, GdkRectangle* area, GdkEvent* event) activate; 790 /** */ 791 extern(C) void function(GtkSourceGutterRenderer* renderer) queueDraw; 792 /** 793 * 794 * Params: 795 * renderer = a #GtkSourceGutterRenderer. 796 * iter = a #GtkTextIter. 797 * area = a #GdkRectangle. 798 * x = The x position of the tooltip. 799 * y = The y position of the tooltip. 800 * tooltip = a #GtkTooltip. 801 * Returns: %TRUE if the tooltip has been set, %FALSE otherwise 802 */ 803 extern(C) int function(GtkSourceGutterRenderer* renderer, GtkTextIter* iter, GdkRectangle* area, int x, int y, GtkTooltip* tooltip) queryTooltip; 804 /** */ 805 extern(C) void function(GtkSourceGutterRenderer* renderer, GtkTextIter* start, GtkTextIter* end, GtkSourceGutterRendererState state) queryData; 806 void*[20] padding; 807 } 808 809 struct GtkSourceGutterRendererPixbuf 810 { 811 GtkSourceGutterRenderer parent; 812 GtkSourceGutterRendererPixbufPrivate* priv; 813 } 814 815 struct GtkSourceGutterRendererPixbufClass 816 { 817 GtkSourceGutterRendererClass parentClass; 818 void*[10] padding; 819 } 820 821 struct GtkSourceGutterRendererPixbufPrivate; 822 823 struct GtkSourceGutterRendererPrivate; 824 825 struct GtkSourceGutterRendererText 826 { 827 GtkSourceGutterRenderer parent; 828 GtkSourceGutterRendererTextPrivate* priv; 829 } 830 831 struct GtkSourceGutterRendererTextClass 832 { 833 GtkSourceGutterRendererClass parentClass; 834 void*[10] padding; 835 } 836 837 struct GtkSourceGutterRendererTextPrivate; 838 839 struct GtkSourceLanguage 840 { 841 GObject parentInstance; 842 GtkSourceLanguagePrivate* priv; 843 } 844 845 struct GtkSourceLanguageClass 846 { 847 GObjectClass parentClass; 848 void*[10] padding; 849 } 850 851 struct GtkSourceLanguageManager 852 { 853 GObject parentInstance; 854 GtkSourceLanguageManagerPrivate* priv; 855 } 856 857 struct GtkSourceLanguageManagerClass 858 { 859 GObjectClass parentClass; 860 void*[10] padding; 861 } 862 863 struct GtkSourceLanguageManagerPrivate; 864 865 struct GtkSourceLanguagePrivate; 866 867 struct GtkSourceMap 868 { 869 GtkSourceView parentInstance; 870 } 871 872 struct GtkSourceMapClass 873 { 874 GtkSourceViewClass parentClass; 875 void*[10] padding; 876 } 877 878 struct GtkSourceMark 879 { 880 GtkTextMark parentInstance; 881 GtkSourceMarkPrivate* priv; 882 } 883 884 struct GtkSourceMarkAttributes 885 { 886 GObject parent; 887 GtkSourceMarkAttributesPrivate* priv; 888 } 889 890 struct GtkSourceMarkAttributesClass 891 { 892 GObjectClass parentClass; 893 void*[10] padding; 894 } 895 896 struct GtkSourceMarkAttributesPrivate; 897 898 struct GtkSourceMarkClass 899 { 900 GtkTextMarkClass parentClass; 901 void*[10] padding; 902 } 903 904 struct GtkSourceMarkPrivate; 905 906 struct GtkSourcePrintCompositor 907 { 908 GObject parentInstance; 909 GtkSourcePrintCompositorPrivate* priv; 910 } 911 912 struct GtkSourcePrintCompositorClass 913 { 914 GObjectClass parentClass; 915 void*[10] padding; 916 } 917 918 struct GtkSourcePrintCompositorPrivate; 919 920 struct GtkSourceRegion 921 { 922 GObject parentInstance; 923 } 924 925 struct GtkSourceRegionClass 926 { 927 GObjectClass parentClass; 928 void*[10] padding; 929 } 930 931 struct GtkSourceRegionIter 932 { 933 void* dummy1; 934 uint dummy2; 935 void* dummy3; 936 } 937 938 struct GtkSourceSearchContext 939 { 940 GObject parent; 941 GtkSourceSearchContextPrivate* priv; 942 } 943 944 struct GtkSourceSearchContextClass 945 { 946 GObjectClass parentClass; 947 void*[10] padding; 948 } 949 950 struct GtkSourceSearchContextPrivate; 951 952 struct GtkSourceSearchSettings 953 { 954 GObject parent; 955 GtkSourceSearchSettingsPrivate* priv; 956 } 957 958 struct GtkSourceSearchSettingsClass 959 { 960 GObjectClass parentClass; 961 void*[10] padding; 962 } 963 964 struct GtkSourceSearchSettingsPrivate; 965 966 struct GtkSourceSpaceDrawer 967 { 968 GObject parent; 969 GtkSourceSpaceDrawerPrivate* priv; 970 } 971 972 struct GtkSourceSpaceDrawerClass 973 { 974 GObjectClass parentClass; 975 void*[20] padding; 976 } 977 978 struct GtkSourceSpaceDrawerPrivate; 979 980 struct GtkSourceStyle; 981 982 struct GtkSourceStyleClass; 983 984 struct GtkSourceStyleScheme 985 { 986 GObject base; 987 GtkSourceStyleSchemePrivate* priv; 988 } 989 990 struct GtkSourceStyleSchemeChooser; 991 992 struct GtkSourceStyleSchemeChooserButton 993 { 994 GtkButton parent; 995 } 996 997 struct GtkSourceStyleSchemeChooserButtonClass 998 { 999 GtkButtonClass parent; 1000 void*[10] padding; 1001 } 1002 1003 struct GtkSourceStyleSchemeChooserInterface 1004 { 1005 GTypeInterface baseInterface; 1006 /** 1007 * 1008 * Params: 1009 * chooser = a #GtkSourceStyleSchemeChooser 1010 * Returns: the currently-selected scheme. 1011 */ 1012 extern(C) GtkSourceStyleScheme* function(GtkSourceStyleSchemeChooser* chooser) getStyleScheme; 1013 /** */ 1014 extern(C) void function(GtkSourceStyleSchemeChooser* chooser, GtkSourceStyleScheme* scheme) setStyleScheme; 1015 void*[12] padding; 1016 } 1017 1018 struct GtkSourceStyleSchemeChooserWidget 1019 { 1020 GtkBin parent; 1021 } 1022 1023 struct GtkSourceStyleSchemeChooserWidgetClass 1024 { 1025 GtkBinClass parent; 1026 void*[10] padding; 1027 } 1028 1029 struct GtkSourceStyleSchemeClass 1030 { 1031 GObjectClass baseClass; 1032 void*[10] padding; 1033 } 1034 1035 struct GtkSourceStyleSchemeManager 1036 { 1037 GObject parent; 1038 GtkSourceStyleSchemeManagerPrivate* priv; 1039 } 1040 1041 struct GtkSourceStyleSchemeManagerClass 1042 { 1043 GObjectClass parentClass; 1044 void*[10] padding; 1045 } 1046 1047 struct GtkSourceStyleSchemeManagerPrivate; 1048 1049 struct GtkSourceStyleSchemePrivate; 1050 1051 struct GtkSourceTag 1052 { 1053 GtkTextTag parentInstance; 1054 } 1055 1056 struct GtkSourceTagClass 1057 { 1058 GtkTextTagClass parentClass; 1059 void*[10] padding; 1060 } 1061 1062 struct GtkSourceUndoManager; 1063 1064 struct GtkSourceUndoManagerIface 1065 { 1066 GTypeInterface parent; 1067 /** 1068 * 1069 * Params: 1070 * manager = a #GtkSourceUndoManager. 1071 * Returns: %TRUE if there are undo operations available, %FALSE otherwise 1072 */ 1073 extern(C) int function(GtkSourceUndoManager* manager) canUndo; 1074 /** 1075 * 1076 * Params: 1077 * manager = a #GtkSourceUndoManager. 1078 * Returns: %TRUE if there are redo operations available, %FALSE otherwise 1079 */ 1080 extern(C) int function(GtkSourceUndoManager* manager) canRedo; 1081 /** */ 1082 extern(C) void function(GtkSourceUndoManager* manager) undo; 1083 /** */ 1084 extern(C) void function(GtkSourceUndoManager* manager) redo; 1085 /** */ 1086 extern(C) void function(GtkSourceUndoManager* manager) beginNotUndoableAction; 1087 /** */ 1088 extern(C) void function(GtkSourceUndoManager* manager) endNotUndoableAction; 1089 /** */ 1090 extern(C) void function(GtkSourceUndoManager* manager) canUndoChanged; 1091 /** */ 1092 extern(C) void function(GtkSourceUndoManager* manager) canRedoChanged; 1093 } 1094 1095 struct GtkSourceView 1096 { 1097 GtkTextView parent; 1098 GtkSourceViewPrivate* priv; 1099 } 1100 1101 struct GtkSourceViewClass 1102 { 1103 GtkTextViewClass parentClass; 1104 /** */ 1105 extern(C) void function(GtkSourceView* view) undo; 1106 /** */ 1107 extern(C) void function(GtkSourceView* view) redo; 1108 /** */ 1109 extern(C) void function(GtkSourceView* view, GtkTextIter* iter, GdkEvent* event) lineMarkActivated; 1110 /** */ 1111 extern(C) void function(GtkSourceView* view) showCompletion; 1112 /** */ 1113 extern(C) void function(GtkSourceView* view, int down) moveLines; 1114 /** */ 1115 extern(C) void function(GtkSourceView* view, int step) moveWords; 1116 void*[20] padding; 1117 } 1118 1119 struct GtkSourceViewPrivate; 1120 1121 /** 1122 * Type definition for a function that will be called to create a 1123 * #GMountOperation. This is useful for creating a #GtkMountOperation. 1124 * 1125 * Params: 1126 * file = a #GtkSourceFile. 1127 * userdata = user data 1128 * 1129 * Since: 3.14 1130 */ 1131 public alias extern(C) GMountOperation* function(GtkSourceFile* file, void* userdata) GtkSourceMountOperationFactory;