gtk+-bundle_2.22.1-20101229_win64


注意: GTK+ 3.x版本跟Python2.7不兼容,如果在Python下使用GTK,需要安装2.x版的gtk+ (在windows上如此)
资源截图
代码片段和文件信息
/* Gobject - GLib Type object Parameter and Signal Library
 * Copyright (C) 1998-1999 2000-2001 Tim Janik and Red Hat Inc.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General
 * Public License along with this library; if not write to the
 * Free Software Foundation Inc. 59 Temple Place Suite 330
 * Boston MA 02111-1307 USA.
 */

#ifndef __G_object_NOTIFY_QUEUE_H__
#define __G_object_NOTIFY_QUEUE_H__

#include  /* memset */

#include ject.h>

G_BEGIN_DECLS


/* --- typedefs --- */
typedef struct _GobjectNotifyContext          GobjectNotifyContext;
typedef struct _GobjectNotifyQueue            GobjectNotifyQueue;
typedef void (*GobjectNotifyQueueDispatcher) (Gobject     *object
      guint        n_pspecs
      GParamSpec **pspecs);


/* --- structures --- */
struct _GobjectNotifyContext
{
  GQuark                       quark_notify_queue;
  GobjectNotifyQueueDispatcher dispatcher;
  GTrashStack                 *_nqueue_trash; /* unused */
};
struct _GobjectNotifyQueue
{
  GobjectNotifyContext *context;
  GSList               *pspecs;
  guint16               n_pspecs;
  guint16               freeze_count;
};

G_LOCK_DEFINE_STATIC(notify_lock);

/* --- functions --- */
static void
g_object_notify_queue_free (gpointer data)
{
  GobjectNotifyQueue *nqueue = data;

  g_slist_free (nqueue->pspecs);
  g_slice_free (GobjectNotifyQueue nqueue);
}

static inline GobjectNotifyQueue*
g_object_notify_queue_freeze (Gobject    *object
      GobjectNotifyContext *context)
{
  GobjectNotifyQueue *nqueue;

  G_LOCK(notify_lock);
  nqueue = g_datalist_id_get_data (&object->qdata context->quark_notify_queue);
  if (!nqueue)
    {
      nqueue = g_slice_new0 (GobjectNotifyQueue);
      nqueue->context = context;
      g_datalist_id_set_data_full (&object->qdata context->quark_notify_queue
   nqueue g_object_notify_queue_free);
    }

  if (nqueue->freeze_count >= 65535)
    g_critical(“Free queue for %s (%p) is larger than 65535“
               “ called g_object_freeze_notify() too often.“
               “ Forgot to call g_object_thaw_notify() or infinite loop“
               G_object_TYPE_NAME (object) object);
  else
    nqueue->freeze_count++;
  G_UNLOCK(notify_lock);

  return nqueue;
}

static inline void
g_object_notify_queue_thaw (Gobject            *object
    GobjectNotifyQueue *nqueue)
{
  GobjectNotifyContext *context = nqueue->context;
  GParamSpec *pspecs_mem[16] **pspecs 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件      199956  2010-09-12 08:08  binenvsubst.exe
     文件      160050  2010-08-18 11:04  binfc-cache.exe
     文件      145269  2010-08-18 11:05  binfc-list.exe
     文件        3818  2010-12-29 10:48  binfreetype-config
     文件      128691  2010-12-29 12:42  bingdk-pixbuf-csource.exe
     文件      131730  2010-12-29 12:42  bingdk-pixbuf-query-loaders.exe
     文件      199391  2010-09-12 08:08  bingettext.exe
     文件        4655  2010-09-12 08:08  bingettext.sh
     文件      146622  2010-12-29 12:20  binglib-genmarshal.exe
     文件        5492  2010-12-29 12:17  binglib-gettextize
     文件       16894  2010-12-29 12:20  binglib-mkenums
     文件      126826  2010-12-29 12:20  bingobject-query.exe
     文件      128656  2010-12-29 12:18  bingspawn-win64-helper-console.exe
     文件      130670  2010-12-29 12:18  bingspawn-win64-helper.exe
     文件       27879  2010-12-29 12:57  bingtk-builder-convert
     文件      444880  2010-12-29 13:00  bingtk-demo.exe
     文件      131025  2010-12-29 12:57  bingtk-query-immodules-2.0.exe
     文件      156990  2010-12-29 12:57  bingtk-update-icon-cache.exe
     文件         585  2010-12-29 12:57  bingtk-update-icon-cache.exe.manifest
     文件      153574  2010-09-12 08:08  binlibasprintf-0.dll
     文件      245571  2010-09-30 21:59  binlibatk-1.0-0.dll
     文件     1302090  2010-12-29 12:09  binlibcairo-2.dll
     文件      129524  2010-12-29 12:09  binlibcairo-gobject-2.dll
     文件      273815  2010-12-29 12:09  binlibcairo-script-interpreter-2.dll
     文件      263006  2010-08-18 11:02  binlibexpat-1.dll
     文件      339943  2010-08-18 11:04  binlibfontconfig-1.dll
     文件      630647  2010-12-29 10:48  binlibfreetype-6.dll
     文件      143726  2010-12-29 12:58  binlibgailutil-18.dll
     文件     1099963  2010-12-29 12:53  binlibgdk-win32-2.0-0.dll
     文件      369251  2010-12-29 12:42  binlibgdk_pixbuf-2.0-0.dll
     文件     1289153  2010-12-29 12:22  binlibgio-2.0-0.dll
............此处省略2886个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)