GtkMenuを利用する
GtkMenu設置例





private void on_newBtn_activate(object sender , EventArgs e){
Console.WriteLine(" on_newBtn_activate ");
}
MenuItemの追加と削除
MenuItemの追加削除は右クリックのメニューから行います。
Gladeのメニューの中に項目がないため、右クリックのメニューのコピーを選択。削除する場合は削除を押す。
Go to list of users who liked
More than 3 years have passed since last update.
private void on_newBtn_activate(object sender , EventArgs e){
Console.WriteLine(" on_newBtn_activate ");
}
MenuItemの追加削除は右クリックのメニューから行います。
Gladeのメニューの中に項目がないため、右クリックのメニューのコピーを選択。削除する場合は削除を押す。
Register as a new user and use Qiita more conveniently
Go to list of users who liked