1 // Generated by gmmproc 2.60.0 -- DO NOT MODIFY!
2 
3 
4 #include <glibmm.h>
5 
6 #include <gtkmm/menu.h>
7 #include <gtkmm/private/menu_p.h>
8 
9 
10 /* Copyright 1998-2002 The gtkmm Development Team
11  *
12  * This library is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU Lesser General Public
14  * License as published by the Free Software Foundation; either
15  * version 2.1 of the License, or (at your option) any later version.
16  *
17  * This library is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
20  * Lesser General Public License for more details.
21  *
22  * You should have received a copy of the GNU Lesser General Public
23  * License along with this library; if not, write to the Free Software
24  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
25  */
26 
27 #include <gtk/gtk.h>
28 #include <gtkmm/accelgroup.h>
29 
30 
SignalProxy_PopupPosition_gtk_callback(GtkMenu *,int * x,int * y,gboolean * push_in,void * data)31 static void SignalProxy_PopupPosition_gtk_callback(GtkMenu*, int* x, int* y, gboolean* push_in, void* data)
32 {
33   auto the_slot = static_cast<Gtk::Menu::SlotPositionCalc*>(data);
34 
35   int  temp_x = (x) ? *x : 0;
36   int  temp_y = (y) ? *y : 0;
37   bool temp_push_in = (push_in) ? bool(*push_in) : false;
38 
39   try
40   {
41     (*the_slot)(temp_x, temp_y, temp_push_in);
42   }
43   catch(...)
44   {
45     Glib::exception_handlers_invoke();
46   }
47 
48   if(x) *x = temp_x;
49   if(y) *y = temp_y;
50   if(push_in) *push_in = temp_push_in;
51 }
52 
SignalProxy_PopupPosition_gtk_callback_destroy(void * data)53 static void SignalProxy_PopupPosition_gtk_callback_destroy(void* data)
54 {
55   auto the_slot = static_cast<Gtk::Menu::SlotPositionCalc*>(data);
56   delete the_slot;
57 }
58 
59 
60 namespace Gtk
61 {
62 
Menu(const Glib::RefPtr<Gio::MenuModel> & model)63 Menu::Menu(const Glib::RefPtr<Gio::MenuModel>& model)
64 :
65   // Mark this class as non-derived to allow C++ vfuncs to be skipped.
66   Glib::ObjectBase(nullptr),
67   Gtk::MenuShell(Glib::ConstructParams(menu_class_.init()))
68 {
69   //g_return_val_if_fail (G_IS_MENU_MODEL (model), NULL);
70 
71   bind_model(model, true);
72 }
73 
74 #ifndef GTKMM_DISABLE_DEPRECATED
75 
76 G_GNUC_BEGIN_IGNORE_DEPRECATIONS
popup(const SlotPositionCalc & position_calc_slot,guint button,guint32 activate_time,const Glib::RefPtr<Gdk::Device> & device)77 void Menu::popup(const SlotPositionCalc& position_calc_slot, guint button, guint32 activate_time, const Glib::RefPtr<Gdk::Device>& device)
78 {
79   // Tell GTK+ to call the static function with the slot's address as the extra
80   // data, so that the static function can then call the sigc::slot:
81   if(!device)
82     gtk_menu_popup(gobj(), nullptr, nullptr, &SignalProxy_PopupPosition_gtk_callback, const_cast<SlotPositionCalc*>(&position_calc_slot), button, activate_time);
83   else
84   {
85     auto slot_copy = new SlotPositionCalc(position_calc_slot); //Deleted in the destroy callback.
86 
87     gtk_menu_popup_for_device(gobj(), device->gobj(), nullptr, nullptr, &SignalProxy_PopupPosition_gtk_callback, slot_copy, &SignalProxy_PopupPosition_gtk_callback_destroy, button, activate_time);
88   }
89 }
90 
popup(MenuShell & parent_menu_shell,MenuItem & parent_menu_item,const SlotPositionCalc & position_calc_slot,guint button,guint32 activate_time,const Glib::RefPtr<Gdk::Device> & device)91 void Menu::popup(MenuShell& parent_menu_shell, MenuItem& parent_menu_item, const SlotPositionCalc& position_calc_slot, guint button, guint32 activate_time, const Glib::RefPtr<Gdk::Device>& device)
92 {
93   // Tell GTK+ to call the static function with the slot's address as the extra
94   // data, so that the static function can then call the sigc::slot:
95   if(!device)
96     gtk_menu_popup(gobj(), parent_menu_shell.Gtk::Widget::gobj(), parent_menu_item.Gtk::Widget::gobj(), &SignalProxy_PopupPosition_gtk_callback, const_cast<SlotPositionCalc*>(&position_calc_slot), button, activate_time);
97   else
98   {
99     auto slot_copy = new SlotPositionCalc(position_calc_slot); //Deleted in the destroy callback.
100 
101     gtk_menu_popup_for_device(gobj(), device->gobj(), parent_menu_shell.Gtk::Widget::gobj(), parent_menu_item.Gtk::Widget::gobj(), &SignalProxy_PopupPosition_gtk_callback, slot_copy, &SignalProxy_PopupPosition_gtk_callback_destroy, button, activate_time);
102   }
103 }
104 
popup(guint button,guint32 activate_time,const Glib::RefPtr<Gdk::Device> & device)105 void Menu::popup(guint button, guint32 activate_time, const Glib::RefPtr<Gdk::Device>& device)
106 {
107   if(!device)
108     gtk_menu_popup(gobj(), nullptr, nullptr, nullptr, nullptr, button, activate_time);
109   else
110     gtk_menu_popup_for_device(gobj(), device->gobj(), nullptr, nullptr, nullptr, nullptr, nullptr, button, activate_time);
111 }
112 G_GNUC_END_IGNORE_DEPRECATIONS
113 #endif // GTKMM_DISABLE_DEPRECATED
114 
115 
reorder_child(const MenuItem & child,int position)116 void Menu::reorder_child(const MenuItem& child, int position)
117 {
118   gtk_menu_reorder_child(
119       gobj(),
120       const_cast<GtkWidget*>(child.Gtk::Widget::gobj()),
121       position);
122 }
123 
unset_accel_group()124 void Menu::unset_accel_group()
125 {
126   gtk_menu_set_accel_group(gobj(), nullptr);
127 }
128 
129 #ifndef GTKMM_DISABLE_DEPRECATED
130 
131 G_GNUC_BEGIN_IGNORE_DEPRECATIONS
unset_title()132 void Menu::unset_title()
133 {
134   gtk_menu_set_title(gobj(), nullptr);
135 }
136 G_GNUC_END_IGNORE_DEPRECATIONS
137 #endif // GTKMM_DISABLE_DEPRECATED
138 
139 
attach_to_widget(Widget & attach_widget)140 void Menu::attach_to_widget(Widget& attach_widget)
141 {
142   gtk_menu_attach_to_widget(gobj(), (attach_widget).gobj(), nullptr /* allowed by the C docs. */);
143 }
144 
145 
146 } // namespace Gtk
147 
148 namespace
149 {
150 
151 
Menu_signal_popped_up_callback(GtkMenu * self,gpointer p0,gpointer p1,gboolean p2,gboolean p3,void * data)152 static void Menu_signal_popped_up_callback(GtkMenu* self, gpointer p0,gpointer p1,gboolean p2,gboolean p3,void* data)
153 {
154   using namespace Gtk;
155   using SlotType = sigc::slot< void,const Gdk::Rectangle*,const Gdk::Rectangle*,bool,bool >;
156 
157   auto obj = dynamic_cast<Menu*>(Glib::ObjectBase::_get_current_wrapper((GObject*) self));
158   // Do not try to call a signal on a disassociated wrapper.
159   if(obj)
160   {
161     try
162     {
163       if(const auto slot = Glib::SignalProxyNormal::data_to_slot(data))
164         (*static_cast<SlotType*>(slot))(&Glib::wrap((GdkRectangle*)p0)
165 , &Glib::wrap((GdkRectangle*)p1)
166 , p2
167 , p3
168 );
169     }
170     catch(...)
171     {
172        Glib::exception_handlers_invoke();
173     }
174   }
175 }
176 
177 static const Glib::SignalProxyInfo Menu_signal_popped_up_info =
178 {
179   "popped-up",
180   (GCallback) &Menu_signal_popped_up_callback,
181   (GCallback) &Menu_signal_popped_up_callback
182 };
183 
184 
185 } // anonymous namespace
186 
187 
188 namespace Glib
189 {
190 
wrap(GtkMenu * object,bool take_copy)191 Gtk::Menu* wrap(GtkMenu* object, bool take_copy)
192 {
193   return dynamic_cast<Gtk::Menu *> (Glib::wrap_auto ((GObject*)(object), take_copy));
194 }
195 
196 } /* namespace Glib */
197 
198 namespace Gtk
199 {
200 
201 
202 /* The *_Class implementation: */
203 
init()204 const Glib::Class& Menu_Class::init()
205 {
206   if(!gtype_) // create the GType if necessary
207   {
208     // Glib::Class has to know the class init function to clone custom types.
209     class_init_func_ = &Menu_Class::class_init_function;
210 
211     // This is actually just optimized away, apparently with no harm.
212     // Make sure that the parent type has been created.
213     //CppClassParent::CppObjectType::get_type();
214 
215     // Create the wrapper type, with the same class/instance size as the base type.
216     register_derived_type(gtk_menu_get_type());
217 
218     // Add derived versions of interfaces, if the C type implements any interfaces:
219 
220   }
221 
222   return *this;
223 }
224 
225 
class_init_function(void * g_class,void * class_data)226 void Menu_Class::class_init_function(void* g_class, void* class_data)
227 {
228   const auto klass = static_cast<BaseClassType*>(g_class);
229   CppClassParent::class_init_function(klass, class_data);
230 
231 
232 }
233 
234 
wrap_new(GObject * o)235 Glib::ObjectBase* Menu_Class::wrap_new(GObject* o)
236 {
237   return manage(new Menu((GtkMenu*)(o)));
238 
239 }
240 
241 
242 /* The implementation: */
243 
Menu(const Glib::ConstructParams & construct_params)244 Menu::Menu(const Glib::ConstructParams& construct_params)
245 :
246   Gtk::MenuShell(construct_params)
247 {
248   }
249 
Menu(GtkMenu * castitem)250 Menu::Menu(GtkMenu* castitem)
251 :
252   Gtk::MenuShell((GtkMenuShell*)(castitem))
253 {
254   }
255 
256 
Menu(Menu && src)257 Menu::Menu(Menu&& src) noexcept
258 : Gtk::MenuShell(std::move(src))
259 {}
260 
operator =(Menu && src)261 Menu& Menu::operator=(Menu&& src) noexcept
262 {
263   Gtk::MenuShell::operator=(std::move(src));
264   return *this;
265 }
266 
~Menu()267 Menu::~Menu() noexcept
268 {
269   destroy_();
270 }
271 
272 Menu::CppClassType Menu::menu_class_; // initialize static member
273 
get_type()274 GType Menu::get_type()
275 {
276   return menu_class_.init().get_type();
277 }
278 
279 
get_base_type()280 GType Menu::get_base_type()
281 {
282   return gtk_menu_get_type();
283 }
284 
285 
Menu()286 Menu::Menu()
287 :
288   // Mark this class as non-derived to allow C++ vfuncs to be skipped.
289   Glib::ObjectBase(nullptr),
290   Gtk::MenuShell(Glib::ConstructParams(menu_class_.init()))
291 {
292 
293 
294 }
295 
popup_at_rect(const Glib::RefPtr<Gdk::Window> & rect_window,const Gdk::Rectangle & rect,Gdk::Gravity rect_anchor,Gdk::Gravity menu_anchor,const GdkEvent * trigger_event)296 void Menu::popup_at_rect(const Glib::RefPtr<Gdk::Window>& rect_window, const Gdk::Rectangle& rect, Gdk::Gravity rect_anchor, Gdk::Gravity menu_anchor, const GdkEvent* trigger_event)
297 {
298   gtk_menu_popup_at_rect(gobj(), Glib::unwrap(rect_window), (rect).gobj(), ((GdkGravity)(rect_anchor)), ((GdkGravity)(menu_anchor)), trigger_event);
299 }
300 
popup_at_widget(Widget * widget,Gdk::Gravity widget_anchor,Gdk::Gravity menu_anchor,const GdkEvent * trigger_event)301 void Menu::popup_at_widget(Widget* widget, Gdk::Gravity widget_anchor, Gdk::Gravity menu_anchor, const GdkEvent* trigger_event)
302 {
303   gtk_menu_popup_at_widget(gobj(), (GtkWidget*)Glib::unwrap(widget), ((GdkGravity)(widget_anchor)), ((GdkGravity)(menu_anchor)), trigger_event);
304 }
305 
popup_at_pointer(const GdkEvent * trigger_event)306 void Menu::popup_at_pointer(const GdkEvent* trigger_event)
307 {
308   gtk_menu_popup_at_pointer(gobj(), trigger_event);
309 }
310 
reposition()311 void Menu::reposition()
312 {
313   gtk_menu_reposition(gobj());
314 }
315 
popdown()316 void Menu::popdown()
317 {
318   gtk_menu_popdown(gobj());
319 }
320 
get_active()321 MenuItem* Menu::get_active()
322 {
323   return Glib::wrap((GtkMenuItem*)(gtk_menu_get_active(gobj())));
324 }
325 
get_active() const326 const MenuItem* Menu::get_active() const
327 {
328   return const_cast<Menu*>(this)->get_active();
329 }
330 
set_active(guint index)331 void Menu::set_active(guint index)
332 {
333   gtk_menu_set_active(gobj(), index);
334 }
335 
set_accel_group(const Glib::RefPtr<AccelGroup> & accel_group)336 void Menu::set_accel_group(const Glib::RefPtr<AccelGroup>& accel_group)
337 {
338   gtk_menu_set_accel_group(gobj(), Glib::unwrap(accel_group));
339 }
340 
get_accel_group()341 Glib::RefPtr<AccelGroup> Menu::get_accel_group()
342 {
343   Glib::RefPtr<AccelGroup> retvalue = Glib::wrap(gtk_menu_get_accel_group(gobj()));
344   if(retvalue)
345     retvalue->reference(); //The function does not do a ref for us.
346   return retvalue;
347 }
348 
get_accel_group() const349 Glib::RefPtr<const AccelGroup> Menu::get_accel_group() const
350 {
351   return const_cast<Menu*>(this)->get_accel_group();
352 }
353 
set_accel_path(const Glib::ustring & accel_path)354 void Menu::set_accel_path(const Glib::ustring& accel_path)
355 {
356   gtk_menu_set_accel_path(gobj(), accel_path.c_str());
357 }
358 
get_accel_path() const359 Glib::ustring Menu::get_accel_path() const
360 {
361   return Glib::convert_const_gchar_ptr_to_ustring(gtk_menu_get_accel_path(const_cast<GtkMenu*>(gobj())));
362 }
363 
detach()364 void Menu::detach()
365 {
366   gtk_menu_detach(gobj());
367 }
368 
get_attach_widget()369 Widget* Menu::get_attach_widget()
370 {
371   return Glib::wrap(gtk_menu_get_attach_widget(gobj()));
372 }
373 
get_attach_widget() const374 const Widget* Menu::get_attach_widget() const
375 {
376   return const_cast<Menu*>(this)->get_attach_widget();
377 }
378 
379 #ifndef GTKMM_DISABLE_DEPRECATED
380 G_GNUC_BEGIN_IGNORE_DEPRECATIONS
set_tearoff_state(bool torn_off)381 void Menu::set_tearoff_state(bool torn_off)
382 {
383   gtk_menu_set_tearoff_state(gobj(), static_cast<int>(torn_off));
384 }
385 G_GNUC_END_IGNORE_DEPRECATIONS
386 #endif // GTKMM_DISABLE_DEPRECATED
387 
388 #ifndef GTKMM_DISABLE_DEPRECATED
389 G_GNUC_BEGIN_IGNORE_DEPRECATIONS
get_tearoff_state() const390 bool Menu::get_tearoff_state() const
391 {
392   return gtk_menu_get_tearoff_state(const_cast<GtkMenu*>(gobj()));
393 }
394 G_GNUC_END_IGNORE_DEPRECATIONS
395 #endif // GTKMM_DISABLE_DEPRECATED
396 
397 #ifndef GTKMM_DISABLE_DEPRECATED
398 G_GNUC_BEGIN_IGNORE_DEPRECATIONS
set_title(const Glib::ustring & title)399 void Menu::set_title(const Glib::ustring& title)
400 {
401   gtk_menu_set_title(gobj(), title.c_str());
402 }
403 G_GNUC_END_IGNORE_DEPRECATIONS
404 #endif // GTKMM_DISABLE_DEPRECATED
405 
406 #ifndef GTKMM_DISABLE_DEPRECATED
407 G_GNUC_BEGIN_IGNORE_DEPRECATIONS
get_title() const408 Glib::ustring Menu::get_title() const
409 {
410   return Glib::convert_const_gchar_ptr_to_ustring(gtk_menu_get_title(const_cast<GtkMenu*>(gobj())));
411 }
412 G_GNUC_END_IGNORE_DEPRECATIONS
413 #endif // GTKMM_DISABLE_DEPRECATED
414 
set_screen(const Glib::RefPtr<Gdk::Screen> & screen)415 void Menu::set_screen(const Glib::RefPtr<Gdk::Screen>& screen)
416 {
417   gtk_menu_set_screen(gobj(), Glib::unwrap(screen));
418 }
419 
attach(Gtk::Widget & child,guint left_attach,guint right_attach,guint top_attach,guint bottom_attach)420 void Menu::attach(Gtk::Widget& child, guint left_attach, guint right_attach, guint top_attach, guint bottom_attach)
421 {
422   gtk_menu_attach(gobj(), (child).gobj(), left_attach, right_attach, top_attach, bottom_attach);
423 }
424 
set_monitor(int monitor_num)425 void Menu::set_monitor(int monitor_num)
426 {
427   gtk_menu_set_monitor(gobj(), monitor_num);
428 }
429 
get_monitor() const430 int Menu::get_monitor() const
431 {
432   return gtk_menu_get_monitor(const_cast<GtkMenu*>(gobj()));
433 }
434 
set_reserve_toggle_size(bool reserve_toggle_size)435 void Menu::set_reserve_toggle_size(bool reserve_toggle_size)
436 {
437   gtk_menu_set_reserve_toggle_size(gobj(), static_cast<int>(reserve_toggle_size));
438 }
439 
get_reserve_toggle_size() const440 bool Menu::get_reserve_toggle_size() const
441 {
442   return gtk_menu_get_reserve_toggle_size(const_cast<GtkMenu*>(gobj()));
443 }
444 
attach_to_widget(Widget & attach_widget,GtkMenuDetachFunc detacher)445 void Menu::attach_to_widget(Widget& attach_widget, GtkMenuDetachFunc detacher)
446 {
447   gtk_menu_attach_to_widget(gobj(), (attach_widget).gobj(), detacher);
448 }
449 
450 
signal_popped_up()451 Glib::SignalProxy< void,const Gdk::Rectangle*,const Gdk::Rectangle*,bool,bool > Menu::signal_popped_up()
452 {
453   return Glib::SignalProxy< void,const Gdk::Rectangle*,const Gdk::Rectangle*,bool,bool >(this, &Menu_signal_popped_up_info);
454 }
455 
456 
property_active()457 Glib::PropertyProxy< int > Menu::property_active()
458 {
459   return Glib::PropertyProxy< int >(this, "active");
460 }
461 
property_active() const462 Glib::PropertyProxy_ReadOnly< int > Menu::property_active() const
463 {
464   return Glib::PropertyProxy_ReadOnly< int >(this, "active");
465 }
466 
property_accel_group()467 Glib::PropertyProxy< Glib::RefPtr<AccelGroup> > Menu::property_accel_group()
468 {
469   return Glib::PropertyProxy< Glib::RefPtr<AccelGroup> >(this, "accel-group");
470 }
471 
property_accel_group() const472 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<AccelGroup> > Menu::property_accel_group() const
473 {
474   return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<AccelGroup> >(this, "accel-group");
475 }
476 
property_accel_path()477 Glib::PropertyProxy< Glib::ustring > Menu::property_accel_path()
478 {
479   return Glib::PropertyProxy< Glib::ustring >(this, "accel-path");
480 }
481 
property_accel_path() const482 Glib::PropertyProxy_ReadOnly< Glib::ustring > Menu::property_accel_path() const
483 {
484   return Glib::PropertyProxy_ReadOnly< Glib::ustring >(this, "accel-path");
485 }
486 
property_attach_widget()487 Glib::PropertyProxy< Widget* > Menu::property_attach_widget()
488 {
489   return Glib::PropertyProxy< Widget* >(this, "attach-widget");
490 }
491 
property_attach_widget() const492 Glib::PropertyProxy_ReadOnly< Widget* > Menu::property_attach_widget() const
493 {
494   return Glib::PropertyProxy_ReadOnly< Widget* >(this, "attach-widget");
495 }
496 
497 #ifndef GTKMM_DISABLE_DEPRECATED
498 
property_tearoff_title()499 Glib::PropertyProxy< Glib::ustring > Menu::property_tearoff_title()
500 {
501   return Glib::PropertyProxy< Glib::ustring >(this, "tearoff-title");
502 }
503 #endif // GTKMM_DISABLE_DEPRECATED
504 
505 
506 #ifndef GTKMM_DISABLE_DEPRECATED
507 
property_tearoff_title() const508 Glib::PropertyProxy_ReadOnly< Glib::ustring > Menu::property_tearoff_title() const
509 {
510   return Glib::PropertyProxy_ReadOnly< Glib::ustring >(this, "tearoff-title");
511 }
512 #endif // GTKMM_DISABLE_DEPRECATED
513 
514 
515 #ifndef GTKMM_DISABLE_DEPRECATED
516 
property_tearoff_state()517 Glib::PropertyProxy< bool > Menu::property_tearoff_state()
518 {
519   return Glib::PropertyProxy< bool >(this, "tearoff-state");
520 }
521 #endif // GTKMM_DISABLE_DEPRECATED
522 
523 
524 #ifndef GTKMM_DISABLE_DEPRECATED
525 
property_tearoff_state() const526 Glib::PropertyProxy_ReadOnly< bool > Menu::property_tearoff_state() const
527 {
528   return Glib::PropertyProxy_ReadOnly< bool >(this, "tearoff-state");
529 }
530 #endif // GTKMM_DISABLE_DEPRECATED
531 
532 
property_monitor()533 Glib::PropertyProxy< int > Menu::property_monitor()
534 {
535   return Glib::PropertyProxy< int >(this, "monitor");
536 }
537 
property_monitor() const538 Glib::PropertyProxy_ReadOnly< int > Menu::property_monitor() const
539 {
540   return Glib::PropertyProxy_ReadOnly< int >(this, "monitor");
541 }
542 
property_reserve_toggle_size()543 Glib::PropertyProxy< bool > Menu::property_reserve_toggle_size()
544 {
545   return Glib::PropertyProxy< bool >(this, "reserve-toggle-size");
546 }
547 
property_reserve_toggle_size() const548 Glib::PropertyProxy_ReadOnly< bool > Menu::property_reserve_toggle_size() const
549 {
550   return Glib::PropertyProxy_ReadOnly< bool >(this, "reserve-toggle-size");
551 }
552 
property_anchor_hints()553 Glib::PropertyProxy< Gdk::AnchorHints > Menu::property_anchor_hints()
554 {
555   return Glib::PropertyProxy< Gdk::AnchorHints >(this, "anchor-hints");
556 }
557 
property_anchor_hints() const558 Glib::PropertyProxy_ReadOnly< Gdk::AnchorHints > Menu::property_anchor_hints() const
559 {
560   return Glib::PropertyProxy_ReadOnly< Gdk::AnchorHints >(this, "anchor-hints");
561 }
562 
property_rect_anchor_dx()563 Glib::PropertyProxy< int > Menu::property_rect_anchor_dx()
564 {
565   return Glib::PropertyProxy< int >(this, "rect-anchor-dx");
566 }
567 
property_rect_anchor_dx() const568 Glib::PropertyProxy_ReadOnly< int > Menu::property_rect_anchor_dx() const
569 {
570   return Glib::PropertyProxy_ReadOnly< int >(this, "rect-anchor-dx");
571 }
572 
property_rect_anchor_dy()573 Glib::PropertyProxy< int > Menu::property_rect_anchor_dy()
574 {
575   return Glib::PropertyProxy< int >(this, "rect-anchor-dy");
576 }
577 
property_rect_anchor_dy() const578 Glib::PropertyProxy_ReadOnly< int > Menu::property_rect_anchor_dy() const
579 {
580   return Glib::PropertyProxy_ReadOnly< int >(this, "rect-anchor-dy");
581 }
582 
property_menu_type_hint()583 Glib::PropertyProxy< Gdk::WindowTypeHint > Menu::property_menu_type_hint()
584 {
585   return Glib::PropertyProxy< Gdk::WindowTypeHint >(this, "menu-type-hint");
586 }
587 
property_menu_type_hint() const588 Glib::PropertyProxy_ReadOnly< Gdk::WindowTypeHint > Menu::property_menu_type_hint() const
589 {
590   return Glib::PropertyProxy_ReadOnly< Gdk::WindowTypeHint >(this, "menu-type-hint");
591 }
592 
593 
594 } // namespace Gtk
595 
596 
597