Objective-C
..
8:デフォルトの名無しさん
05/01/29 16:43:16
- free
{
g_print("Freeing me\n");
gtk_main_quit();
return [super free];
}
- button_press_event:(id)anobj :(GdkEventButton* )event
{
g_print("Button %d was pressed\n",event->button);
return self;
}
- clicked:(id)anobj
{
printf("A thing was clicked, object is %#x\n",(unsigned int)anobj);
if(anobj == testBtn)
[testLabel set_text:"Hello,world!"];
else if(anobj == testBtn2)
[testLabel set_text:"clicked by test2"];
return self;
}
@end
次ページ最新レス表示スレッドの検索類似スレ一覧話題のニュースおまかせリスト▼オプションを表示暇つぶし2ch
4857日前に更新/229 KB
担当:undef