Changeset 337
- Timestamp:
- 12/28/07 18:09:45 (1 year ago)
- Files:
-
- trunk/wrap/APILookupGLt.txt (modified) (1 diff)
- trunk/wrap/APILookupGObject.txt (modified) (12 diffs)
- trunk/wrap/APILookupGStreamer.txt (modified) (27 diffs)
- trunk/wrap/APILookupPango.txt (modified) (2 diffs)
- trunk/wrap/APILookupSourceView.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wrap/APILookupGLt.txt
r322 r337 97 97 /** 98 98 * Gets the GL Frawable for (from???) the widget 99 * @param widget 100 * @return a new GLDrawable 99 * Params: 100 * widget = 101 * Returns: a new GLDrawable 101 102 */ 102 103 static GLDrawable getGLDrawable(Widget widget) trunk/wrap/APILookupGObject.txt
r322 r337 180 180 181 181 /** 182 * Sets a pointer on this object's has table 183 * @param key the data identifier 184 * @param data a pointer 185 */ 182 * Sets a pointer on this object's has table 183 * Params: 184 * key = the data identifier 185 * data = a pointer 186 */ 186 187 public: void setDataFull(char[] key, gpointer data) 187 188 { … … 330 331 // /** 331 332 // * Sets a pointer on this object's has table 332 // * @param key the data identifier 333 // * @param data a pointer 333 // * Params: 334 // * key = the data identifier 335 // * data = a pointer 334 336 // */ 335 337 // private void setDestroyNotify(char[] key, gpointer data) … … 356 358 // } 357 359 // } 360 361 /** */ 358 362 public void setProperty(char[] propertyName, int value) 359 363 { … … 361 365 } 362 366 367 /** */ 363 368 public void setProperty(char[] propertyName, char[] value) 364 369 { … … 366 371 } 367 372 373 /** */ 368 374 public void setProperty(char[] propertyName, long value) 369 375 { … … 372 378 } 373 379 380 /** */ 374 381 public void setProperty(char[] propertyName, ulong value) 375 382 { … … 430 437 431 438 code: start 432 439 /** */ 433 440 public this() 434 441 { 435 442 this(new GValue); 436 443 } 437 444 445 /** */ 438 446 this(Pixbuf pixbuf) 439 447 { … … 444 452 this(v); 445 453 } 446 454 455 /** */ 447 456 this(char[] value) 448 457 { … … 452 461 } 453 462 463 /** */ 454 464 this(int value) 455 465 { … … 461 471 /** 462 472 * Initializes value with the default value of type. 463 * value: 464 * A zero-filled (uninitialized) GValue structure. 465 * g_type: 466 * Type the GValue should hold values of. 473 * Params: 474 * value = A zero-filled (uninitialized) GValue structure. 475 * g_type = Type the GValue should hold values of. 467 476 * Returns: 468 * the GValue structure that has been passed in477 * the GValue structure that has been passed in 469 478 */ 470 479 public Value init(GType gType) … … 478 487 * Clears the current value in value and resets it to the default value 479 488 * (as if the value had just been initialized). 480 * value:481 * An initialized GValue structure.489 * Params: 490 * value = An initialized GValue structure. 482 491 * Returns: 483 * the GValue structure that has been passed in492 * the GValue structure that has been passed in 484 493 */ 485 494 public Value reset() … … 544 553 545 554 code: start 546 547 555 /** */ 548 556 public static uint connectData(void* instanc, char[] detailedSignal, GCallback cHandler, Object data, GClosureNotify destroyData, GConnectFlags connectFlags) 549 557 { trunk/wrap/APILookupGStreamer.txt
r322 r337 181 181 /** 182 182 * Creates a new bin with the given name. 183 * name:184 * the name of the new bin183 * Params: 184 * name = the name of the new bin 185 185 * Returns: 186 186 * a new GstBin … … 192 192 } 193 193 194 /** */ 194 195 public this(Element elem) 195 196 { … … 234 235 * The watch can be removed using g_source_remove() or by returning FALSE 235 236 * from func. 236 * bus: 237 * a GstBus to create the watch for 238 * func: 239 * A function to call when a message is received. 240 * user_data: 241 * user data passed to func. 237 * MT safe. 238 * Params: 239 * dlg = A function to call when a message is received. 242 240 * Returns: 243 241 * The event source id. 244 * MT safe.245 242 */ 246 243 public uint addWatch( bool delegate(Message) dlg ) … … 269 266 * You cannot replace an existing sync_handler. You can pass NULL to this 270 267 * function, which will clear the existing handler. 271 * bus: 272 * a GstBus to install the handler on 273 * func: 274 * The handler function to install 275 * data: 276 * User data that will be sent to the handler function. 268 * Params: 269 * dlg = The handler function to install 277 270 */ 278 271 public void setSyncHandler( GstBusSyncReply delegate(Message) dlg ) … … 530 523 * The element will receive a guaranteed unique name, 531 524 * consisting of the element factory name and a number. 532 * factoryname:533 * a named factory to instantiate525 * Params: 526 * factoryname = a named factory to instantiate 534 527 * Returns: 535 528 * new GstElement or NULL if unable to create element … … 560 553 * elements that they should provide a buffer of the specified dimensions. 561 554 * When the async flag is set, a thread boundary is prefered. 562 * format: 563 * buffer format 564 * minsize: 565 * minimum buffer size 566 * maxsize: 567 * maximum buffer size 568 * async: 569 * thread behavior 555 * Params: 556 * format = buffer format 557 * minsize = minimum buffer size 558 * maxsize = maximum buffer size 559 * async = thread behavior 570 560 * Returns: 571 561 * a new GstEvent … … 641 631 /** 642 632 * Create a new navigation event from the given description. 643 * structure:644 * description of the event633 * Params: 634 * structure = description of the event 645 635 * Returns: 646 636 * a new GstEvent … … 708 698 * padtemplate will be taken from the target pad. 709 699 * Will ref the target. 710 * name: 711 * the name of the new pad, or NULL to assign a default name. 712 * target: 713 * the pad to ghost. 700 * Params: 701 * name = the name of the new pad, or NULL to assign a default name. 702 * target = the pad to ghost. 714 703 * Returns: 715 704 * a new GstPad, or NULL in case of an error. … … 931 920 * output argument is a copy; the caller must free it when done. 932 921 * MT safe. 933 * message: 934 * A valid GstMessage of type GST_MESSAGE_TAG. 935 * tag_list: 936 * Return location for the tag-list. 922 * Params: 923 * tagList = Return location for the tag-list. 937 924 */ 938 925 /*public void parseTag(GstTagList** tagList) … … 952 939 /** 953 940 * Get the unique quark for the given message type. 954 * type:955 * t he message type941 * Params: 942 * type = the message type 956 943 * Returns: 957 944 * the quark associated with the message type … … 968 955 * "the firewire cable was unplugged". The format of the message should be 969 956 * documented in the element's documentation. The structure field can be NULL. 970 * src:971 * The object originating the message.972 * structure:973 * The structure for the message. The message will take ownership of974 * the structure.957 * MT safe. 958 * Params: 959 * src = The object originating the message. 960 * structure = The structure for the message. The message will take ownership of 961 * the structure. 975 962 * Returns: 976 963 * The new element message. 977 * MT safe.978 964 */ 979 965 public static Message newElement(ObjectGst src, Structure structure) … … 986 972 * Create a new clock message. This message is posted whenever the 987 973 * pipeline selectes a new clock for the pipeline. 988 * src:989 * The object originating the message.990 * clock:991 * the new selected clock974 * MT safe. 975 * Params: 976 * src = The object originating the message. 977 * clock = the new selected clock 992 978 * Returns: 993 979 * The new new clock message. 994 * MT safe.995 980 */ 996 981 public static Message newNewClock(ObjectGst src, Clock clock) … … 1005 990 * is received by the application after all elements that posted a segment_start 1006 991 * have posted the segment_done. 1007 * src: 1008 * The object originating the message. 1009 * format: 1010 * The format of the position being done 1011 * position: 1012 * The position of the segment being done 992 * MT safe. 993 * Params: 994 * src = The object originating the message. 995 * format = The format of the position being done 996 * position = The position of the segment being done 1013 997 * Returns: 1014 998 * The new segment done message. 1015 * MT safe.1016 999 */ 1017 1000 public static Message newSegmentDone(ObjectGst src, GstFormat format, long position) … … 1026 1009 * is not received by the application but is used for maintenance reasons in 1027 1010 * container elements. 1028 * src: 1029 * The object originating the message. 1030 * format: 1031 * The format of the position being played 1032 * position: 1033 * The position of the segment being played 1011 * MT safe. 1012 * Params: 1013 * src = The object originating the message. 1014 * format = The format of the position being played 1015 * position = The position of the segment being played 1034 1016 * Returns: 1035 1017 * The new segment start message. 1036 * MT safe.1037 1018 */ 1038 1019 public static Message newSegmentStart(ObjectGst src, GstFormat format, long position) … … 1045 1026 * Create a new warning message. The message will make copies of error and 1046 1027 * debug. 1047 * src: 1048 * The object originating the message. 1049 * error: 1050 * The GError for this message. 1051 * debug: 1052 * A debugging string for something or other. 1028 * MT safe. 1029 * Params: 1030 * src = The object originating the message. 1031 * error = The GError for this message. 1032 * debug = A debugging string for something or other. 1053 1033 * Returns: 1054 1034 * The new warning message. 1055 * MT safe.1056 1035 */ 1057 1036 public static Message newWarning(ObjectGst src, ErrorG error, char[] dbug) … … 1065 1044 * changed its state asynchronously and is used internally to update the 1066 1045 * states of container objects. 1067 * src: 1068 * the object originating the message 1046 * MT safe. 1047 * Params: 1048 * src = the object originating the message 1069 1049 * Returns: 1070 1050 * The new state dirty message. 1071 * MT safe.1072 1051 */ 1073 1052 public static Message newStateDirty(ObjectGst src) … … 1081 1060 * the sink elements of a GstBin. The bin will only forward the EOS 1082 1061 * message to the application if all sinks have posted an EOS message. 1083 * src: 1084 * The object originating the message. 1062 * MT safe. 1063 * Params: 1064 * src = The object originating the message. 1085 1065 * Returns: 1086 1066 * The new eos message. 1087 * MT safe.1088 1067 */ 1089 1068 public static Message newEOS(ObjectGst src) … … 1098 1077 * occured. The pipeline will probably (partially) stop. The application 1099 1078 * receiving this message should stop the pipeline. 1100 * src: 1101 * The object originating the message. 1102 * error: 1103 * The GError for this message. 1104 * debug: 1105 * A debugging string for something or other. 1079 * MT safe. 1080 * Params: 1081 * src = The object originating the message. 1082 * error = The GError for this message. 1083 * debug = A debugging string for something or other. 1106 1084 * Returns: 1107 1085 * The new error message. 1108 * MT safe.1109 1086 */ 1110 1087 public static Message newError(ObjectGst src, ErrorG error, char[] dbug) … … 1117 1094 * Create a new info message. The message will make copies of error and 1118 1095 * debug. 1119 * src:1120 * The object originating the message.1121 * error:1122 * The GError for thismessage.1123 * debug:1124 * A debugging string for something or other.1096 * MT safe. 1097 * Since 0.10.12 1098 * Params: 1099 * src = The object originating the message. 1100 * error = The GError for this message. 1101 * debug = A debugging string for something or other. 1125 1102 * Returns: 1126 1103 * The new info message. 1127 * Since 0.10.121128 * MT safe.1129 1104 */ 1130 1105 public static Message newInfo(ObjectGst src, ErrorG error, char[] dbug) … … 1195 1170 * constructs like : 1196 1171 * result = gst_object_ref (object->parent); 1197 * object:1198 * a GstObject to reference1199 1172 * Returns: 1200 1173 * A pointer to object … … 1258 1231 prefix: gst_ 1259 1232 code: start 1233 /** */ 1260 1234 public this (char[] name) 1261 1235 { … … 1306 1280 * allowed. A copy is made of the name so you should free the supplied name 1307 1281 * after calling this function. 1308 * feature: 1309 * a feature 1310 * name: 1311 * the name to set 1282 * Params: 1283 * name = the name to set 1312 1284 */ 1313 1285 public void setFeatureName(char[] name) … … 1330 1302 * when done with it. A position query is used to query the current position 1331 1303 * of playback in the streams, in some format. 1332 * format:1333 * the default GstFormat for the new query1304 * Params: 1305 * format = the default GstFormat for the new query 1334 1306 * Returns: 1335 1307 * A GstQuery … … 1347 1319 * Use gst_query_unref() when done with it. A duration query will give the 1348 1320 * total length of the stream. 1349 * format:1350 * the GstFormat for this duration query1321 * Params: 1322 * format = the GstFormat for this duration query 1351 1323 * Returns: 1352 1324 * A GstQuery … … 1363 1335 * Constructs a new query object for querying seeking properties of 1364 1336 * the stream. 1365 * format:1366 * the default GstFormat for the new query1337 * Params: 1338 * format = the default GstFormat for the new query 1367 1339 * Returns: 1368 1340 * A GstQuery … … 1379 1351 * Constructs a new query object for querying formats of 1380 1352 * the stream. 1353 * Since 0.10.4 1381 1354 * Returns: 1382 1355 * A GstQuery 1383 * Since 0.10.41384 1356 */ 1385 1357 public static Query newFormats() … … 1395 1367 * when done with it. A segment query is used to discover information about the 1396 1368 * currently configured segment for playback. 1397 * format:1398 * the GstFormat for the new query1369 * Params: 1370 * format = the GstFormat for the new query 1399 1371 * Returns: 1400 1372 * a GstQuery trunk/wrap/APILookupPango.txt
r322 r337 265 265 /** 266 266 * Creates a nwe font description and set the family nd the size 267 * param: family Family 268 * param: size Size 267 * Params: 268 * family = Family 269 * size = Size 269 270 */ 270 271 public this(char[] family, int size) … … 670 671 /** 671 672 * Sets the text of the layout. 672 * layout: 673 * a PangoLayout 674 * text: 675 * a UTF-8 string 673 * Params: 674 * text = a UTF-8 string 676 675 */ 677 676 public void setText(char[] text) trunk/wrap/APILookupSourceView.txt
r322 r337 78 78 * The reference count on the buffer is not incremented; the caller 79 79 * of this function won't own a new reference. 80 * text_view:81 * a GtkSourceView82 80 * Returns: 83 81 * a GtkSourceBuffer
