Ardour  9.0-pre0-582-g084a23a80d
tk/ytkmm/ytkmm/gtkmm/widget.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 // Generated by gmmproc 2.45.3 -- DO NOT MODIFY!
3 #ifndef _GTKMM_WIDGET_H
4 #define _GTKMM_WIDGET_H
5 
6 #include <gtkmmconfig.h>
7 
8 
9 #include <glibmm/ustring.h>
10 #include <sigc++/sigc++.h>
11 
12 /* Copyright (C) 2002, 2003 The gtkmm Development Team
13  *
14  * This library is free software; you can redistribute it and/or
15  * modify it under the terms of the GNU Lesser General Public
16  * License as published by the Free Software Foundation; either
17  * version 2.1 of the License, or (at your option) any later version.
18  *
19  * This library is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22  * Lesser General Public License for more details.
23  *
24  * You should have received a copy of the GNU Lesser General Public
25  * License along with this library; if not, write to the Free
26  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27  */
28 
29 
30 #include <pangomm/context.h>
31 #include <pangomm/layout.h>
32 
33 #ifdef GTKMM_ATKMM_ENABLED
34 #include <atkmm/object.h>
35 #include <atkmm/implementor.h>
36 #endif //GTKMM_ATKMM_ENABLED
37 
38 #include <gdkmm/event.h>
39 #include <gdkmm/types.h>
40 #include <gdkmm/window.h>
41 #include <gdkmm/dragcontext.h>
42 #include <gdkmm/pixbuf.h>
43 #include <gdkmm/screen.h>
44 #include <gtkmm/enums.h>
45 #include <gdkmm/display.h>
46 //#include <gtkmm/style.h>
47 #include <gtkmm/targetlist.h>
48 #include <gtkmm/rc.h>
49 #include <gtkmm/object.h>
50 #include <gtkmm/clipboard.h>
51 //#include <gtkmm/action.h>
52 
53 
54 #ifndef DOXYGEN_SHOULD_SKIP_THIS
55 extern "C"
56 {
57 typedef struct _GtkTargetEntry GtkTargetEntry;
58 }
59 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
60 
61 #ifndef DOXYGEN_SHOULD_SKIP_THIS
62 typedef struct _GtkWidget GtkWidget;
63 typedef struct _GtkWidgetClass GtkWidgetClass;
64 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
65 
66 
67 namespace Gtk
68 { class Widget_Class; } // namespace Gtk
69 namespace Gtk
70 {
71 
72 
88 {
92  DEST_DEFAULT_ALL = 0x07
93 };
94 
97  { return static_cast<DestDefaults>(static_cast<unsigned>(lhs) | static_cast<unsigned>(rhs)); }
98 
101  { return static_cast<DestDefaults>(static_cast<unsigned>(lhs) & static_cast<unsigned>(rhs)); }
102 
105  { return static_cast<DestDefaults>(static_cast<unsigned>(lhs) ^ static_cast<unsigned>(rhs)); }
106 
109  { return static_cast<DestDefaults>(~static_cast<unsigned>(flags)); }
110 
113  { return (lhs = static_cast<DestDefaults>(static_cast<unsigned>(lhs) | static_cast<unsigned>(rhs))); }
114 
117  { return (lhs = static_cast<DestDefaults>(static_cast<unsigned>(lhs) & static_cast<unsigned>(rhs))); }
118 
121  { return (lhs = static_cast<DestDefaults>(static_cast<unsigned>(lhs) ^ static_cast<unsigned>(rhs))); }
122 
123 } // namespace Gtk
124 
125 
126 #ifndef DOXYGEN_SHOULD_SKIP_THIS
127 namespace Glib
128 {
129 
130 template <>
131 class Value<Gtk::DestDefaults> : public Glib::Value_Flags<Gtk::DestDefaults>
132 {
133 public:
134  static GType value_type() G_GNUC_CONST;
135 };
136 
137 } // namespace Glib
138 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
139 
140 
141 namespace Gtk
142 {
143 
157 {
158  TOPLEVEL = 1 << 4,
159  NO_WINDOW = 1 << 5,
160  REALIZED = 1 << 6,
161  MAPPED = 1 << 7,
162  VISIBLE = 1 << 8,
163  SENSITIVE = 1 << 9,
164  PARENT_SENSITIVE = 1 << 10,
165  CAN_FOCUS = 1 << 11,
166  HAS_FOCUS = 1 << 12,
167  CAN_DEFAULT = 1 << 13,
168  HAS_DEFAULT = 1 << 14,
169  HAS_GRAB = 1 << 15,
170  RC_STYLE = 1 << 16,
171  COMPOSITE_CHILD = 1 << 17,
172  NO_REPARENT = 1 << 18,
173  APP_PAINTABLE = 1 << 19,
174  RECEIVES_DEFAULT = 1 << 20,
175  DOUBLE_BUFFERED = 1 << 21,
176  NO_SHOW_ALL = 1 << 22
177 };
178 
181  { return static_cast<WidgetFlags>(static_cast<unsigned>(lhs) | static_cast<unsigned>(rhs)); }
182 
185  { return static_cast<WidgetFlags>(static_cast<unsigned>(lhs) & static_cast<unsigned>(rhs)); }
186 
189  { return static_cast<WidgetFlags>(static_cast<unsigned>(lhs) ^ static_cast<unsigned>(rhs)); }
190 
193  { return static_cast<WidgetFlags>(~static_cast<unsigned>(flags)); }
194 
197  { return (lhs = static_cast<WidgetFlags>(static_cast<unsigned>(lhs) | static_cast<unsigned>(rhs))); }
198 
201  { return (lhs = static_cast<WidgetFlags>(static_cast<unsigned>(lhs) & static_cast<unsigned>(rhs))); }
202 
205  { return (lhs = static_cast<WidgetFlags>(static_cast<unsigned>(lhs) ^ static_cast<unsigned>(rhs))); }
206 
207 } // namespace Gtk
208 
209 
210 #ifndef DOXYGEN_SHOULD_SKIP_THIS
211 namespace Glib
212 {
213 
214 template <>
215 class Value<Gtk::WidgetFlags> : public Glib::Value_Flags<Gtk::WidgetFlags>
216 {
217 public:
218  static GType value_type() G_GNUC_CONST;
219 };
220 
221 } // namespace Glib
222 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
223 
224 
225 namespace Gtk
226 {
227 
233 {
236 };
237 
238 } // namespace Gtk
239 
240 
241 #ifndef DOXYGEN_SHOULD_SKIP_THIS
242 namespace Glib
243 {
244 
245 template <>
246 class Value<Gtk::WidgetHelpType> : public Glib::Value_Enum<Gtk::WidgetHelpType>
247 {
248 public:
249  static GType value_type() G_GNUC_CONST;
250 };
251 
252 } // namespace Glib
253 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
254 
255 
256 namespace Gtk
257 {
258 
264 {
271 };
272 
273 } // namespace Gtk
274 
275 
276 #ifndef DOXYGEN_SHOULD_SKIP_THIS
277 namespace Glib
278 {
279 
280 template <>
281 class Value<Gtk::DragResult> : public Glib::Value_Enum<Gtk::DragResult>
282 {
283 public:
284  static GType value_type() G_GNUC_CONST;
285 };
286 
287 } // namespace Glib
288 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
289 
290 
291 namespace Gtk
292 {
293 
294 
295 class Action;
296 class Style;
297 class AccelGroup;
298 class Adjustment;
299 class Window;
300 class Container;
301 class Settings;
302 class Tooltip;
303 
305 
306 // Gtk::Allocation is a typedef of Gdk::Rectangle because GtkAllocation is
307 // a typedef of GdkRectangle.
309 
331 class Widget
332 : public Object
333 #ifdef GTKMM_ATKMM_ENABLED
334  ,public Atk::Implementor
335 #endif //GTKMM_ATKMM_ENABLED
336 {
337  public:
338 #ifndef DOXYGEN_SHOULD_SKIP_THIS
339  typedef Widget CppObjectType;
340  typedef Widget_Class CppClassType;
341  typedef GtkWidget BaseObjectType;
342  typedef GtkWidgetClass BaseClassType;
343 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
344 
345  virtual ~Widget();
346 
347 #ifndef DOXYGEN_SHOULD_SKIP_THIS
348 
349 private:
350  friend class Widget_Class;
351  static CppClassType widget_class_;
352 
353  // noncopyable
354  Widget(const Widget&);
355  Widget& operator=(const Widget&);
356 
357 protected:
358  explicit Widget(const Glib::ConstructParams& construct_params);
359  explicit Widget(GtkWidget* castitem);
360 
361 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
362 
363 public:
364 #ifndef DOXYGEN_SHOULD_SKIP_THIS
365  static GType get_type() G_GNUC_CONST;
366 
367 
368  static GType get_base_type() G_GNUC_CONST;
369 #endif
370 
372  GtkWidget* gobj() { return reinterpret_cast<GtkWidget*>(gobject_); }
373 
375  const GtkWidget* gobj() const { return reinterpret_cast<GtkWidget*>(gobject_); }
376 
377 
378 public:
379  //C++ methods used to invoke GTK+ virtual functions:
380 
381 protected:
382  //GTK+ Virtual Functions (override these to change behaviour):
383 
384  //Default Signal Handlers::
386  virtual void on_show();
388  virtual void on_hide();
390  virtual void on_map();
392  virtual void on_unmap();
394  virtual void on_realize();
396  virtual void on_unrealize();
398  virtual void on_size_request(Requisition* requisition);
400  virtual void on_size_allocate(Allocation& allocation);
402  virtual void on_state_changed(Gtk::StateType previous_state);
404  virtual void on_parent_changed(Widget* previous_parent);
406  virtual void on_hierarchy_changed(Widget* previous_toplevel);
408  virtual void on_style_changed(const Glib::RefPtr<Gtk::Style>& previous_style);
410  virtual void on_direction_changed(TextDirection direction);
412  virtual void on_grab_notify(bool was_grabbed);
414  virtual void on_child_notify(GParamSpec* pspec);
416  virtual bool on_mnemonic_activate(bool group_cycling);
418  virtual void on_grab_focus();
420  virtual bool on_focus(DirectionType direction);
422  virtual bool on_event(GdkEvent* event);
424  virtual bool on_button_press_event(GdkEventButton* event);
428  virtual bool on_scroll_event(GdkEventScroll* event);
432  virtual bool on_delete_event(GdkEventAny* event);
434  virtual bool on_expose_event(GdkEventExpose* event);
436  virtual bool on_key_press_event(GdkEventKey* event);
438  virtual bool on_key_release_event(GdkEventKey* event);
444  virtual bool on_configure_event(GdkEventConfigure* event);
446  virtual bool on_focus_in_event(GdkEventFocus* event);
448  virtual bool on_focus_out_event(GdkEventFocus* event);
450  virtual bool on_map_event(GdkEventAny* event);
452  virtual bool on_unmap_event(GdkEventAny* event);
468  virtual bool on_client_event(GdkEventClient* event);
470  virtual bool on_no_expose_event(GdkEventAny* event);
474  virtual void on_selection_get(SelectionData& selection_data, guint info, guint time);
476  virtual void on_selection_received(const SelectionData& selection_data, guint time);
478  virtual void on_drag_begin(const Glib::RefPtr<Gdk::DragContext>& context);
480  virtual void on_drag_end(const Glib::RefPtr<Gdk::DragContext>& context);
482  virtual void on_drag_data_get(const Glib::RefPtr<Gdk::DragContext>& context, SelectionData& selection_data, guint info, guint time);
484  virtual void on_drag_data_delete(const Glib::RefPtr<Gdk::DragContext>& context);
486  virtual void on_drag_leave(const Glib::RefPtr<Gdk::DragContext>& context, guint time);
488  virtual bool on_drag_motion(const Glib::RefPtr<Gdk::DragContext>& context, int x, int y, guint time);
490  virtual bool on_drag_drop(const Glib::RefPtr<Gdk::DragContext>& context, int x, int y, guint time);
492  virtual void on_drag_data_received(const Glib::RefPtr<Gdk::DragContext>& context, int x, int y, const SelectionData& selection_data, guint info, guint time);
493  virtual bool on_touch_begin_event(GdkEventTouch* event);
494  virtual bool on_touch_update_event(GdkEventTouch* event);
495  virtual bool on_touch_end_event(GdkEventTouch* event);
496 #ifdef GTKMM_ATKMM_ENABLED
498  virtual Glib::RefPtr<Atk::Object> on_get_accessible();
499 #endif // GTKMM_ATKMM_ENABLED
501  virtual void on_screen_changed(const Glib::RefPtr<Gdk::Screen>& previous_screen);
502 
503 
504 private:
505 
506 
507  //gtkmmproc error: gtk_widget_set_visual : ignored method defs lookup failed//gtkmmproc error: gtk_widget_push_visual : ignored method defs lookup failed//gtkmmproc error: gtk_widget_pop_visual : ignored method defs lookup failed//gtkmmproc error: gtk_widget_set_default_visual : ignored method defs lookup failed//gtkmmproc error: gtk_widget_set_rc_style : ignored method defs lookup failed//gtkmmproc error: gtk_widget_restore_default_style : ignored method defs lookup failed
508 
509 public:
510  friend class Main;
511 
512 
523  bool set_scroll_adjustments(Adjustment& hadjustment, Adjustment& vadjustment);
524 
525 
538  void show();
539 
546  void show_now();
547 
551  void hide();
552 
553 
557  void show_all();
558 
559 
560 #ifndef GTKMM_DISABLE_DEPRECATED
561 
566  void hide_all();
567 #endif // GTKMM_DISABLE_DEPRECATED
568 
569 
570 /* QUEUE DRAWS */
571 
572 
576  void queue_draw();
577 
604  void queue_draw_area(int x, int y, int width, int height);
605 
612  void queue_resize();
613 
631 
632 
633 #ifndef GTKMM_DISABLE_DEPRECATED
634 
654  void size_request(const Requisition& requisition);
655 #endif // GTKMM_DISABLE_DEPRECATED
656 
657 
663  void size_allocate(const Allocation& allocation);
664 
665 
681  void add_accelerator(const Glib::ustring& accel_signal, const Glib::RefPtr<AccelGroup>& accel_group, guint accel_key, Gdk::ModifierType accel_mods, AccelFlags accel_flags);
682 
683 
692  bool remove_accelerator(const Glib::RefPtr<AccelGroup>& accel_group, guint accel_key, Gdk::ModifierType accel_mods);
693 
719  void set_accel_path(const Glib::ustring& accel_path, const Glib::RefPtr<AccelGroup>& accel_group);
720 
721  //GList* gtk_widget_list_accel_closures();
722 
723  //TODO: Or maybe it is useless: gboolean gtk_widget_can_activate_accel(GtkWidget *widget, guint signal_id)
724 
725 
735  bool mnemonic_activate(bool group_cycling);
736 
737 
738  //Probably not useful. Too C-specific: _WRAP_METHOD(bool can_activate_accel(guint signal_id) const, gtk_widget_can_activate_accel)
739 
740  //TODO: Use C++ type
741 
755  bool event(GdkEvent* event);
756 
772  int send_expose(GdkEvent* event);
773 
792 
800  bool activate();
801 
802 
808  void reparent(Widget & new_parent);
809 
810  bool intersect(const Gdk::Rectangle& area) const;
811 
821  bool intersect(const Gdk::Rectangle& area, Gdk::Rectangle& intersection) const;
822 
823 
839 
840 
848 
858  void child_notify(const Glib::ustring& child_property);
859 
865 
866 
873  void set_can_focus(bool can_focus = true);
874 
880  bool get_can_focus() const;
881 
882 #ifndef GTKMM_DISABLE_DEPRECATED
883 
891  bool can_focus() const;
892 #endif // GTKMM_DISABLE_DEPRECATED
893 
894 
901  bool has_focus() const;
902 
903 
911  bool is_focus() const;
912 
924  void grab_focus();
925 
932  void set_can_default(bool can_default = true);
933 
939  bool get_can_default() const;
940 
941 #ifndef GTKMM_DISABLE_DEPRECATED
942 
950  bool can_default() const;
951 #endif // GTKMM_DISABLE_DEPRECATED
952 
953 
960  bool has_default() const;
961 
969  void grab_default();
970 
980  void set_receives_default(bool receives_default = true);
981 
991  bool get_receives_default() const;
992 
1000  bool has_grab() const;
1001 
1010 
1014 
1018 
1019 
1030  void set_name(const Glib::ustring& name);
1031  void unset_name();
1032 
1039  Glib::ustring get_name() const;
1040 
1041 
1048  void set_state(StateType state);
1049 
1055 
1063  void set_sensitive(bool sensitive = true);
1064 
1073  bool get_sensitive() const;
1074 
1080  bool is_sensitive() const;
1081 
1092  void set_visible(bool visible = true);
1093 
1102  bool get_visible() const;
1103 
1117  void set_has_window(bool has_window = true);
1118 
1124  bool get_has_window() const;
1125 
1132  bool get_is_toplevel() const;
1133 
1139  bool get_is_drawable() const;
1140 
1145  bool get_realized() const;
1146 
1151  bool get_mapped() const;
1152 
1171  void set_app_paintable(bool app_paintable = true);
1172 
1180  bool get_app_paintable() const;
1181 
1203  void set_double_buffered(bool double_buffered = true);
1204 
1211  bool get_double_buffered() const;
1212 
1213 
1233  void set_redraw_on_allocate(bool redraw_on_allocate = true);
1234 
1235 
1256  void set_child_visible(bool is_visible = true);
1257 
1267  bool get_child_visible() const;
1268 
1282  void set_window(const Glib::RefPtr<Gdk::Window>& window);
1283 
1284 
1289  Glib::RefPtr<Gdk::Window> get_window();
1290 
1295  Glib::RefPtr<const Gdk::Window> get_window() const;
1296 
1301 
1302 
1308  void set_allocation(const Allocation& allocation);
1309 
1310 
1316 
1321  const Container* get_parent() const;
1322 
1323 
1328  Glib::RefPtr<Gdk::Window> get_parent_window();
1329 
1334  Glib::RefPtr<const Gdk::Window> get_parent_window() const;
1335 
1340  void set_parent_window(const Glib::RefPtr<const Gdk::Window>& parent_window);
1341 
1342 
1372  bool child_focus(DirectionType direction);
1373 
1374 
1412  bool keynav_failed(DirectionType direction);
1413 
1422  void error_bell();
1423 
1424 
1458  void set_size_request(int width = -1, int height = -1);
1459 
1471  void get_size_request(int& width, int& height) const;
1472 
1473 
1488 
1495 
1502 
1503 
1510 
1511 
1536 
1560  const Container* get_toplevel() const;
1561 
1562 
1576  Widget* get_ancestor(GType widget_type);
1577 
1591  const Widget* get_ancestor(GType widget_type) const;
1592 
1593 
1599  Glib::RefPtr<Gdk::Colormap> get_colormap();
1600 
1601 
1606  Glib::RefPtr<Gdk::Visual> get_visual();
1607 
1608 
1620  Glib::RefPtr<Gdk::Screen> get_screen();
1621 
1633  Glib::RefPtr<const Gdk::Screen> get_screen() const;
1634 
1635 
1644  bool has_screen() const;
1645 
1646 
1657  Glib::RefPtr<Gdk::Display> get_display();
1658 
1669  Glib::RefPtr<const Gdk::Display> get_display() const;
1670 
1671 
1683  Glib::RefPtr<Gdk::Window> get_root_window();
1684 
1696  Glib::RefPtr<const Gdk::Window> get_root_window() const;
1697 
1698 
1708  Glib::RefPtr<Settings> get_settings();
1709 
1710 
1726  Glib::RefPtr<Clipboard> get_clipboard(const Glib::ustring& selection);
1727 
1743  Glib::RefPtr<const Clipboard> get_clipboard(const Glib::ustring& selection) const;
1744 
1745 
1776  Glib::RefPtr<Gdk::Pixmap> get_snapshot(Gdk::Rectangle& clip_rect) const;
1777 
1795  Glib::RefPtr<Gdk::Pixmap> get_snapshot() const;
1796 
1797 
1798 #ifdef GTKMM_ATKMM_ENABLED
1799 
1815  Glib::RefPtr<Atk::Object> get_accessible();
1816 #endif // GTKMM_ATKMM_ENABLED
1817 
1818 
1819 #ifdef GTKMM_ATKMM_ENABLED
1820 
1836  Glib::RefPtr<const Atk::Object> get_accessible() const;
1837 #endif // GTKMM_ATKMM_ENABLED
1838 
1839 
1847  void set_colormap(const Glib::RefPtr<const Gdk::Colormap> & colormap);
1848 
1856 
1866  void get_pointer(int & x, int & y) const;
1867 
1875  bool is_ancestor(Widget & ancestor) const;
1876 
1877 
1892  bool translate_coordinates(Widget& dest_widget, int src_x, int src_y, int& dest_x, int& dest_y);
1893 
1894 /* STYLE */
1895 
1901  bool has_rc_style() const;
1902 
1910  void set_style(const Glib::RefPtr<Style>& style);
1911  void unset_style();
1912 
1913 
1920 
1925  Glib::RefPtr<Style> get_style();
1926 
1931  Glib::RefPtr<const Style> get_style() const;
1932 
1953  void modify_style(const Glib::RefPtr<RcStyle>& style);
1954 
1972  Glib::RefPtr<RcStyle> get_modifier_style();
1973 
1991  Glib::RefPtr<const RcStyle> get_modifier_style() const;
1992 
1993  // we need custom documentation because modify_* can take a NULL pointer
1994  // (which we wrap with unset_*)
1995 
2003  void modify_fg(StateType state, const Gdk::Color& color);
2004 
2005 
2013  void modify_bg(StateType state, const Gdk::Color& color);
2014 
2015  // TODO: Document this, and perhaps add unset_bg_pixmap
2016  void modify_bg_pixmap(StateType state, const Glib::ustring& pixmap_name);
2017 
2018 
2028  void modify_text(StateType state, const Gdk::Color& color);
2029 
2030 
2040  void modify_base(StateType state, const Gdk::Color& color);
2041 
2042 
2052  void modify_cursor(const Gdk::Color& primary, const Gdk::Color& secondary);
2053 
2056 
2057 
2062  void modify_font(const Pango::FontDescription& font_desc);
2063 
2067  void unset_fg(StateType state);
2068 
2072  void unset_bg(StateType state);
2073 
2077  void unset_text(StateType state);
2078 
2082  void unset_base(StateType state);
2083 
2087  void unset_font();
2088 
2089  //The parameter name is "the_property_name" to avoid a warning because there is a method with the "property_name" name.
2090  template <class PropertyType>
2091  void get_style_property(const Glib::ustring& the_property_name, PropertyType& value) const;
2092 
2093 
2100  Glib::RefPtr<Pango::Context> create_pango_context();
2101 
2116  Glib::RefPtr<Pango::Context> get_pango_context();
2117 
2131  Glib::RefPtr<Pango::Layout> create_pango_layout(const Glib::ustring& text);
2132 
2133 
2153  Glib::RefPtr<Gdk::Pixbuf> render_icon(const StockID& stock_id, IconSize size, const Glib::ustring& detail = Glib::ustring());
2154 
2155 
2161  void set_composite_name(const Glib::ustring& name);
2163 
2169  Glib::ustring get_composite_name() const;
2170 
2171 
2179 
2180  // PUSH/POP - these are used to create widgets. Hidden arguments to override the defaults.
2181 
2189  static void push_colormap(const Glib::RefPtr<const Gdk::Colormap>& cmap);
2190 
2193  static void pop_colormap();
2194 
2195 
2209  static void push_composite_child();
2210 
2213  static void pop_composite_child();
2214 
2215 /* DEFAULTS */
2216 
2217 
2224  static void set_default_colormap(const Glib::RefPtr<const Gdk::Colormap>& colormap);
2225 
2231  static Glib::RefPtr<Style> get_default_style();
2232 
2237  static Glib::RefPtr<Gdk::Colormap> get_default_colormap();
2238 
2244  static Glib::RefPtr<Gdk::Visual> get_default_visual();
2245 
2246 /* Directionality of Text */
2247 
2248 
2265 
2266 #ifndef GTKMM_DISABLE_DEPRECATED
2267 
2276 #endif // GTKMM_DISABLE_DEPRECATED
2277 
2278 
2285 
2286 
2294 
2301 
2302 /* Shape masking */
2303 
2312  void shape_combine_mask(const Glib::RefPtr<const Gdk::Bitmap>& shape_mask, int offset_x, int offset_y);
2314 
2323  void input_shape_combine_mask(const Glib::RefPtr<const Gdk::Bitmap>& shape_mask, int offset_x, int offset_y);
2325 
2326  // must be realized
2327 
2333 
2334 /* Paths */
2336  void path(Glib::ustring& path, Glib::ustring& path_reversed);
2337  void class_path(Glib::ustring& path, Glib::ustring& path_reversed);
2338 
2339 
2355  Glib::ListHandle<Widget*> list_mnemonic_labels();
2356 
2372  Glib::ListHandle<const Widget*> list_mnemonic_labels() const;
2373 
2383 
2393 
2394  //TODO: Should drag_get_data() be const?
2395 
2396 #ifndef GTKMM_DISABLE_DEPRECATED
2397 
2398  void drag_get_data(const Glib::RefPtr<Gdk::DragContext>& context, Glib::ustring& target, guint32 time);
2399 #endif // GTKMM_DISABLE_DEPRECATED
2400 
2401 
2402  void drag_get_data(const Glib::RefPtr<Gdk::DragContext>& context, const Glib::ustring& target, guint32 time);
2403 
2404 
2406 
2408 
2409  //TODO: Change the defaults? Maybe we should use ALL for DestDefaults. See other drag_dest_set() methods here and in other widgets.
2412 
2413 
2414  void drag_dest_set_proxy(const Glib::RefPtr<Gdk::Window>& proxy_window, Gdk::DragProtocol protocol, bool use_coordinates);
2415 
2417 
2430  Glib::ustring drag_dest_find_target(const Glib::RefPtr<Gdk::DragContext>& context, const Glib::RefPtr<TargetList>& target_list) const;
2431  Glib::ustring drag_dest_find_target(const Glib::RefPtr<Gdk::DragContext>& context) const;
2432 
2433 
2439  Glib::RefPtr<TargetList> drag_dest_get_target_list();
2440 
2446  Glib::RefPtr<const TargetList> drag_dest_get_target_list() const;
2447 
2454  void drag_dest_set_target_list(const Glib::RefPtr<TargetList>& target_list);
2455 
2456 
2466 
2476 
2486 
2488 
2489 
2491 
2492 
2502  void drag_source_set_icon(const Glib::RefPtr<Gdk::Colormap>& colormap, const Glib::RefPtr<Gdk::Pixmap>& pixmap, const Glib::RefPtr<Gdk::Bitmap>& mask);
2503 
2510  void drag_source_set_icon(const Glib::RefPtr<Gdk::Pixbuf>& pixbuf);
2511 
2517  void drag_source_set_icon(const StockID& stock_id);
2518 
2524  void drag_source_set_icon(const Glib::ustring& icon_name);
2525 
2526 
2536 
2546 
2556 
2557 
2593  Glib::RefPtr<Gdk::DragContext> drag_begin(const Glib::RefPtr<TargetList>& targets, Gdk::DragAction actions, int button, GdkEvent* event);
2594 
2605  bool drag_check_threshold(int start_x, int start_y, int current_x, int current_y);
2606  //gtkmmproc error: _gtk_drag_source_handle_event : ignored method defs lookup failed//gtkmmproc error: _gtk_drag_dest_handle_event : ignored method defs lookup failed
2607 
2608  //These should be a method of Gdk::DragContext, but gdkmm can't depend on gtkmm.
2609  static Widget* drag_get_source_widget(const Glib::RefPtr<Gdk::DragContext>& context);
2610  void drag_set_as_icon(const Glib::RefPtr<Gdk::DragContext>& context, int hot_x, int hot_y);
2611 
2612 
2617 
2624  bool get_no_show_all() const;
2625 
2635  void set_no_show_all(bool no_show_all = true);
2636 
2637  //Used when implementing containers:
2638 
2648  void set_parent(Widget& parent);
2649 
2654  void unparent();
2655 
2656  //TODO: When exactly do we need to custom containers need to call map() on the child widgets?
2657  //Most containers that derive from GtkContainer do not need to, but GtkNotebook does.
2658 
2662  void map();
2663 
2667  void unmap();
2668 
2669  //TODO: The drawable should be passed by reference, when we can break API/ABI, but it's not the end of the world. murrayc.
2670  void draw_insertion_cursor(Glib::RefPtr<Gdk::Drawable> drawable, const Gdk::Rectangle& area, const Gdk::Rectangle& location, bool is_primary, TextDirection direction, bool draw_arrow = true);
2671 
2672 
2673  // Gtk+ 2.12 tooltip API
2674 
2687 
2695 
2701 
2710  void set_tooltip_text(const Glib::ustring& text);
2711 
2716  Glib::ustring get_tooltip_text() const;
2717 
2729  void set_tooltip_markup(const Glib::ustring& markup);
2730 
2735  Glib::ustring get_tooltip_markup() const;
2736 
2742  void set_has_tooltip(bool has_tooltip = TRUE);
2743 
2749  bool get_has_tooltip() const;
2750 
2751 #ifndef GTKMM_DISABLE_DEPRECATED
2752 
2755  bool has_no_window() const;
2756 
2759  bool is_realized() const;
2760 
2763  bool is_mapped() const;
2764 
2767  bool is_toplevel() const;
2768 
2771  bool is_drawable() const;
2772 
2775  bool is_visible() const;
2776 
2779  bool sensitive() const;
2780 
2783  bool app_paintable() const;
2784 
2787  bool receives_default() const;
2788 
2791  bool double_buffered() const;
2792 
2795  bool parent_sensitive() const;
2796 
2799  bool rc_style() const;
2800 
2804  bool is_composite_child() const;
2805 
2817 
2824  void set_flags(WidgetFlags flags);
2825 
2833 
2834  //TODO: Remove this when we can break ABI:
2838 
2839  #endif // GTKMM_DISABLE_DEPRECATED
2840 
2841 
2842  int get_width() const;
2843  int get_height() const;
2844 
2845 
2857  bool is_composited() const;
2858 
2859  //TODO: Deprecate this when the other widgets can derive from Gtk::Activatable.
2860 
2869  Glib::RefPtr<Action> get_action();
2870 
2879  Glib::RefPtr<const Action> get_action() const;
2880 
2881  //TODO: Move this to protected when we can break API:
2894 
2895 
2902  Glib::SignalProxy0< void > signal_show();
2903 
2904 
2911  Glib::SignalProxy0< void > signal_hide();
2912 
2913 
2915  //- See {flags.mapped}.
2916 
2923  Glib::SignalProxy0< void > signal_map();
2924 
2925 
2926  //- See {flags.mapped}.
2927 
2934  Glib::SignalProxy0< void > signal_unmap();
2935 
2936 
2938  //- See {flags.realized}. This is also responsible for
2939  //- setting {flags.realized} when it is done. Therefore,
2940  //- when overriding the impl method, you should call the
2941  //- default realize method.
2942 
2949  Glib::SignalProxy0< void > signal_realize();
2950 
2951 
2952  //- See {flags.realized}. This should not be called by the user.
2953  //__WRAP(meth|sig|impl,void unrealize_(),gtk_widget_unrealize,"unrealize")
2954 
2961  Glib::SignalProxy0< void > signal_unrealize();
2962 
2963 
2970  Glib::SignalProxy1< void,Requisition* > signal_size_request();
2971 
2972 
2979  Glib::SignalProxy1< void,Allocation& > signal_size_allocate();
2980 
2981 
2982 // Changed signals -- inform widget of internal changes.
2983 // We rename parent_set => parent_changed
2984 // and style_set => style_changed
2985 // to avoid confusion with set_parent and set_style.
2986 
2987 
2994  Glib::SignalProxy1< void,Gtk::StateType > signal_state_changed();
2995 
2996 
2998  //- The widget passed is the former parent, which may be 0 if
2999  //- there was no parent. (was parent_set in GTK+)
3000 
3007  Glib::SignalProxy1< void,Widget* > signal_parent_changed();
3008 
3009 
3016  Glib::SignalProxy1< void,Widget* > signal_hierarchy_changed();
3017 
3018 
3019 //Note: We use Gtk::Style instead of Style here, to fix a build problem on MacOS X
3020 //that we don't fully understand. See bug #493057.
3021 
3022 
3035  Glib::SignalProxy1< void,const Glib::RefPtr<Gtk::Style>& > signal_style_changed();
3036 
3037 
3044  Glib::SignalProxy1< void,TextDirection > signal_direction_changed();
3045 
3046 
3053  Glib::SignalProxy1< void,bool > signal_grab_notify();
3054 
3055 
3066  Glib::SignalProxy1< void,GParamSpec* > signal_child_notify();
3067 
3068 
3069  //_WRAP_SIGNAL(void add_accelerator(guint, GtkAccelGroup*, guint accel_key, Gdk::ModifierType, AccelFlags), "add-accelerator")
3070  //_WRAP_SIGNAL(void remove_accelerator(GtkAccelGroup* accel_group, guint, Gdk::ModifierType), "remove-accelerator")
3071 
3078  Glib::SignalProxy1< bool,bool > signal_mnemonic_activate();
3079 
3080 
3087  Glib::SignalProxy0< void > signal_grab_focus();
3088 
3089 
3096  Glib::SignalProxy1< bool,DirectionType > signal_focus();
3097 
3098 
3105  Glib::SignalProxy1< bool,GdkEvent* > signal_event();
3106 
3107 
3114  Glib::SignalProxy1< void,GdkEvent* > signal_event_after();
3115 
3116 
3124  Glib::SignalProxy1< bool,GdkEventButton* > signal_button_press_event();
3125 
3126 
3134  Glib::SignalProxy1< bool,GdkEventButton* > signal_button_release_event();
3135 
3136 
3143  Glib::SignalProxy1< bool,GdkEventScroll* > signal_scroll_event();
3144 
3145 
3153  Glib::SignalProxy1< bool,GdkEventMotion* > signal_motion_notify_event();
3154 
3155 
3169  Glib::SignalProxy1< bool,GdkEventAny* > signal_delete_event();
3170 
3171 
3173  //- Expose events cover a rectangular area that was covered
3174  //- or obscured by another window. That area is now exposed
3175  //- and thus is needs to be redrawn.
3176  //-
3177  //- If the application is not capable of redrawing sections
3178  //- it should watch the count field and only draw on the last
3179  //- even indicated. This is important for things such as
3180  //- Gtk::DrawingArea.
3181 
3188  Glib::SignalProxy1< bool,GdkEventExpose* > signal_expose_event();
3189 
3190 
3198  Glib::SignalProxy1< bool,GdkEventKey* > signal_key_press_event();
3199 
3200 
3208  Glib::SignalProxy1< bool,GdkEventKey* > signal_key_release_event();
3209 
3210 
3218  Glib::SignalProxy1< bool,GdkEventCrossing* > signal_enter_notify_event();
3219 
3220 
3228  Glib::SignalProxy1< bool,GdkEventCrossing* > signal_leave_notify_event();
3229 
3230 
3238  Glib::SignalProxy1< bool,GdkEventConfigure* > signal_configure_event();
3239 
3240 
3247  Glib::SignalProxy1< bool,GdkEventFocus* > signal_focus_in_event();
3248 
3249 
3256  Glib::SignalProxy1< bool,GdkEventFocus* > signal_focus_out_event();
3257 
3258 
3265  Glib::SignalProxy1< bool,GdkEventAny* > signal_map_event();
3266 
3267 
3274  Glib::SignalProxy1< bool,GdkEventAny* > signal_unmap_event();
3275 
3276 
3283  Glib::SignalProxy1< bool,GdkEventProperty* > signal_property_notify_event();
3284 
3285 
3292  Glib::SignalProxy1< bool,GdkEventSelection* > signal_selection_clear_event();
3293 
3294 
3301  Glib::SignalProxy1< bool,GdkEventSelection* > signal_selection_request_event();
3302 
3303 
3310  Glib::SignalProxy1< bool,GdkEventSelection* > signal_selection_notify_event();
3311 
3312 
3319  Glib::SignalProxy1< bool,GdkEventProximity* > signal_proximity_in_event();
3320 
3321 
3328  Glib::SignalProxy1< bool,GdkEventProximity* > signal_proximity_out_event();
3329 
3330 
3337  Glib::SignalProxy1< bool,GdkEventVisibility* > signal_visibility_notify_event();
3338 
3339 
3346  Glib::SignalProxy1< bool,GdkEventClient* > signal_client_event();
3347 
3348 
3355  Glib::SignalProxy1< bool,GdkEventAny* > signal_no_expose_event();
3356 
3357 
3364  Glib::SignalProxy1< bool,GdkEventWindowState* > signal_window_state_event();
3365 
3366 
3367  //We use the optional custom_c_callback parameter with _WRAP_SIGNAL() for some of these,
3368  //so that we can write special code to wrap the non-const SelectionData& output parameters:
3369 
3376  Glib::SignalProxy3< void,SelectionData&,guint,guint > signal_selection_get();
3377 
3378 
3385  Glib::SignalProxy2< void,const SelectionData&,guint > signal_selection_received();
3386 
3387 
3399  Glib::SignalProxy1< void,const Glib::RefPtr<Gdk::DragContext>& > signal_drag_begin();
3400 
3401 
3413  Glib::SignalProxy1< void,const Glib::RefPtr<Gdk::DragContext>& > signal_drag_end();
3414 
3415 
3431  Glib::SignalProxy4< void,const Glib::RefPtr<Gdk::DragContext>&,SelectionData&,guint,guint > signal_drag_data_get();
3432 
3433 
3446  Glib::SignalProxy1< void,const Glib::RefPtr<Gdk::DragContext>& > signal_drag_data_delete();
3447 
3448 
3455  Glib::SignalProxy2< bool,const Glib::RefPtr<Gdk::DragContext>&,DragResult > signal_drag_failed();
3456 
3457 
3470  Glib::SignalProxy2< void,const Glib::RefPtr<Gdk::DragContext>&,guint > signal_drag_leave();
3471 
3472 
3499  Glib::SignalProxy4< bool,const Glib::RefPtr<Gdk::DragContext>&,int,int,guint > signal_drag_motion();
3500 
3501 
3522  Glib::SignalProxy4< bool,const Glib::RefPtr<Gdk::DragContext>&,int,int,guint > signal_drag_drop();
3523 
3524 
3548  Glib::SignalProxy6< void,const Glib::RefPtr<Gdk::DragContext>&,int,int,const SelectionData&,guint,guint > signal_drag_data_received();
3549 
3550 
3551  //Note that the deprecated keyword has no effect on _WRAP_SIGNAL() yet.
3552  //It doesn't seem like a good idea to put virtual functions in #ifdefs, because that would change the size of the class instances.
3553 
3554 #ifdef GTKMM_ATKMM_ENABLED
3555 #ifndef GTKMM_DISABLE_DEPRECATED
3556 
3564  Glib::SignalProxy0< Glib::RefPtr<Atk::Object> > signal_get_accessible();
3565 #endif // GTKMM_DISABLE_DEPRECATED
3566 
3567 #endif // GTKMM_ATKMM_ENABLED
3568 
3569 
3576  Glib::SignalProxy1< void,const Glib::RefPtr<Gdk::Screen>& > signal_screen_changed();
3577 
3578 
3585  Glib::SignalProxy0< void > signal_composited_changed();
3586 
3587 
3588 //TODO: The signal_id is very C-like here:
3589  //_WRAP_SIGNAL(bool can_activate_accel(guint signal_id), "can_activate_accel")
3590 
3591 
3598  Glib::SignalProxy0< bool > signal_popup_menu();
3599  //Note that popup-menu is a keybinding signal, but is really meant to be wrapped.
3600 
3601  //Keybinding signals:
3602 
3603 
3604  // Tooltip signal
3605 
3612  Glib::SignalProxy4< bool,int,int,bool,const Glib::RefPtr<Tooltip>& > signal_query_tooltip();
3613 
3614 
3615  //(This was added to GTK+ 2.8 but forgotten by us until gtkmm 2.13/14):
3616 
3623  Glib::SignalProxy1< bool,GdkEventGrabBroken* > signal_grab_broken_event();
3624 
3625 
3632  Glib::SignalProxy1< bool,GdkEventExpose* > signal_damage_event();
3633 
3634 
3640  Glib::PropertyProxy< Glib::ustring > property_name() ;
3641 
3647  Glib::PropertyProxy_ReadOnly< Glib::ustring > property_name() const;
3648 
3654  Glib::PropertyProxy< Container* > property_parent() ;
3655 
3661  Glib::PropertyProxy_ReadOnly< Container* > property_parent() const;
3662 
3668  Glib::PropertyProxy< int > property_width_request() ;
3669 
3675  Glib::PropertyProxy_ReadOnly< int > property_width_request() const;
3676 
3682  Glib::PropertyProxy< int > property_height_request() ;
3683 
3689  Glib::PropertyProxy_ReadOnly< int > property_height_request() const;
3690 
3696  Glib::PropertyProxy< bool > property_visible() ;
3697 
3703  Glib::PropertyProxy_ReadOnly< bool > property_visible() const;
3704 
3710  Glib::PropertyProxy< bool > property_sensitive() ;
3711 
3717  Glib::PropertyProxy_ReadOnly< bool > property_sensitive() const;
3718 
3724  Glib::PropertyProxy< bool > property_app_paintable() ;
3725 
3731  Glib::PropertyProxy_ReadOnly< bool > property_app_paintable() const;
3732 
3738  Glib::PropertyProxy< bool > property_can_focus() ;
3739 
3745  Glib::PropertyProxy_ReadOnly< bool > property_can_focus() const;
3746 
3752  Glib::PropertyProxy< bool > property_has_focus() ;
3753 
3759  Glib::PropertyProxy_ReadOnly< bool > property_has_focus() const;
3760 
3766  Glib::PropertyProxy< bool > property_is_focus() ;
3767 
3773  Glib::PropertyProxy_ReadOnly< bool > property_is_focus() const;
3774 
3780  Glib::PropertyProxy< bool > property_can_default() ;
3781 
3787  Glib::PropertyProxy_ReadOnly< bool > property_can_default() const;
3788 
3794  Glib::PropertyProxy< bool > property_has_default() ;
3795 
3801  Glib::PropertyProxy_ReadOnly< bool > property_has_default() const;
3802 
3808  Glib::PropertyProxy< bool > property_receives_default() ;
3809 
3815  Glib::PropertyProxy_ReadOnly< bool > property_receives_default() const;
3816 
3822  Glib::PropertyProxy_ReadOnly< bool > property_composite_child() const;
3823 
3824 
3830  Glib::PropertyProxy< Glib::RefPtr<Style> > property_style() ;
3831 
3837  Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Style> > property_style() const;
3838 
3844  Glib::PropertyProxy< Gdk::EventMask > property_events() ;
3845 
3851  Glib::PropertyProxy_ReadOnly< Gdk::EventMask > property_events() const;
3852 
3858  Glib::PropertyProxy< Gdk::ExtensionMode > property_extension_events() ;
3859 
3865  Glib::PropertyProxy_ReadOnly< Gdk::ExtensionMode > property_extension_events() const;
3866 
3872  Glib::PropertyProxy< bool > property_has_tooltip() ;
3873 
3879  Glib::PropertyProxy_ReadOnly< bool > property_has_tooltip() const;
3880 
3886  Glib::PropertyProxy< Glib::ustring > property_tooltip_markup() ;
3887 
3893  Glib::PropertyProxy_ReadOnly< Glib::ustring > property_tooltip_markup() const;
3894 
3900  Glib::PropertyProxy< Glib::ustring > property_tooltip_text() ;
3901 
3907  Glib::PropertyProxy_ReadOnly< Glib::ustring > property_tooltip_text() const;
3908 
3914  Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gdk::Window> > property_window() const;
3915 
3916 
3922  Glib::PropertyProxy< bool > property_no_show_all() ;
3923 
3929  Glib::PropertyProxy_ReadOnly< bool > property_no_show_all() const;
3930 
3936  Glib::PropertyProxy< bool > property_double_buffered() ;
3937 
3943  Glib::PropertyProxy_ReadOnly< bool > property_double_buffered() const;
3944 
3945 
3946 protected:
3947  //comment in GTK+ header: "seldomly overidden"
3948  virtual void dispatch_child_properties_changed_vfunc(guint p1, GParamSpec** p2);
3949 
3950 
3951  virtual void show_all_vfunc();
3952 
3953  virtual void hide_all_vfunc();
3954 
3955 
3956 #ifdef GTKMM_ATKMM_ENABLED
3957  virtual Glib::RefPtr<Atk::Object> get_accessible_vfunc();
3958 
3959 #endif // GTKMM_ATKMM_ENABLED
3960 
3961 
3962 protected:
3964 
3965 
3985  void realize();
3986 
3991  void unrealize();
3992 
3993 
4001  void set_mapped(bool mapped = true);
4002 
4010  void set_realized(bool realized = true);
4011 
4025 
4026 
4048  void get_child_requisition(Requisition& requisition) const;
4049 
4050  //The parameter name is "the_property_name" to avoid a warning because there is a method with the "property_name" name.
4051 
4057  void get_style_property_value(const Glib::ustring& the_property_name, Glib::ValueBase& value) const;
4058 
4060 
4061 
4062 };
4063 
4064 #ifndef DOXYGEN_SHOULD_SKIP_THIS
4065 
4066 //The parameter name is "the_property_name" to avoid a warning because there is a method with the "property_name" name.
4067 template <class PropertyType>
4068 void Widget::get_style_property(const Glib::ustring& the_property_name, PropertyType& value) const
4069 {
4070  Glib::Value<PropertyType> property_value;
4071  property_value.init(Glib::Value<PropertyType>::value_type());
4072 
4073  this->get_style_property_value(the_property_name, property_value);
4074 
4075  value = property_value.get();
4076 }
4077 
4078 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
4079 
4080 } // namespace Gtk
4081 
4082 
4083 namespace Glib
4084 {
4093  Gtk::Widget* wrap(GtkWidget* object, bool take_copy = false);
4094 } //namespace Glib
4095 
4096 
4097 #endif /* _GTKMM_WIDGET_H */
4098 
Glib::PropertyProxy< bool > property_app_paintable()
bool get_sensitive() const
Glib::RefPtr< Gdk::Window > get_root_window()
Glib::SignalProxy6< void, const Glib::RefPtr< Gdk::DragContext > &, int, int, const SelectionData &, guint, guint > signal_drag_data_received()
Gtk::Widget * wrap(GtkWidget *object, bool take_copy=false)
Glib::RefPtr< Pango::Context > create_pango_context()
bool has_focus() const
Glib::RefPtr< RcStyle > get_modifier_style()
virtual void on_grab_focus()
This is a default handler for the signal signal_grab_focus().
void get_size_request(int &width, int &height) const
bool get_realized() const
void set_can_default(bool can_default=true)
Glib::RefPtr< TargetList > drag_dest_get_target_list()
virtual bool on_selection_request_event(GdkEventSelection *event)
This is a default handler for the signal signal_selection_request_event().
Glib::SignalProxy1< bool, DirectionType > signal_focus()
virtual void on_selection_get(SelectionData &selection_data, guint info, guint time)
This is a default handler for the signal signal_selection_get().
void drag_dest_unset()
Glib::RefPtr< Pango::Context > get_pango_context()
void set_state(StateType state)
virtual bool on_drag_drop(const Glib::RefPtr< Gdk::DragContext > &context, int x, int y, guint time)
This is a default handler for the signal signal_drag_drop().
Glib::PropertyProxy< bool > property_can_default()
virtual void on_drag_leave(const Glib::RefPtr< Gdk::DragContext > &context, guint time)
This is a default handler for the signal signal_drag_leave().
void trigger_tooltip_query()
virtual bool on_focus_out_event(GdkEventFocus *event)
This is a default handler for the signal signal_focus_out_event().
void input_shape_combine_mask(const Glib::RefPtr< const Gdk::Bitmap > &shape_mask, int offset_x, int offset_y)
void set_name(const Glib::ustring &name)
bool intersect(const Gdk::Rectangle &area, Gdk::Rectangle &intersection) const
Glib::RefPtr< const Action > get_action() const
void drag_dest_add_uri_targets()
void size_allocate(const Allocation &allocation)
Glib::PropertyProxy< bool > property_sensitive()
virtual bool on_unmap_event(GdkEventAny *event)
This is a default handler for the signal signal_unmap_event().
bool receives_default() const
Glib::SignalProxy0< void > signal_unmap()
bool get_mapped() const
Glib::PropertyProxy_ReadOnly< bool > property_visible() const
void set_mapped(bool mapped=true)
void set_redraw_on_allocate(bool redraw_on_allocate=true)
void set_flags(WidgetFlags flags)
virtual bool on_proximity_in_event(GdkEventProximity *event)
This is a default handler for the signal signal_proximity_in_event().
void unset_shape_combine_mask()
void drag_dest_add_image_targets()
bool get_child_visible() const
void drag_dest_set_proxy(const Glib::RefPtr< Gdk::Window > &proxy_window, Gdk::DragProtocol protocol, bool use_coordinates)
Glib::SignalProxy1< bool, GdkEventProximity * > signal_proximity_out_event()
void add_events(Gdk::EventMask events)
Glib::PropertyProxy< Glib::RefPtr< Style > > property_style()
bool parent_sensitive() const
Glib::PropertyProxy_ReadOnly< bool > property_receives_default() const
virtual bool on_button_release_event(GdkEventButton *event)
This is a default handler for the signal signal_button_release_event().
void set_double_buffered(bool double_buffered=true)
Glib::SignalProxy3< void, SelectionData &, guint, guint > signal_selection_get()
virtual void on_drag_begin(const Glib::RefPtr< Gdk::DragContext > &context)
This is a default handler for the signal signal_drag_begin().
void unset_cursor()
See modify_cursor().
bool remove_accelerator(const Glib::RefPtr< AccelGroup > &accel_group, guint accel_key, Gdk::ModifierType accel_mods)
static void pop_colormap()
void set_parent(Widget &parent)
virtual void on_child_notify(GParamSpec *pspec)
This is a default handler for the signal signal_child_notify().
bool can_default() const
bool send_focus_change(GdkEvent *event)
Glib::PropertyProxy_ReadOnly< bool > property_has_focus() const
Glib::SignalProxy1< bool, GdkEventScroll * > signal_scroll_event()
void unset_base(StateType state)
void modify_font(const Pango::FontDescription &font_desc)
bool keynav_failed(DirectionType direction)
bool intersect(const Gdk::Rectangle &area) const
Requisition size_request() const
virtual bool on_key_release_event(GdkEventKey *event)
This is a default handler for the signal signal_key_release_event().
virtual bool on_no_expose_event(GdkEventAny *event)
This is a default handler for the signal signal_no_expose_event().
void drag_source_set_icon(const StockID &stock_id)
const Widget * get_ancestor(GType widget_type) const
Glib::SignalProxy2< bool, const Glib::RefPtr< Gdk::DragContext > &, DragResult > signal_drag_failed()
static void set_default_direction(TextDirection dir)
virtual bool on_touch_end_event(GdkEventTouch *event)
bool set_scroll_adjustments(Adjustment &hadjustment, Adjustment &vadjustment)
Glib::RefPtr< Gdk::Display > get_display()
Glib::RefPtr< Gdk::Pixmap > get_snapshot() const
bool is_composite_child() const
void set_sensitive(bool sensitive=true)
Glib::RefPtr< const Gdk::Window > get_parent_window() const
Glib::SignalProxy1< void, Widget * > signal_parent_changed()
Informs objects that their parent changed.
Glib::RefPtr< Pango::Layout > create_pango_layout(const Glib::ustring &text)
void realize()
Glib::SignalProxy4< bool, int, int, bool, const Glib::RefPtr< Tooltip > & > signal_query_tooltip()
Glib::SignalProxy1< void, bool > signal_grab_notify()
bool has_no_window() const
Glib::SignalProxy1< void, GParamSpec * > signal_child_notify()
void unset_bg(StateType state)
virtual void on_size_request(Requisition *requisition)
This is a default handler for the signal signal_size_request().
Glib::RefPtr< const Gdk::Screen > get_screen() const
static void set_default_colormap(const Glib::RefPtr< const Gdk::Colormap > &colormap)
Glib::SignalProxy1< bool, GdkEventProperty * > signal_property_notify_event()
Glib::PropertyProxy_ReadOnly< bool > property_composite_child() const
void set_allocation(const Allocation &allocation)
Glib::RefPtr< Style > get_style()
void reset_shapes()
Glib::PropertyProxy< Glib::ustring > property_tooltip_markup()
Glib::SignalProxy0< bool > signal_popup_menu()
bool is_ancestor(Widget &ancestor) const
virtual void on_drag_data_received(const Glib::RefPtr< Gdk::DragContext > &context, int x, int y, const SelectionData &selection_data, guint info, guint time)
This is a default handler for the signal signal_drag_data_received().
virtual bool on_touch_update_event(GdkEventTouch *event)
Glib::PropertyProxy_ReadOnly< Container * > property_parent() const
bool get_is_drawable() const
Glib::RefPtr< Gdk::Window > get_window()
void drag_unhighlight()
Glib::SignalProxy1< bool, GdkEventButton * > signal_button_release_event()
Glib::ListHandle< const Widget * > list_mnemonic_labels() const
Glib::SignalProxy0< void > signal_unrealize()
Glib::PropertyProxy< bool > property_has_tooltip()
Glib::SignalProxy1< bool, GdkEventAny * > signal_no_expose_event()
void set_tooltip_text(const Glib::ustring &text)
Glib::RefPtr< Gdk::Colormap > get_colormap()
Glib::PropertyProxy_ReadOnly< bool > property_can_focus() const
static Glib::RefPtr< Gdk::Colormap > get_default_colormap()
Glib::PropertyProxy_ReadOnly< Gdk::EventMask > property_events() const
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_tooltip_text() const
virtual bool on_event(GdkEvent *event)
This is a default handler for the signal signal_event().
const Container * get_toplevel() const
Gdk::Region region_intersect(const Gdk::Region &region) const
Glib::SignalProxy1< void, const Glib::RefPtr< Gdk::Screen > & > signal_screen_changed()
void set_realized(bool realized=true)
Glib::SignalProxy1< bool, GdkEventAny * > signal_unmap_event()
virtual void dispatch_child_properties_changed_vfunc(guint p1, GParamSpec **p2)
bool get_can_default() const
Glib::RefPtr< Gdk::Screen > get_screen()
void grab_focus()
virtual void on_unmap()
This is a default handler for the signal signal_unmap().
Glib::SignalProxy1< bool, GdkEventConfigure * > signal_configure_event()
void drag_source_set(const ArrayHandle_TargetEntry &targets, Gdk::ModifierType start_button_mask=Gdk::MODIFIER_MASK, Gdk::DragAction actions=Gdk::ACTION_COPY)
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_name() const
void show_all()
Glib::RefPtr< const Style > get_style() const
void set_can_focus(bool can_focus=true)
Glib::RefPtr< Action > get_action()
void set_style(const Glib::RefPtr< Style > &style)
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Gdk::Window > > property_window() const
void unset_style()
Glib::PropertyProxy< Gdk::ExtensionMode > property_extension_events()
virtual void on_map()
This is a default handler for the signal signal_map().
void add_accelerator(const Glib::ustring &accel_signal, const Glib::RefPtr< AccelGroup > &accel_group, guint accel_key, Gdk::ModifierType accel_mods, AccelFlags accel_flags)
bool get_visible() const
void thaw_child_notify()
Glib::SignalProxy0< void > signal_realize()
Emitted on realization of a widget.
void unrealize()
void size_request(const Requisition &requisition)
Glib::PropertyProxy< Gdk::EventMask > property_events()
virtual bool on_proximity_out_event(GdkEventProximity *event)
This is a default handler for the signal signal_proximity_out_event().
virtual void hide_all_vfunc()
void unset_fg(StateType state)
void set_app_paintable(bool app_paintable=true)
Glib::RefPtr< Gdk::Window > get_parent_window()
void get_style_property(const Glib::ustring &the_property_name, PropertyType &value) const
Glib::SignalProxy1< bool, GdkEventKey * > signal_key_press_event()
void set_size_request(int width=-1, int height=-1)
Glib::PropertyProxy_ReadOnly< bool > property_app_paintable() const
virtual void on_selection_received(const SelectionData &selection_data, guint time)
This is a default handler for the signal signal_selection_received().
virtual void show_all_vfunc()
void unset_font()
virtual bool on_configure_event(GdkEventConfigure *event)
This is a default handler for the signal signal_configure_event().
Glib::SignalProxy1< bool, GdkEventMotion * > signal_motion_notify_event()
void modify_text(StateType state, const Gdk::Color &color)
void shape_combine_mask(const Glib::RefPtr< const Gdk::Bitmap > &shape_mask, int offset_x, int offset_y)
void queue_draw()
Glib::SignalProxy1< bool, GdkEventFocus * > signal_focus_in_event()
void realize_if_needed()
void unset_name()
bool drag_check_threshold(int start_x, int start_y, int current_x, int current_y)
bool is_toplevel() const
Glib::SignalProxy0< void > signal_hide()
void reparent(Widget &new_parent)
Requisition get_requisition() const
GtkWidget * gobj()
Provides access to the underlying C GtkObject.
void freeze_child_notify()
virtual bool on_enter_notify_event(GdkEventCrossing *event)
This is a default handler for the signal signal_enter_notify_event().
void set_visible(bool visible=true)
void set_has_window(bool has_window=true)
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Style > > property_style() const
TextDirection get_direction() const
bool is_focus() const
static Widget * get_current_modal_grab()
Glib::SignalProxy0< void > signal_map()
Emitted on mapping of a widget to the screen.
Glib::SignalProxy1< bool, GdkEventAny * > signal_delete_event()
void draw_insertion_cursor(Glib::RefPtr< Gdk::Drawable > drawable, const Gdk::Rectangle &area, const Gdk::Rectangle &location, bool is_primary, TextDirection direction, bool draw_arrow=true)
void modify_bg(StateType state, const Gdk::Color &color)
Glib::SignalProxy1< bool, bool > signal_mnemonic_activate()
void set_window(const Glib::RefPtr< Gdk::Window > &window)
void child_notify(const Glib::ustring &child_property)
void drag_set_as_icon(const Glib::RefPtr< Gdk::DragContext > &context, int hot_x, int hot_y)
virtual bool on_focus(DirectionType direction)
This is a default handler for the signal signal_focus().
Glib::PropertyProxy_ReadOnly< int > property_width_request() const
void drag_source_add_text_targets()
Glib::RefPtr< const TargetList > drag_dest_get_target_list() const
void drag_source_set_icon(const Glib::RefPtr< Gdk::Colormap > &colormap, const Glib::RefPtr< Gdk::Pixmap > &pixmap, const Glib::RefPtr< Gdk::Bitmap > &mask)
Glib::SignalProxy1< bool, GdkEventCrossing * > signal_leave_notify_event()
const GtkWidget * gobj() const
Provides access to the underlying C GtkObject.
const Container * get_parent() const
bool translate_coordinates(Widget &dest_widget, int src_x, int src_y, int &dest_x, int &dest_y)
void set_receives_default(bool receives_default=true)
bool is_realized() const
virtual void on_direction_changed(TextDirection direction)
This is a default handler for the signal signal_direction_changed().
Glib::SignalProxy1< bool, GdkEvent * > signal_event()
virtual bool on_key_press_event(GdkEventKey *event)
This is a default handler for the signal signal_key_press_event().
Gtk::StateType get_saved_state() const
bool is_visible() const
bool is_composited() const
Glib::PropertyProxy< bool > property_is_focus()
void set_child_visible(bool is_visible=true)
Glib::SignalProxy1< bool, GdkEventWindowState * > signal_window_state_event()
void path(Glib::ustring &path, Glib::ustring &path_reversed)
Compute a widget's path of the form "GtkWindow.MyLabel".
Glib::SignalProxy1< void, Gtk::StateType > signal_state_changed()
void unset_text(StateType state)
void reset_rc_styles()
void set_no_show_all(bool no_show_all=true)
Glib::SignalProxy1< bool, GdkEventProximity * > signal_proximity_in_event()
Glib::PropertyProxy_ReadOnly< bool > property_has_default() const
Glib::SignalProxy1< bool, GdkEventSelection * > signal_selection_request_event()
virtual void on_show()
This is a default handler for the signal signal_show().
virtual bool on_mnemonic_activate(bool group_cycling)
This is a default handler for the signal signal_mnemonic_activate().
static TextDirection get_default_direction()
bool get_no_show_all() const
Glib::SignalProxy1< void, const Glib::RefPtr< Gdk::DragContext > & > signal_drag_begin()
Gdk::ExtensionMode get_extension_events() const
void remove_modal_grab()
void drag_dest_set_target_list(const Glib::RefPtr< TargetList > &target_list)
void drag_source_set_icon(const Glib::ustring &icon_name)
void grab_default()
Glib::PropertyProxy< bool > property_visible()
WidgetFlags get_flags() const
Glib::PropertyProxy< bool > property_no_show_all()
virtual void on_hide()
This is a default handler for the signal signal_hide().
virtual bool on_map_event(GdkEventAny *event)
This is a default handler for the signal signal_map_event().
bool get_has_tooltip() const
Glib::ustring get_tooltip_text() const
void queue_draw_area(int x, int y, int width, int height)
bool child_focus(DirectionType direction)
Glib::PropertyProxy< bool > property_has_default()
void unmap()
Glib::SignalProxy1< void, Widget * > signal_hierarchy_changed()
void modify_style(const Glib::RefPtr< RcStyle > &style)
virtual void on_parent_changed(Widget *previous_parent)
This is a default handler for the signal signal_parent_changed().
virtual bool on_property_notify_event(GdkEventProperty *event)
This is a default handler for the signal signal_property_notify_event().
void set_tooltip_markup(const Glib::ustring &markup)
Glib::RefPtr< Gdk::Pixbuf > render_icon(const StockID &stock_id, IconSize size, const Glib::ustring &detail=Glib::ustring())
Glib::PropertyProxy< bool > property_can_focus()
void show_now()
Glib::SignalProxy1< bool, GdkEventSelection * > signal_selection_notify_event()
void drag_source_add_image_targets()
Glib::SignalProxy1< bool, GdkEventFocus * > signal_focus_out_event()
void drag_source_set_icon(const Glib::RefPtr< Gdk::Pixbuf > &pixbuf)
bool sensitive() const
bool get_has_window() const
bool can_focus() const
virtual bool on_expose_event(GdkEventExpose *event)
This is a default handler for the signal signal_expose_event().
bool double_buffered() const
virtual bool on_scroll_event(GdkEventScroll *event)
This is a default handler for the signal signal_scroll_event().
bool has_default() const
static Widget * drag_get_source_widget(const Glib::RefPtr< Gdk::DragContext > &context)
void set_parent_window(const Glib::RefPtr< const Gdk::Window > &parent_window)
void set_direction(TextDirection dir)
Glib::PropertyProxy< bool > property_has_focus()
void set_has_tooltip(bool has_tooltip=TRUE)
void hide_all()
void drag_source_unset()
void set_accel_path(const Glib::ustring &accel_path, const Glib::RefPtr< AccelGroup > &accel_group)
Glib::SignalProxy1< bool, GdkEventExpose * > signal_expose_event()
Event triggered by window requiring a refresh.
virtual bool on_drag_motion(const Glib::RefPtr< Gdk::DragContext > &context, int x, int y, guint time)
This is a default handler for the signal signal_drag_motion().
int send_expose(GdkEvent *event)
Glib::SignalProxy1< bool, GdkEventSelection * > signal_selection_clear_event()
Window * get_tooltip_window()
Glib::RefPtr< const Gdk::Window > get_window() const
virtual bool on_touch_begin_event(GdkEventTouch *event)
bool has_screen() const
Glib::ustring drag_dest_find_target(const Glib::RefPtr< Gdk::DragContext > &context, const Glib::RefPtr< TargetList > &target_list) const
Glib::SignalProxy2< void, const Glib::RefPtr< Gdk::DragContext > &, guint > signal_drag_leave()
Glib::RefPtr< const Gdk::Window > get_root_window() const
Glib::ustring get_tooltip_markup() const
void unparent()
Glib::SignalProxy1< bool, GdkEventButton * > signal_button_press_event()
Glib::SignalProxy1< void, const Glib::RefPtr< Gtk::Style > & > signal_style_changed()
void modify_bg_pixmap(StateType state, const Glib::ustring &pixmap_name)
static void push_colormap(const Glib::RefPtr< const Gdk::Colormap > &cmap)
Glib::RefPtr< Settings > get_settings()
static Glib::RefPtr< Style > get_default_style()
Allocation get_allocation() const
virtual bool on_client_event(GdkEventClient *event)
This is a default handler for the signal signal_client_event().
void queue_resize_no_redraw()
void set_tooltip_window(Window &window)
Glib::ustring get_name() const
Glib::PropertyProxy_ReadOnly< bool > property_double_buffered() const
Glib::SignalProxy1< void, const Glib::RefPtr< Gdk::DragContext > & > signal_drag_data_delete()
virtual bool on_delete_event(GdkEventAny *event)
This is a default handler for the signal signal_delete_event().
Glib::RefPtr< const Clipboard > get_clipboard(const Glib::ustring &selection) const
Glib::PropertyProxy< bool > property_double_buffered()
Glib::PropertyProxy_ReadOnly< bool > property_sensitive() const
void add_modal_grab()
Glib::PropertyProxy_ReadOnly< bool > property_is_focus() const
virtual bool on_focus_in_event(GdkEventFocus *event)
This is a default handler for the signal signal_focus_in_event().
bool is_sensitive() const
void remove_mnemonic_label(Widget &label)
bool app_paintable() const
bool get_can_focus() const
virtual void on_size_allocate(Allocation &allocation)
This is a default handler for the signal signal_size_allocate().
Glib::PropertyProxy_ReadOnly< int > property_height_request() const
bool rc_style() const
int get_height() const
void get_pointer(int &x, int &y) const
Glib::SignalProxy4< void, const Glib::RefPtr< Gdk::DragContext > &, SelectionData &, guint, guint > signal_drag_data_get()
Glib::PropertyProxy< int > property_height_request()
virtual void on_drag_data_get(const Glib::RefPtr< Gdk::DragContext > &context, SelectionData &selection_data, guint info, guint time)
This is a default handler for the signal signal_drag_data_get().
Glib::SignalProxy4< bool, const Glib::RefPtr< Gdk::DragContext > &, int, int, guint > signal_drag_drop()
Glib::PropertyProxy_ReadOnly< bool > property_has_tooltip() const
Glib::PropertyProxy< Container * > property_parent()
Container * get_toplevel()
Glib::SignalProxy1< bool, GdkEventGrabBroken * > signal_grab_broken_event()
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_tooltip_markup() const
virtual bool on_button_press_event(GdkEventButton *event)
This is a default handler for the signal signal_button_press_event().
bool is_drawable() const
virtual void on_grab_notify(bool was_grabbed)
This is a default handler for the signal signal_grab_notify().
void set_composite_name(const Glib::ustring &name)
Glib::RefPtr< Clipboard > get_clipboard(const Glib::ustring &selection)
virtual void on_unrealize()
This is a default handler for the signal signal_unrealize().
bool get_double_buffered() const
void set_extension_events(Gdk::ExtensionMode mode)
Glib::PropertyProxy< Glib::ustring > property_tooltip_text()
void get_style_property_value(const Glib::ustring &the_property_name, Glib::ValueBase &value) const
Glib::SignalProxy1< void, const Glib::RefPtr< Gdk::DragContext > & > signal_drag_end()
void unset_input_shape_combine_mask()
void unset_composite_name()
void get_child_requisition(Requisition &requisition) const
Glib::SignalProxy1< bool, GdkEventAny * > signal_map_event()
virtual bool on_visibility_notify_event(GdkEventVisibility *event)
This is a default handler for the signal signal_visibility_notify_event().
void ensure_style()
StateType get_state() const
virtual bool on_motion_notify_event(GdkEventMotion *event)
This is a default handler for the signal signal_motion_notify_event().
Glib::SignalProxy1< bool, GdkEventCrossing * > signal_enter_notify_event()
virtual bool on_selection_clear_event(GdkEventSelection *event)
This is a default handler for the signal signal_selection_clear_event().
virtual bool on_leave_notify_event(GdkEventCrossing *event)
This is a default handler for the signal signal_leave_notify_event().
Glib::SignalProxy1< bool, GdkEventKey * > signal_key_release_event()
bool has_rc_style() const
int get_width() const
bool mnemonic_activate(bool group_cycling)
Glib::ustring drag_dest_find_target(const Glib::RefPtr< Gdk::DragContext > &context) const
Glib::SignalProxy1< void, Requisition * > signal_size_request()
virtual bool on_window_state_event(GdkEventWindowState *event)
This is a default handler for the signal signal_window_state_event().
Glib::ustring get_composite_name() const
Glib::PropertyProxy< bool > property_receives_default()
void modify_fg(StateType state, const Gdk::Color &color)
void unset_flags(WidgetFlags flags)
virtual void on_hierarchy_changed(Widget *previous_toplevel)
This is a default handler for the signal signal_hierarchy_changed().
virtual void on_style_changed(const Glib::RefPtr< Gtk::Style > &previous_style)
This is a default handler for the signal signal_style_changed().
Glib::ListHandle< Widget * > list_mnemonic_labels()
virtual ~Widget()
Widget * get_ancestor(GType widget_type)
void drag_dest_add_text_targets()
Glib::SignalProxy1< void, Allocation & > signal_size_allocate()
Glib::SignalProxy1< bool, GdkEventClient * > signal_client_event()
virtual void on_state_changed(Gtk::StateType previous_state)
This is a default handler for the signal signal_state_changed().
Glib::SignalProxy1< bool, GdkEventVisibility * > signal_visibility_notify_event()
Glib::PropertyProxy< Glib::ustring > property_name()
Glib::SignalProxy0< void > signal_grab_focus()
static void push_composite_child()
void drag_source_add_uri_targets()
bool activate()
void add_mnemonic_label(Widget &label)
static Glib::RefPtr< Gdk::Visual > get_default_visual()
Glib::PropertyProxy_ReadOnly< Gdk::ExtensionMode > property_extension_events() const
Glib::RefPtr< const RcStyle > get_modifier_style() const
Glib::PropertyProxy_ReadOnly< bool > property_no_show_all() const
void set_events(Gdk::EventMask events)
virtual void on_realize()
This is a default handler for the signal signal_realize().
Glib::SignalProxy2< void, const SelectionData &, guint > signal_selection_received()
Glib::SignalProxy0< void > signal_show()
bool get_app_paintable() const
void modify_cursor(const Gdk::Color &primary, const Gdk::Color &secondary)
Glib::SignalProxy0< void > signal_composited_changed()
bool has_grab() const
void drag_get_data(const Glib::RefPtr< Gdk::DragContext > &context, Glib::ustring &target, guint32 time)
void modify_base(StateType state, const Gdk::Color &color)
Glib::SignalProxy1< void, GdkEvent * > signal_event_after()
Gdk::EventMask get_events() const
Glib::RefPtr< Gdk::Pixmap > get_snapshot(Gdk::Rectangle &clip_rect) const
virtual void on_drag_data_delete(const Glib::RefPtr< Gdk::DragContext > &context)
This is a default handler for the signal signal_drag_data_delete().
void error_bell()
Glib::SignalProxy4< bool, const Glib::RefPtr< Gdk::DragContext > &, int, int, guint > signal_drag_motion()
void set_colormap(const Glib::RefPtr< const Gdk::Colormap > &colormap)
bool get_receives_default() const
void drag_dest_set(DestDefaults flags=DestDefaults(0), Gdk::DragAction actions=Gdk::DragAction(0))
void drag_get_data(const Glib::RefPtr< Gdk::DragContext > &context, const Glib::ustring &target, guint32 time)
void style_attach()
Glib::PropertyProxy_ReadOnly< bool > property_can_default() const
void drag_highlight()
virtual void on_drag_end(const Glib::RefPtr< Gdk::DragContext > &context)
This is a default handler for the signal signal_drag_end().
Glib::RefPtr< Gdk::Visual > get_visual()
void queue_resize()
void drag_dest_set(const ArrayHandle_TargetEntry &targets, DestDefaults flags=DEST_DEFAULT_ALL, Gdk::DragAction actions=Gdk::ACTION_COPY)
Glib::RefPtr< Gdk::DragContext > drag_begin(const Glib::RefPtr< TargetList > &targets, Gdk::DragAction actions, int button, GdkEvent *event)
bool get_is_toplevel() const
void class_path(Glib::ustring &path, Glib::ustring &path_reversed)
TextDirection get_direction()
Glib::PropertyProxy< int > property_width_request()
static void pop_composite_child()
Glib::RefPtr< const Gdk::Display > get_display() const
Glib::SignalProxy1< void, TextDirection > signal_direction_changed()
Glib::SignalProxy1< bool, GdkEventExpose * > signal_damage_event()
virtual bool on_selection_notify_event(GdkEventSelection *event)
This is a default handler for the signal signal_selection_notify_event().
bool is_mapped() const
Container * get_parent()
bool event(GdkEvent *event)
Definition: Window.h:41
DragAction
Definition: dragcontext.h:68
ExtensionMode
Definition: event.h:128
DragProtocol
Definition: dragcontext.h:131
@ ACTION_COPY
Definition: dragcontext.h:70
WidgetFlags & operator|=(WidgetFlags &lhs, WidgetFlags rhs)
CellRendererState & operator|=(CellRendererState &lhs, CellRendererState rhs)
Definition: cellrenderer.h:86
WidgetFlags & operator&=(WidgetFlags &lhs, WidgetFlags rhs)
WidgetFlags operator~(WidgetFlags flags)
CellRendererState operator&(CellRendererState lhs, CellRendererState rhs)
Definition: cellrenderer.h:74
CellRendererState operator^(CellRendererState lhs, CellRendererState rhs)
Definition: cellrenderer.h:78
WidgetFlags & operator^=(WidgetFlags &lhs, WidgetFlags rhs)
CellRendererState operator~(CellRendererState flags)
Definition: cellrenderer.h:82
WidgetFlags operator^(WidgetFlags lhs, WidgetFlags rhs)
CellRendererState & operator&=(CellRendererState &lhs, CellRendererState rhs)
Definition: cellrenderer.h:90
WidgetFlags operator|(WidgetFlags lhs, WidgetFlags rhs)
CellRendererState operator|(CellRendererState lhs, CellRendererState rhs)
Definition: cellrenderer.h:70
CellRendererState & operator^=(CellRendererState &lhs, CellRendererState rhs)
Definition: cellrenderer.h:94
WidgetFlags operator&(WidgetFlags lhs, WidgetFlags rhs)
GtkImageIconNameData name
Definition: gtkimage.h:6
GtkImagePixmapData pixmap
Definition: gtkimage.h:0
GtkImagePixbufData pixbuf
Definition: gtkimage.h:2
PBD::PropertyDescriptor< uint32_t > color
PBD::PropertyDescriptor< bool > region
Definition: ardour_ui.h:188
GtkRequisition Requisition
Glib::ArrayHandle< TargetEntry, TargetEntry_Traits > ArrayHandle_TargetEntry
Definition: targetentry.h:91
Gdk::Rectangle Allocation
Transmitter info
link region and track selection
Definition: lobject.h:100
gint height
Definition: xcursors.h:1
gint width
Definition: xcursors.h:1