码迷,mamicode.com
首页 >  
搜索关键字:window-top opener parent self parent与opener的区别    ( 21313个结果
UITableView 滚动到最后一行
if (self.tableView.contentSize.height > self.tableView.frame.size.height) { CGPoint offset = CGPointMake(0, self.tableView.contentSize.heig...
分类:其他好文   时间:2014-06-07 08:40:38    阅读次数:187
AddParent
using UnityEngine;using UnityEditor;using System.Collections; public class AddParent : ScriptableObject{ [MenuItem ("GameObject/+Add Parent")] s...
分类:其他好文   时间:2014-06-07 00:36:56    阅读次数:202
iOS自定义NavigationBar
if (IS_IOS7()) { // NavigationBar 颜色 [[UINavigationBar appearance] setBarTintColor:HexColor(0xffffff)]; } else { self.nav...
分类:移动开发   时间:2014-06-06 15:48:39    阅读次数:283
Qt4.3.4下面创建一个OpenGL 窗口
直接上代码:NeHeWidget.h#include class NeHeWidget:public QGLWidget{Q_OBJECTpublic: NeHeWidget( QWidget* parent=0 ); ~NeHeWidget(); protected: vo...
分类:其他好文   时间:2014-06-06 14:07:31    阅读次数:188
c/c++栏目中类和对象-4的python实现
# -*- coding: utf-8 -*-"""Created on Wed Jun 04 01:21:31 2014@author: Administrator"""class Analysis: def processExamResults(self): passes =...
分类:编程语言   时间:2014-06-06 13:03:57    阅读次数:354
转: PHP中this,self,parent的区别
{一}PHP中this,self,parent的区别之一this篇面向对象编程(OOP,Object OrientedProgramming)现已经成为编程人员的一项基本技能。利用OOP的思想进行PHP的高级编程,对于提高PHP编程能力和规划web开发构架都是很有意义的。PHP5经过重写后,对OOP...
分类:Web程序   时间:2014-06-06 12:39:18    阅读次数:303
next enum in swift
```cppenum Iter: Int{ case s1=0, s2, s3, s4 mutating func next(){ if self == .s4 { self = .s1 return } ...
分类:其他好文   时间:2014-06-06 09:07:38    阅读次数:215
ubuntu下java的安装即使用
1、首先在官方网站(点击可以下载)下载最新的JDK,要选用self extracting installer2、在/usr/下新建java目录,把下载的文件放到这个目录下sudo mkdir /usr/javacd /usr/java3、更改这个文件的权限,使其可以运行: weijie@weijie...
分类:编程语言   时间:2014-06-06 06:46:20    阅读次数:363
Python,ElementTree模块处理XML时注释无法读取和保存的问题
from xml.etree import ElementTreeclass CommentedTreeBuilder ( ElementTree.XMLTreeBuilder ): def __init__ ( self, html = 0, target = None ): ...
分类:编程语言   时间:2014-06-05 13:16:31    阅读次数:261
matchesSelector及低版本IE中对该方法的实现
matchesSelector用来匹配dom元素是否匹配某css selector。它为一些高级方法的实现提供了基础支持,比如事件代理,parent, closest等。W3C在2006年就提出了该方法草案,Firefox和Safari相继实现,比如 目前除IE6-IE8,Firefox/Chro....
分类:其他好文   时间:2014-06-03 17:02:15    阅读次数:511
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!