云联天下首页 |  登陆 |  注册 |  密码找回 |  关于我们 | 加入收藏 
首页技术资料PHP编程→GtkMisc 【字号: 】 【背景色 杏仁黄 秋叶褐 胭脂红 芥末绿 天蓝 雪青 灰 银河白(默认色)

GtkMisc

网址来源:http://www.kehui.net发布时间: 2002-01-21 18:12:12
GtkMisc <br>Name<br>GtkMisc <br>Synopsis<br>Name<br>GtkMisc



Brief Description<br>A base class for widgets with alignments and padding



用于对齐方式和边缘填充的部件基类



Object Hierarchy



 GtkMisc



Object Properties and Methods<br>Constructor<br>None - Not Directly Accessible.



没有构造器



Methods



void set_alignment (int xalign, int yalign);<br>-- Sets the alignment of a widget



设置部件的对齐方式



void set_padding (int xpad, int ypad);



-- Sets the amount of space to add around the widget



设置部件周围的空白大小



Properties<br>None - Not Directly Accessible.



没有属性



Signals<br>None - Not Directly Accessible.



没有信号



Detailed Description



The GtkMisc widget is an abstract widget that provides the functionality for other widgets below itself which need alignment and padding attributes.



是一个抽象的部件,用于设置它后面的部件控制对齐方式和空白属性的函数



This object should not be accessed by the PHP developer directly. It is used and documented here for inheritance purposes, not for actual use.



这个对象不能被 php 开发者直接使用。这里只是说明其继承,没有真正使用



The widget has horizonal and vertical properties that allow it to be positioned as needed within its container by adding extra space around the widget.



部件有水平和垂直属性,允许在它的容器内增加周围的 额外空间!



Note that if the widget is added to a container in such a way that it expands automatically to fill its allocated area, the alignment settings will not alter the position of the widget.



注意:如果你的部件添加了类似自动填充位置的方法,对齐设置将不会改变部件的位置



Methods



void set_alignment (int xalign, int yalign);



This function can be used to set the alignment of a widget within a container. The xalign is the distance of the top left of the widget from the topleft corner of the container along the x-axis, taking values from 0(left) to 1(right). The yalign is the distance of the top left corner of the widget from the top left corner of the container along the y-axis.



设置容器内的部件的对齐方式。xalign 是距离左上角的 x 距离, yalign 是距离左上角的 y 距离



void set_padding (int xpad, int ypad);



This function can be used to set the padding around an object in pixels. It has two parameters, xpad and ypad, which tell GTK to pad the widget by that number of pixels along the x or y axis respectively.



设置横向和纵向的周边空白的像素数目



Properties<br>None - Not Directly Accessible.



Signals<br>None - Not Directly Accessible.

kehui 

相关新闻
v GtkLabel 2002-01-21 18:12:12
v 什么是容器? 2002-01-21 18:12:12
v GtkWidget 2002-01-21 18:12:12
v 相关的站点有什么? 2002-01-21 18:12:12
v 如何在 win32 下面安装 PHP_GTK? 2002-01-21 18:12:12
v 如何在 GtkFileSelection 里面使用按钮? 2002-01-21 18:12:12
v 我能在 win32 下使用主题吗? 2002-01-21 18:12:12
v 什么是 PHP-GTK? 2002-01-21 18:12:12
v 如何知道支持哪个 GTK 类?? 2002-01-21 18:12:12
v swf_enddoaction 2002-01-21 18:12:12
  最新新闻
智慧家居
智慧家居颠覆传统智能家居
智慧云谷让智能家居变成有智慧的
智慧云谷引领智慧家居新生活
科技改变生活 智慧云谷智慧家居系
智慧家居领航者,智慧云谷助你玩
智能家居如何赢得市场美誉度?
智慧云谷智慧家居:创业者有无限
WiFi智能家居你还在用?这样的智
互联网+助推智能家居产业
智慧云谷为您打造真正的智能家居
智能家居产业需要的不是单品,而
新家如何选择开关?智慧云谷iWis
智能传感器-世界首款“智”为你的
智慧云谷开关智能安防智能空气质
智能开关品牌,如何选择智能开关
秋季干燥,智慧家居温湿度传感器
传感器助力智慧家居 感知爱家
iWiscloud智能触摸开关缔造家居装

  最新帖子
 ※室内空气污染的危害及  [sensor]
 ※超声波风速传感器在生  [sensor]
 ※这么冷清  [gabc111]
 ※手机APP操作有问题  [ssy11407]
 ※智慧云谷智慧家居将在  [cici]
 ※上传下载  [cici]
 ※下载智慧家居  [apple2008]
 ※秋季干燥,智慧家居温  [apple2008]
 ※智慧家居紧扣热点 安全  [apple2008]
 ※办公大楼如何智慧化管  [apple2008]
 ※智慧云谷工业自控的优  [apple2008]
 ※传感器助力智慧家居 感  [apple2008]
 ※智能开关品牌,如何选  [apple2008]
 ※智慧云谷开关智能安防  [apple2008]
 ※没有专业人员,如何安  [apple2008]
 ※烟台智慧云谷董事长任  [apple2008]
 ※互联网+助推智能家居产  [apple2008]
 ※WiFi智能家居你还在用  [apple2008]
 ※智慧云谷智慧家居:创  [apple2008]
 ※智能家居如何赢得市场  [apple2008]
钯碳回收 硝酸银回收 银浆回收 银焊条回收 回收银浆 氯化钯回收 氯化钯回收 氧化钯回收 回收硝酸钯 钯水回收价格 海绵钯回收 钯炭回收价格 回收镀金板 深圳钯碳回收 镇江氯化钯回收 杭州钯浆回收 银浆回收多少钱 回收钯碳公司 硝酸银的价格 那里有回收金 氯化钯回收价格 江苏擦银布回收 硝酸银价格 德州钯粉回收 银铜回收 回收钯粉 回收铂碳催化剂 佛山钯碳回收 金盐回收价格 海绵钯回收 钯碳高价回收 钯回收价格 钯炭回收