⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gtkskdialog.h.svn-base

📁 一款Linux手机上应用的文件管理器 系统要求就安装Gtk+2.0
💻 SVN-BASE
字号:
/*	libgemwidget - Gtk+ Embedded Widget library * *	Authors: YE Nan <nan.ye@orange-ftgourp.com>  *	 *	This software and associated documentation files (the "Software")  *	are copyright (C) 2005 LiPS Linux Phone Standards Forum [FranceTelecom]  *	All Rights Reserved.  * *	A copyright license is hereby granted for redistribution and use of  *	the Software in source and binary forms, with or without modification,  *	provided that the following conditions are met:  *	- Redistributions of source code must retain the above copyright notice,  *	this copyright license and the following disclaimer.  *  - Redistributions in binary form must reproduce the above copyright  * 	notice, this copyright license and the following disclaimer in the  *	documentation and/or other materials provided with the distribution.  *	- Neither the name of LiPS  nor the names of its Members may be used  *	to endorse or promote products derived from the Software without  *	specific prior written permission.  * *	A patent license for any Necessary Claims owned by Members of LiPS Forum  *	to make, have made, use, import, offer to sell, lease and sell or otherwise  *	distribute any implementation compliant with the any specification adopted  *	by the LiPS Forumcan be obtained from the respective Members on reasonable  *	and non-discriminatory terms and conditions and under reciprocity, as  *	regulated in more detail in the Internal Policy of the LiPS Forum.  * *	THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER, ITS MEMBERS AND CONTRIBUTORS  *	"AS IS", AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,  *	THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE  *	AND NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER,  *	ITS MEMBERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,  *	SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,  *	PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;  *	OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,  *	WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)  *	ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE  *	POSSIBILITY OF SUCH DAMAGE.  */#ifndef	__GTK_SK_DIALOG_H_#define	__GTK_SK_DIALOG_H_#include <gtk/gtk.h>#ifdef __cplusplusextern "C" {#endif#define	GTK_TYPE_SK_DIALOG									(gtk_sk_dialog_get_type ())#define	GTK_SK_DIALOG(obj)									(G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SK_DIALOG, GtkSkDialog))#define	GTK_SK_DIALOG_CLASS(klass)					(G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SK_DIALOG, GtkSkDialogClass))#define	GTK_IS_GTK_SK_DIALOG(obj)						(G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SK_DIALOG))#define GTK_IS_GTK_SK_DIALOG_CLASS(klass)		(G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SK_DIALOG))#define GTK_SK_DIALOG_GET_CLASS(obj)				(G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SK_DIALOG, GtkSkDialogClass))typedef struct _GtkSkDialog				GtkSkDialog;typedef struct _GtkSkDialogClass		GtkSkDialogClass;struct _GtkSkDialog{		GtkHBox						  hbox;		GtkWidget 					*pad1;	GtkWidget 					*entry1;  //For input year	GtkWidget 					*entry2;  //For input month	GtkWidget 					*entry3;  //For input day	GtkWidget						*pad2;		GtkWidget 					*eventbox1;	GtkWidget 					*label1;	GtkWidget 					*eventbox2;	GtkWidget 					*label2;};struct _GtkSkDialogClass{	GtkHBoxClass	parent_class;	};enum {  YEAR_ENTRY = 0,  MON_ENTRY = 1,	DATE_ENTRY = 2};GType				gtk_sk_dialog_get_type								(void)	G_GNUC_CONST;GtkWidget*	gtk_sk_dialog_new										(void);void 				gtk_sk_dialog_set_widget_width			(GtkSkDialog 	*entry,																								guint 					pad1w, 																								guint 					entry1w,																								guint 					entry2w,																								guint 					entry3w,																								guint						pad2w);void				gtk_sk_dialog_set_value							(GtkSkDialog  *skdialog,																								guint						year,																								guint						mon,																								guint						day);guint				gtk_sk_dialog_get_year							(GtkSkDialog  *skdialog);guint				gtk_sk_dialog_get_mon  							(GtkSkDialog  *skdialog);guint				gtk_sk_dialog_get_day								(GtkSkDialog  *skdialog);																															 #ifdef __cplusplus}#endif#endif /*__GTK_SK_DIALOG_H_*//*vi:ts=2:nowrap:ai:expandtab */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -