亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? gtkobject.sgml

?? linux下電話本所依賴的一些圖形庫
?? SGML
?? 第 1 頁 / 共 2 頁
字號:
<!-- ##### SECTION Title ##### -->GtkObject<!-- ##### SECTION Short_Description ##### -->The base class of the GTK+ type hierarchy<!-- ##### SECTION Long_Description ##### --><refsect2><title>Description</title><para>#GtkObject is the base class for all widgets, and for a few non-widget objects such as #GtkAdjustment. #GtkObject predates #GObject; non-widgets that derive from #GtkObject rather than #GObject do so for backward compatibility reasons.</para><para>The most interesting difference between #GtkObject and #GObject is the"floating" reference count. A #GObject is created with a reference count of 1,owned by the creator of the #GObject. (The owner of a reference is the codesection that has the right to call g_object_unref() in order to remove thatreference.)  A #GtkObject is created with a reference count of 1 also, but itisn't owned by anyone; calling g_object_unref() on the newly-created #GtkObjectis incorrect. Instead, the initial reference count of a #GtkObject is "floating". The floating reference can be removed by anyone at any time, by callinggtk_object_sink(). gtk_object_sink() does nothing if an object is already sunk (has no floating reference).</para><para>When you add a widget to its parent container, the parent containerwill do this:<informalexample><programlisting>  g_object_ref (G_OBJECT (child_widget));  gtk_object_sink (GTK_OBJECT (child_widget));</programlisting></informalexample>This means that the container now owns a reference to the child widget (since it called g_object_ref()), and the child widget has no floating reference.</para><para>The purpose of the floating reference is to keep the child widget alive until you add it to a parent container:<informalexample><programlisting>   button = gtk_button_new (<!-- -->);   /* button has one floating reference to keep it alive */   gtk_container_add (GTK_CONTAINER (container), button);   /* button has one non-floating reference owned by the container */</programlisting></informalexample></para><para>#GtkWindow is a special case, because GTK+ itself will ref/sink it on creation. That is, after calling gtk_window_new(), the #GtkWindow will have one reference which is owned by GTK+, and no floating references.</para><para>One more factor comes into play: the "destroy" signal, emitted by thegtk_object_destroy() method. The "destroy" signal asks all code owning areference to an object to release said reference. So, for example, if you callgtk_object_destroy() on a #GtkWindow, GTK+ will release the reference count thatit owns; if you call gtk_object_destroy() on a #GtkButton, then the button willbe removed from its parent container and the parent container will release itsreference to the button.  Because these references are released, callinggtk_object_destroy() should result in freeing all memory associated with anobject, unless some buggy code fails to release its references in response tothe "destroy" signal. Freeing memory (referred to as<firstterm>finalization</firstterm> only happens if the reference count reacheszero.</para><para>Some simple rules for handling #GtkObject:<itemizedlist><listitem><para>Never call g_object_unref() unless you have previously called g_object_ref(), even if you created the #GtkObject. (Note: this is <emphasis>not</emphasis>true for #GObject; for #GObject, the creator of the object owns a reference.)</para></listitem><listitem><para>Call gtk_object_destroy() to get rid of most objects in most cases. In particular, widgets are almost always destroyed in this way.</para></listitem><listitem><para> Because of the floating reference count, you don't need toworry about reference counting for widgets and toplevel windows, unless youexplicitly call g_object_ref() yourself.</para></listitem></itemizedlist></para></refsect2><!-- ##### SECTION See_Also ##### --><para>#GObject</para><!-- ##### SECTION Stability_Level ##### --><!-- ##### STRUCT GtkObject ##### --><para>The object itself.  You should never use these members directly - use the accessing macros instead.</para><!-- ##### SIGNAL GtkObject::destroy ##### --><para>Signals that all holders of a reference to the #GtkObject should releasethe reference that they hold. May result in finalization of the objectif all references are released.</para>@object: the object which received the signal.<!-- ##### ARG GtkObject:user-data ##### --><para></para><!-- ##### MACRO GTK_OBJECT_TYPE ##### --><para>Gets the type of an object.</para>@object: a #GtkObject.<!-- ##### MACRO GTK_OBJECT_TYPE_NAME ##### --><para>Gets the name of an objects type.</para>@object: a #GtkObject.<!-- ##### ENUM GtkObjectFlags ##### --><para>Tells about the state of the object.</para>@GTK_IN_DESTRUCTION: the object is currently being destroyed. This is used   internally by GTK+ to prevent reinvokations during destruction.@GTK_FLOATING: the object is orphaned.  Objects that take strong hold of an   object may gtk_object_sink() it, after obtaining their own references, if   they believe they are nearly primary ownership of the object.GTK_CONNECTED: signals are connected to this object.@GTK_RESERVED_1: reserved for future use@GTK_RESERVED_2: reserved for future use<!-- ##### MACRO GTK_OBJECT_FLAGS ##### --><para>Gets the #GtkObjectFlags for an object without directlyaccessing its members.</para>@obj: the object whose flags are returned.<!-- ##### MACRO GTK_OBJECT_FLOATING ##### --><para>Evaluates to %TRUE if the object still has its floating reference count.See the overview documentation for #GtkObject.</para>@obj: the object to examine.<!-- ##### ENUM GtkArgFlags ##### --><para>Possible flags indicating how an argument should be treated.Deprecated in favor of #GParamSpec features.</para>@GTK_ARG_READABLE: the argument is readable. (i.e. can be queried)@GTK_ARG_WRITABLE: the argument is writable. (i.e. settable)@GTK_ARG_CONSTRUCT: the argument needs construction.@GTK_ARG_CONSTRUCT_ONLY: the argument needs construction (and willbe set once during object creation), but is otherwise cannot beset.  Hence this flag is not allowed with #GTK_ARG_WRITABLE,and is redundant with #GTK_ARG_CONSTRUCT.@GTK_ARG_CHILD_ARG: an argument type that applies to (and may be different for)each child.  Used by #GtkContainer.<!-- ##### FUNCTION gtk_object_new ##### --><para>Constructs an object given its arguments, enumerated in the call to thefunction.</para>@type: the type identifying this object.  Returned by gtk_type_unique()(although for a properly-written object it should be accessible througha #GTK_TYPE_FOO macro.)@first_property_name: name of the first property to set when constructing   the object.@Varargs: the first argument's value, followed by any number ofname/argument-value pairs, terminated with %NULL.@Returns: the new #GtkObject.@Deprecated: Use g_object_new() instead.<!-- ##### FUNCTION gtk_object_sink ##### --><para>Removes the floating reference from a #GtkObject, if it exists; otherwise does nothing. See the #GtkObject overview documentation at the top of the page.</para>@object: the object to sink.<!-- ##### FUNCTION gtk_object_ref ##### --><para>Increases the reference count of the object.</para>@object: the object to reference.@Returns: @object.@Deprecated: Use g_object_ref() instead.<!-- ##### FUNCTION gtk_object_unref ##### --><para>Decreases the reference count of an object.  When its reference count drops to 0, the object is finalized (i.e. its memory is freed).  </para>@object: the object to dereference.@Deprecated: Use g_object_unref() instead.<!-- ##### FUNCTION gtk_object_weakref ##### --><para>Adds a weak reference callback to an object. Weak references are used for notification when an object isfinalized. They are called "weak references" because they allow you to safelyhold a pointer to an object without calling g_object_ref() (g_object_ref() addsa strong reference, that is, forces the object to stay alive).</para>@object: object to weakly reference.@notify: callback to invoke before the object is freed.@data: extra data to pass to #notify.@Deprecated: Use g_object_weak_ref() instead.<!-- ##### FUNCTION gtk_object_weakunref ##### --><para>Removes a weak reference callback to an object.</para>@object: object stop weakly referencing.@notify: callback to search for.@data: data to search for.@Deprecated: Use g_object_weak_unref() instead.<!-- ##### FUNCTION gtk_object_destroy ##### --><para>Emits the "destroy" signal notifying all reference holders that they shouldrelease the #GtkObject. See the overview documentation at the top of the 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
老司机精品视频线观看86 | 欧美日韩高清一区二区不卡| 国产裸体歌舞团一区二区| 免费欧美在线视频| 蜜臀av亚洲一区中文字幕| 日本中文一区二区三区| 日日夜夜精品免费视频| 天堂va蜜桃一区二区三区漫画版| 亚洲不卡一区二区三区| 天天做天天摸天天爽国产一区| 一区二区三国产精华液| 亚洲www啪成人一区二区麻豆| 天天色天天操综合| 蜜桃在线一区二区三区| 国模娜娜一区二区三区| 懂色av中文一区二区三区| 懂色av一区二区三区蜜臀| 成人性生交大片免费看视频在线 | 青青国产91久久久久久| 免费成人在线观看| 激情综合一区二区三区| 国产成人超碰人人澡人人澡| av电影在线不卡| 欧美探花视频资源| 欧美一级片免费看| 久久久久久麻豆| 最新国产精品久久精品| 亚洲观看高清完整版在线观看| 日本va欧美va欧美va精品| 国产精品一区二区免费不卡| 99精品国产一区二区三区不卡| 91成人免费在线| 日韩欧美国产麻豆| 国产精品久久看| 亚洲二区在线视频| 狠狠色狠狠色综合系列| av网站免费线看精品| 欧美视频精品在线| 精品国产伦一区二区三区观看体验 | 国产精品一区二区视频| 色哦色哦哦色天天综合| 91麻豆精品国产无毒不卡在线观看| 精品国产一区二区三区久久影院| 国产精品久线在线观看| 天天免费综合色| 福利一区二区在线| 欧美日韩视频专区在线播放| www一区二区| 亚洲一区二区三区激情| 国产真实乱子伦精品视频| 91免费在线视频观看| 日韩一级片网站| 国产精品国产自产拍在线| 日本vs亚洲vs韩国一区三区二区| 成人综合日日夜夜| 欧美精品v国产精品v日韩精品 | 精品免费一区二区三区| 亚洲免费av高清| 狠狠色丁香久久婷婷综合丁香| 色婷婷国产精品久久包臀| 精品久久一区二区三区| 亚洲主播在线观看| 成人午夜激情在线| 91麻豆精品国产91久久久久久 | 国产精品美女视频| 日本午夜一区二区| 91啪亚洲精品| 国产亚洲欧洲一区高清在线观看| 亚洲午夜电影网| 成人永久看片免费视频天堂| 欧美一级夜夜爽| 亚洲综合丁香婷婷六月香| 成人av网站在线| 久久午夜国产精品| 蜜臀av一区二区在线观看| 欧洲亚洲精品在线| 最新国产精品久久精品| 国产精品88888| 精品日韩99亚洲| 污片在线观看一区二区| 日本韩国欧美在线| 国产精品乱人伦中文| 久久精品国产亚洲一区二区三区| 欧美亚洲高清一区| 亚洲欧美激情一区二区| 国产成人精品免费网站| 精品久久久久久无| 日本成人在线视频网站| 欧美体内she精高潮| 亚洲欧美另类在线| 波多野结衣的一区二区三区| 久久久久国产精品人| 狠狠久久亚洲欧美| 精品处破学生在线二十三| 免费在线观看一区二区三区| 欧美日韩的一区二区| 一级特黄大欧美久久久| 99re成人精品视频| 亚洲色图在线视频| aaa亚洲精品| 亚洲欧美视频在线观看视频| 91无套直看片红桃| 国产精品网站一区| www.成人在线| 中文字幕制服丝袜一区二区三区 | 日韩成人一级片| 5月丁香婷婷综合| 日韩影视精彩在线| 日韩小视频在线观看专区| 秋霞午夜av一区二区三区| 日韩精品资源二区在线| 日本欧美加勒比视频| 欧美一级高清片在线观看| 蜜桃在线一区二区三区| 亚洲精品一区二区三区四区高清| 精品一区二区三区免费播放 | 激情文学综合插| 久久久久久久网| 成人免费毛片aaaaa**| 欧美高清在线精品一区| 不卡免费追剧大全电视剧网站| 亚洲色图制服诱惑 | 亚洲午夜三级在线| 777亚洲妇女| 国产一区二区成人久久免费影院| 国产午夜精品一区二区三区嫩草 | 6080yy午夜一二三区久久| 久久爱另类一区二区小说| 久久久久88色偷偷免费| 99这里只有精品| 亚洲一区中文在线| 欧美一级欧美三级在线观看| 国内精品第一页| 亚洲欧洲韩国日本视频| 欧美三片在线视频观看 | 色老综合老女人久久久| 亚洲国产视频在线| 欧美mv日韩mv国产网站app| 国产盗摄视频一区二区三区| 亚洲天天做日日做天天谢日日欢| 欧美日韩视频在线一区二区| 久久国产麻豆精品| 国产精品电影一区二区| 欧美高清精品3d| 国产精选一区二区三区| 悠悠色在线精品| 日韩欧美国产1| www.色综合.com| 日本美女一区二区| 国产日韩精品一区二区浪潮av| 色av一区二区| 精一区二区三区| 亚洲精品免费一二三区| 精品卡一卡二卡三卡四在线| 91蜜桃视频在线| 九九视频精品免费| 亚洲综合色视频| 国产日韩欧美精品一区| 欧美性大战久久久| 国产成人av电影| 免费av成人在线| 一区二区三区视频在线观看| 精品久久久久久久久久久久包黑料| 91蜜桃传媒精品久久久一区二区 | 2020国产精品久久精品美国| 91免费观看在线| 国产剧情一区二区| 亚洲r级在线视频| 日本一区二区成人在线| 日韩一级精品视频在线观看| 93久久精品日日躁夜夜躁欧美| 久久99久久久欧美国产| 亚洲午夜成aⅴ人片| 中文字幕第一页久久| 日韩女优视频免费观看| 91福利资源站| 成人精品视频一区| 九九**精品视频免费播放| 亚洲成人午夜影院| 亚洲免费av观看| 国产精品女人毛片| 亚洲精品一区二区三区福利| 欧美色成人综合| 91精彩视频在线观看| 成人亚洲一区二区一| 国产在线精品视频| 日本免费新一区视频| 香港成人在线视频| 一区二区三区美女视频| 国产精品久久夜| 欧美国产一区视频在线观看| 欧美zozo另类异族| 欧美一区三区四区| 欧美色精品天天在线观看视频| 一本大道久久a久久综合| 成人黄色在线网站| 国产激情视频一区二区在线观看| 久久精品国产精品亚洲精品| 男女视频一区二区| 日本美女一区二区三区视频|