在blog中聚合RSS内容

opera的blog可以整合别的blog的rss,感觉很不错的功能,去google了一下,于是找到了feed2js,看名称就知道了,将rss feed转成javascript,这样就可以在任何html页面中整合rss内容了

地址: http://www.vingel.com/feed2js/build.php 填好feed后generate一下就ok了

ps: 后来又发现一个中文版的,呵呵
http://ex.imio.us/feed/

测测你的心理年龄

无意中看到了,本来不喜欢这种无聊的东西的,不过突然想起一个同学讲过自己的心理年龄有40......于是有点好奇......

你的成熟度是 113.636363636364%,
你心理处在青年时期。内心不能平息的矛盾冲突是此时你最明显的特征。你渴望独立自主自由洒脱,但还没有摆脱他人的阴影,那第三只眼随时监控着你,你的一举一动在儿童时期是为具体的他人满意,现在是为让这第三只眼满意,本能与人为,现实与理想,自我与超我,这种种矛盾的痛苦是推动人格发展的动力。

呵呵,试下?
http://flash.chuchuang.net/qita/xinlinianling.php

老婆手艺越来越好了

终于把新blog弄好了,发几张照片,lp为庆祝偶生日亲手做的,嘿嘿

img154 img151
还有蛋糕,嘿嘿

img153 img152

LibGlade 2.0 文件格式

Libglade
2.0 引入了新的文件格式来存储用户界面描述. 和以前的格 式不同的时, 新的格式并不需要为每一个新的属性引入新的元素. 这样做使得 我们可以使用一个尽可能小的 DTD 来描述这种格式:

xmlns CDATA #FIXED
'http://glade.gnome.org/glade-2.0.dtd'>

lib CDATA #REQUIRED>

class CDATA #REQUIRED

id ID #REQUIRED>

GType for the property -->

before use. -->

context which must be stripped before use,
look up g_strip_context()

in the GLib API documentation for
details.-->

name CDATA #REQUIRED

type CDATA #IMPLIED

translatable (yes|no) 'no'

context (yes|no) 'no'

agent CDATA #IMPLIED>

name CDATA #REQUIRED

type CDATA #IMPLIED>

target CDATA #REQUIRED

type CDATA #REQUIRED>

action_name CDATA #REQUIRED

description CDATA #IMPLIED>

name CDATA #REQUIRED

handler CDATA #REQUIRED

after (yes|no) 'no'

object IDREF #IMPLIED

last_modification_time CDATA #IMPLIED>

key CDATA #REQUIRED

modifiers CDATA #REQUIRED

signal CDATA #REQUIRED>

(Internal children are things like the
scrollbars in a

GtkScrolledWindow, or the vbox in a
GtkDialog). -->

internal-child CDATA #IMPLIED>

包含了用于定义控件属性的 元素. 通常它们是直接影射到 GObject 对应的属性的.

元素是用于定义控件的信号和快 捷键.

元素也可能包含一个 元素, 它用于包含易用性相应的属性. 它们用于设置各种 ATK 选项 (如 ATK 属性, 关联和动作).

对于控件的每一个子控件都有一个 元素. internal-child 标志说明这个控件是父控件的内部控件. 这 些控件将会在父控件被构建时同时构建, 比如 GtkDialog 中 的 GtkVBoxGtkHButtonBox 控件.

元素要么包含一个 元素用于描述一个子控件, 或者包含一个 元素, 在构建界面时它将被忽略. 也有可能包含一个 元素, 它包含一个 定义填充属性的元素. 它们对 对应于 GtkContainer 子控件的填充属性.

属性描述

所有的属性都被直接的描述在 glade 文件中, 并包含了相应的值. 所有使用 glade 文件工作的程序必须使用相同的方式来描述这些不同的 类型的属性.

异常

由于一些控件并没有实现所有需要的属性, 这一节将列出
libglade 中已有异常情况并做相应说明.

下面的属性在 libglade 中有自己定义的处理函数, 大多数属性将 被包含到
GTK+ 2.2 中.

GtkWidget::visible is handled
specially so that it gets applied after children have been added. This works
around some sizing bugs in certain widgets (and is the same behaviour
libglade-0.x had).

GtkWidget::tooltip implements
tooltips for the widget. The property value is the tooltip to set on the
widget.

GtkOptionMenu::history sets which
menu item index in the list should be selected initially with
gtk_option_menu_set_history().

GtkTextView::text offers an
easy way to set the contents of a text view's buffer.

GtkCallendar::display_options
sets display options of a calendar with gtk_calendar_display_options().

GtkRadioMenuItem::group sets the
group for the radio item. The property value is the name of another widget in
the group. This property won't handle forward references like the GtkRadioButton::group property.

GtkToolbar::tooltips sets whether
the toolbar shows tooltips with gtk_toolbar_set_tooltips().

GtkStatusbar::has_resize_grip
sets whether the status bar has a resize grip in the bottom corner with
gtk_statusbar_set_has_resize_grip().

GtkRuler::metric sets the
bounds and metric type for the ruler with gtk_ruler_set_metric().

GtkMenuItem::label, GtkMenuItem::use_underline and GtkMenuItem::use_stock are used to
create a label inside a menu item, and set whether it has a mnemonic
(underlined letter), and whether it should be a stock item (standardised,
translated label and an icon, if it is a GtkImageMenuItem). These properties
act similarly to the identically named GtkButton properties.

这里还有大量被遗弃了的控件的处理函数, 及一些控件的被遗弃了的 设置的处理函数. 它们中的大部分在将来并不会转变成真实的属性. 它们包括:












































GtkPixmap::build_insensitive
GtkPixmap::filename
GtkProgress::format
GtkCalendar::display_options
GtkCList::column_widths
GtkCList: :s election_mode
GtkCList: :s hadow_type
GtkCList: :s how_titles
GtkTree: :s election_mode
GtkTree::view_mode
GtkTree::view_line
GtkList: :s election_mode
GtkCheckMenuItem::always_show_toggle
GtkText::text


XXXX - 还有一些...

test???

ooooooooh