• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C++ G_PARAM_SPEC函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C++中G_PARAM_SPEC函数的典型用法代码示例。如果您正苦于以下问题:C++ G_PARAM_SPEC函数的具体用法?C++ G_PARAM_SPEC怎么用?C++ G_PARAM_SPEC使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了G_PARAM_SPEC函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: gnomenu_param_spec_mnemonic_keys

GParamSpec* gnomenu_param_spec_mnemonic_keys (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	GnomenuParamSpecMnemonicKeys* spec;
	g_return_val_if_fail (g_type_is_a (object_type, GNOMENU_TYPE_MNEMONIC_KEYS), NULL);
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
	G_PARAM_SPEC (spec)->value_type = object_type;
	return G_PARAM_SPEC (spec);
}
开发者ID:cheng-jk,项目名称:mate-globalmenu,代码行数:7,代码来源:mnemonickeys.c


示例2: g_param_spec_flags

GParamSpec*
g_param_spec_flags (const gchar *name,
		    const gchar *nick,
		    const gchar *blurb,
		    GType	 flags_type,
		    guint	 default_value,
		    GParamFlags	 flags)
{
  GParamSpecFlags *fspec;
  GFlagsClass *flags_class;
  
  g_return_val_if_fail (G_TYPE_IS_FLAGS (flags_type), NULL);

  flags_class = g_type_class_ref (flags_type);

  g_return_val_if_fail ((default_value & flags_class->mask) == default_value, NULL);
  
  fspec = g_param_spec_internal (G_TYPE_PARAM_FLAGS,
				 name,
				 nick,
				 blurb,
				 flags);
  
  fspec->flags_class = flags_class;
  fspec->default_value = default_value;
  G_PARAM_SPEC (fspec)->value_type = flags_type;
  
  return G_PARAM_SPEC (fspec);
}
开发者ID:crutchwalkfactory,项目名称:motocakerteam,代码行数:29,代码来源:gparamspecs.c


示例3: radare_param_spec_debugger

GParamSpec* radare_param_spec_debugger (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	RadareParamSpecDebugger* spec;
	g_return_val_if_fail (g_type_is_a (object_type, RADARE_TYPE_DEBUGGER), NULL);
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
	G_PARAM_SPEC (spec)->value_type = object_type;
	return G_PARAM_SPEC (spec);
}
开发者ID:111X,项目名称:radare,代码行数:7,代码来源:debugger.c


示例4: g_param_spec_enum

GParamSpec*
g_param_spec_enum (const gchar *name,
		   const gchar *nick,
		   const gchar *blurb,
		   GType	enum_type,
		   gint		default_value,
		   GParamFlags	flags)
{
  GParamSpecEnum *espec;
  GEnumClass *enum_class;
  
  g_return_val_if_fail (G_TYPE_IS_ENUM (enum_type), NULL);

  enum_class = g_type_class_ref (enum_type);

  g_return_val_if_fail (g_enum_get_value (enum_class, default_value) != NULL, NULL);
  
  espec = g_param_spec_internal (G_TYPE_PARAM_ENUM,
				 name,
				 nick,
				 blurb,
				 flags);
  
  espec->enum_class = enum_class;
  espec->default_value = default_value;
  G_PARAM_SPEC (espec)->value_type = enum_type;
  
  return G_PARAM_SPEC (espec);
}
开发者ID:crutchwalkfactory,项目名称:motocakerteam,代码行数:29,代码来源:gparamspecs.c


示例5: param_spec_qtable_entry

GParamSpec* param_spec_qtable_entry (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	ParamSpecQtableEntry* spec;
	g_return_val_if_fail (g_type_is_a (object_type, TYPE_QTABLE_ENTRY), NULL);
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
	G_PARAM_SPEC (spec)->value_type = object_type;
	return G_PARAM_SPEC (spec);
}
开发者ID:emillon,项目名称:gmpc,代码行数:7,代码来源:gmpc-widgets-qtable.c


示例6: grava_param_spec_renderer

GParamSpec* grava_param_spec_renderer (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	GravaParamSpecRenderer* spec;
	g_return_val_if_fail (g_type_is_a (object_type, GRAVA_TYPE_RENDERER), NULL);
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
	G_PARAM_SPEC (spec)->value_type = object_type;
	return G_PARAM_SPEC (spec);
}
开发者ID:111X,项目名称:radare,代码行数:7,代码来源:renderer.c


示例7: param_spec_ug_settings

GParamSpec* param_spec_ug_settings (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	ParamSpecUGSettings* spec;
	g_return_val_if_fail (g_type_is_a (object_type, TYPE_UG_SETTINGS), NULL);
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
	G_PARAM_SPEC (spec)->value_type = object_type;
	return G_PARAM_SPEC (spec);
}
开发者ID:fatman2021,项目名称:unity-greeter,代码行数:7,代码来源:settings.c


示例8: param_spec_dvb_plugin_factory

GParamSpec* param_spec_dvb_plugin_factory (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	ParamSpecDVBPluginFactory* spec;
	g_return_val_if_fail (g_type_is_a (object_type, TYPE_DVB_PLUGIN_FACTORY), NULL);
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
	G_PARAM_SPEC (spec)->value_type = object_type;
	return G_PARAM_SPEC (spec);
}
开发者ID:zeenix,项目名称:Rygel-Debian,代码行数:7,代码来源:rygel-dvb-plugin-factory.c


示例9: param_spec_hello_world

GParamSpec* param_spec_hello_world (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	ParamSpecHelloWorld* spec;
	g_return_val_if_fail (g_type_is_a (object_type, TYPE_HELLO_WORLD), NULL);
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
	G_PARAM_SPEC (spec)->value_type = object_type;
	return G_PARAM_SPEC (spec);
}
开发者ID:darkoverlordofdata,项目名称:sdl2-vala-valama,代码行数:7,代码来源:test.c


示例10: bullet_param_spec_vector_3

GParamSpec* bullet_param_spec_vector_3 (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	BulletParamSpecVector_3* spec;
	g_return_val_if_fail (g_type_is_a (object_type, BULLET_TYPE_VECTOR_3), NULL);
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
	G_PARAM_SPEC (spec)->value_type = object_type;
	return G_PARAM_SPEC (spec);
}
开发者ID:cessationoftime,项目名称:BulletVapi,代码行数:7,代码来源:bullet-custom.c


示例11: param_spec_property_item

GParamSpec* param_spec_property_item (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	ParamSpecPropertyItem* spec;
	g_return_val_if_fail (g_type_is_a (object_type, TYPE_PROPERTY_ITEM), NULL);
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
	G_PARAM_SPEC (spec)->value_type = object_type;
	return G_PARAM_SPEC (spec);
}
开发者ID:genba,项目名称:SmartSim,代码行数:7,代码来源:propertyitem.c


示例12: param_spec_image_exporter

GParamSpec* param_spec_image_exporter (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	ParamSpecImageExporter* spec;
	g_return_val_if_fail (g_type_is_a (object_type, TYPE_IMAGE_EXPORTER), NULL);
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
	G_PARAM_SPEC (spec)->value_type = object_type;
	return G_PARAM_SPEC (spec);
}
开发者ID:MerelyAPseudonym,项目名称:SmartSim,代码行数:7,代码来源:imageexporter.c


示例13: param_spec_graphic

GParamSpec* param_spec_graphic (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	ParamSpecGraphic* spec;
	g_return_val_if_fail (g_type_is_a (object_type, TYPE_GRAPHIC), NULL);
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
	G_PARAM_SPEC (spec)->value_type = object_type;
	return G_PARAM_SPEC (spec);
}
开发者ID:MerelyAPseudonym,项目名称:SmartSim,代码行数:7,代码来源:graphic.c


示例14: param_spec_gconf_interface

GParamSpec* param_spec_gconf_interface (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	ParamSpecGConfInterface* spec;
	g_return_val_if_fail (g_type_is_a (object_type, TYPE_GCONF_INTERFACE), NULL);
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
	G_PARAM_SPEC (spec)->value_type = object_type;
	return G_PARAM_SPEC (spec);
}
开发者ID:freijon,项目名称:update-indicator,代码行数:7,代码来源:GConfInterface.c


示例15: vala_param_spec_source_reference

GParamSpec* vala_param_spec_source_reference (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	ValaParamSpecSourceReference* spec;
	g_return_val_if_fail (g_type_is_a (object_type, VALA_TYPE_SOURCE_REFERENCE), NULL);
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
	G_PARAM_SPEC (spec)->value_type = object_type;
	return G_PARAM_SPEC (spec);
}
开发者ID:tangentstorm,项目名称:saiwa,代码行数:7,代码来源:valasourcereference.c


示例16: ease_main_param_spec_editor_window_info

static GParamSpec* ease_main_param_spec_editor_window_info (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	EaseMainParamSpecEditorWindowInfo* spec;
	g_return_val_if_fail (g_type_is_a (object_type, EASE_MAIN_TYPE_EDITOR_WINDOW_INFO), NULL);
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
	G_PARAM_SPEC (spec)->value_type = object_type;
	return G_PARAM_SPEC (spec);
}
开发者ID:rmujica,项目名称:Nitido,代码行数:7,代码来源:ease-main.c


示例17: param_spec_request_handler

GParamSpec* param_spec_request_handler (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	ParamSpecRequestHandler* spec;
	g_return_val_if_fail (g_type_is_a (object_type, TYPE_REQUEST_HANDLER), NULL);
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
	G_PARAM_SPEC (spec)->value_type = object_type;
	return G_PARAM_SPEC (spec);
}
开发者ID:BackupTheBerlios,项目名称:wiki4freetz-svn,代码行数:7,代码来源:wikihandler.c


示例18: vala_param_spec_ccode_node

GParamSpec* vala_param_spec_ccode_node (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	ValaParamSpecCCodeNode* spec;
	g_return_val_if_fail (g_type_is_a (object_type, VALA_TYPE_CCODE_NODE), NULL);
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
	G_PARAM_SPEC (spec)->value_type = object_type;
	return G_PARAM_SPEC (spec);
}
开发者ID:burzumishi,项目名称:XCompWMaker,代码行数:7,代码来源:valaccodenode.c


示例19: vala_param_spec_iterator

GParamSpec* vala_param_spec_iterator (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	ValaParamSpecIterator* spec;
	g_return_val_if_fail (g_type_is_a (object_type, VALA_TYPE_ITERATOR), NULL);
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
	G_PARAM_SPEC (spec)->value_type = object_type;
	return G_PARAM_SPEC (spec);
}
开发者ID:tangentstorm,项目名称:saiwa,代码行数:7,代码来源:iterator.c


示例20: param_spec_dpap_copy

GParamSpec* param_spec_dpap_copy (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	ParamSpecDPAPCopy* spec;
	g_return_val_if_fail (g_type_is_a (object_type, TYPE_DPAP_COPY), NULL);
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
	G_PARAM_SPEC (spec)->value_type = object_type;
	return G_PARAM_SPEC (spec);
}
开发者ID:GNOME,项目名称:libdmapsharing,代码行数:7,代码来源:dmapcopy.c



注:本文中的G_PARAM_SPEC函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ G_PARAM_SPEC_VALUE_TYPE函数代码示例发布时间:2022-05-30
下一篇:
C++ G_OUTPUT_STREAM函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap