Try to keep yourself occupied with books and craft (knitting, sewing, whatever you might like). I always end up snacking, mindlessly, when I'm bored. I can just picture what the situation would look like if I was on bed rest --- me, in my bed, surrounded by tons of food
As others have mentioned, lean proteins and high fiber foods are your best friend (even when you're off bed rest). Those types of foods take longer for your digestive system to break down, leaving you feeling full and satisfied longer.
When I have a hard boiled egg for breakfast, I'm good to go until lunch, but when I have a bowl of honey smacks or something of that nature, I find myself day dreaming about food like an hour and a half later! Watch the sugar too. I'm assuming you understand how blood sugar and insulin work? The idea is to try to avoid those blood sugar spikes and keep it at a consistent level. When blood sugar drop, you crave things with sugar. Obviously it's better to consume natural sugar (fruit) than it is to drink a soda or eat cake, but that's really only because you're getting the fiber from the fruit, so it takes your body longer to break it down, helping to maintain a steadier blood sugar level. But sugar is sugar, it all causes similar reactions in regards to insulin and blood glucose levels. So that being said, it's probably best to stick to only eating the sweet stuff in the evening, after dinner, whether it be fruit or cookies. That way, when you're blood sugar drops, you'll be on your way to sleep and will hopefully be able to resist any cravings that come along with that.
I'd highly recommend picking up the South Beach diet book. I'm not a fan of any of those fad diets, but it was actually recommended to me by a nutritionist. It's got a lot of great information in the front and tons of recipes in the back. They have a whole plan laid out for you, but I never really used that. Just being aware of how my body processes and is affected by different types of food helped me lose about 45 pounds in two and a half months. Granted, I was doing a lot of physical activity (though no more than I was doing before, when I was eating like crap) and I'm young and haven't had children. But it certainly won't hurt.
Good luck! Hope you heal quickly.