GTK+プログラミング (983レス)
GTK+プログラミング http://mao.5ch.net/test/read.cgi/linux/1188968326/
上
下
前次
1-
新
通常表示
512バイト分割
レス栞
抽出解除
必死チェッカー(本家)
(べ)
自ID
レス栞
あぼーん
648: login:Penguin [sage] 2011/05/31(火) 20:26:42.71 ID:Bc3stUR8 >>647 GtkAlignmentでどうですか? 例えば、GtkButtonのパッディングを変更できるようにしたいなら、 button = gtk_button_new_with_label( "Button 2" ); align = gtk_alignment_new( 0, 0, 0, 0 ); gtk_container_add( GTK_CONTAINER( align ), button ); gtk_table_attach( GTK_TABLE( table ), align , 1, 2, 1, 2, GTK_SHRINK, GTK_SHRINK, 0, 0 ); でButtonを登録し、 gtk_alignment_set_padding( GTK_ALIGNMENT( align ), 5, 5, 10, 10 ); で調節します。 http://mao.5ch.net/test/read.cgi/linux/1188968326/648
649: 648 [sage] 2011/05/31(火) 20:30:44.34 ID:Bc3stUR8 >>648の追記です。 参考にしたURLは http://www.gtkforums.com/viewtopic.php?t=3220 です。 http://mao.5ch.net/test/read.cgi/linux/1188968326/649
メモ帳
(0/65535文字)
上
下
前次
1-
新
書
関
写
板
覧
索
設
栞
歴
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.035s