Logo Search packages:      
Sourcecode: ardour version File versions

Gtk::Widget Class Reference

#include <widget.h>

Inheritance diagram for Gtk::Widget:

sigc::trackable sigc::trackable Gtk::Calendar Gtk::CellView Gtk::Container Gtk::DrawingArea Gtk::Entry Gtk::Invisible Gtk::Misc Gtk::ProgressBar Gtk::Range Gtk::Ruler Gtk::Separator

List of all members.


Detailed Description

Abstract Widget (Base class for all widgets)

As the base class of all widgets this contains all of the properties and methods common to all widgets. It is an abstract class that can not be instantiated.

Important part of widgets are the *_event signals and virtual methods that every widget have. Those are events coming directly from gdk and thus also from XLib. By overriding those virtual methods you can trap everything a widget can ever do. In order to capture events from a widget, the event mask must first be set with ().

Only widgets with a Gdk::Window on the server side are allowed to capture events. Widgets in the Gtk::Misc group for example lack a Gdk::Window.

Definition at line 284 of file widget.h.


Public Types

typedef GtkWidgetClass BaseClassType
typedef GtkWidget BaseObjectType
typedef Widget_Class CppClassType
typedef Widget CppObjectType
typedef void(* DestroyNotify )(gpointer data)

Public Member Functions

bool _cpp_destruction_is_in_progress () const
bool activate ()
void add_accelerator (const Glib::ustring &accel_signal, const Glib::RefPtr< AccelGroup > &accel_group, guint accel_key, Gdk::ModifierType accel_mods, AccelFlags accel_flags)
void add_events (Gdk::EventMask events)
void add_mnemonic_label (Widget &label)
void add_modal_grab ()
bool app_paintable () const
bool can_default () const
bool can_focus () const
bool child_focus (DirectionType direction)
void child_notify (const Glib::ustring &child_property)
void class_path (Glib::ustring &path, Glib::ustring &path_reversed)
Glib::RefPtr< Pango::Contextcreate_pango_context ()
Glib::RefPtr< Pango::Layoutcreate_pango_layout (const Glib::ustring &text)
bool double_buffered () const
Glib::RefPtr< Gdk::DragContextdrag_begin (const Glib::RefPtr< TargetList > &targets, Gdk::DragAction actions, int button, GdkEvent *event)
bool drag_check_threshold (int start_x, int start_y, int current_x, int current_y)
void drag_dest_add_image_targets ()
void drag_dest_add_text_targets ()
void drag_dest_add_uri_targets ()
Glib::ustring drag_dest_find_target (const Glib::RefPtr< Gdk::DragContext > &context) const
Glib::ustring drag_dest_find_target (const Glib::RefPtr< Gdk::DragContext > &context, const Glib::RefPtr< TargetList > &target_list) const
Glib::RefPtr< const TargetList > drag_dest_get_target_list () const
Glib::RefPtr< TargetList > drag_dest_get_target_list ()
void drag_dest_set (const ArrayHandle_TargetEntry &targets, DestDefaults flags=DEST_DEFAULT_ALL, Gdk::DragAction actions=Gdk::ACTION_COPY)
void drag_dest_set (DestDefaults flags=DestDefaults(0), Gdk::DragAction actions=Gdk::DragAction(0))
void drag_dest_set_proxy (const Glib::RefPtr< Gdk::Window > &proxy_window, Gdk::DragProtocol protocol, bool use_coordinates)
void drag_dest_set_target_list (const Glib::RefPtr< TargetList > &target_list)
void drag_dest_unset ()
void drag_get_data (const Glib::RefPtr< Gdk::DragContext > &context, Glib::ustring &target, guint32 time)
void drag_highlight ()
void drag_set_as_icon (const Glib::RefPtr< Gdk::DragContext > &context, int hot_x, int hot_y)
void drag_source_add_image_targets ()
void drag_source_add_text_targets ()
void drag_source_add_uri_targets ()
void drag_source_set (const ArrayHandle_TargetEntry &targets, Gdk::ModifierType start_button_mask=Gdk::MODIFIER_MASK, Gdk::DragAction actions=Gdk::ACTION_COPY)
void drag_source_set_icon (const StockID &stock_id)
void drag_source_set_icon (const Glib::RefPtr< Gdk::Pixbuf > &pixbuf)
void drag_source_set_icon (const Glib::RefPtr< Gdk::Colormap > &colormap, const Glib::RefPtr< Gdk::Pixmap > &pixmap, const Glib::RefPtr< Gdk::Bitmap > &mask)
void drag_source_unset ()
void drag_unhighlight ()
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 ensure_style ()
bool event (GdkEvent *event)
void freeze_child_notify ()
Glib::RefPtr< Atk::Objectget_accessible ()
Allocation get_allocation () const
const Widgetget_ancestor (GType widget_type) const
Widgetget_ancestor (GType widget_type)
bool get_child_visible () const
Glib::RefPtr< const Clipboardget_clipboard (const Glib::ustring &selection) const
Glib::RefPtr< Clipboardget_clipboard (const Glib::ustring &selection)
Glib::RefPtr< Gdk::Colormapget_colormap ()
Glib::ustring get_composite_name () const
void * get_data (const QueryQuark &key)
TextDirection get_direction ()
Glib::RefPtr< const Gdk::Displayget_display () const
Glib::RefPtr< Gdk::Displayget_display ()
Gdk::EventMask get_events () const
Gdk::ExtensionMode get_extension_events () const
WidgetFlags get_flags () const
int get_height () const
Glib::RefPtr< const RcStyle > get_modifier_style () const
Glib::RefPtr< RcStyle > get_modifier_style ()
Glib::ustring get_name () const
bool get_no_show_all () const
Glib::RefPtr< Pango::Contextget_pango_context ()
const Containerget_parent () const
Containerget_parent ()
Glib::RefPtr< const Gdk::Windowget_parent_window () const
Glib::RefPtr< Gdk::Windowget_parent_window ()
void get_pointer (int &x, int &y) const
template<class PropertyType>
void get_property (const Glib::ustring &property_name, PropertyType &value) const
 You probably want to use a specific property_*() accessor method instead.
void get_property_value (const Glib::ustring &property_name, Glib::ValueBase &value) const
 You probably want to use a specific property_*() accessor method instead.
Requisition get_requisition () const
Glib::RefPtr< const Gdk::Windowget_root_window () const
Glib::RefPtr< Gdk::Windowget_root_window ()
Gtk::StateType get_saved_state () const
Glib::RefPtr< const Gdk::Screenget_screen () const
Glib::RefPtr< Gdk::Screenget_screen ()
Glib::RefPtr< Settings > get_settings ()
void get_size_request (int &width, int &height) const
Gtk::StateType get_state () const
Glib::RefPtr< const Style > get_style () const
Glib::RefPtr< Style > get_style ()
template<class PropertyType>
void get_style_property (const Glib::ustring &the_property_name, PropertyType &value) const
const Containerget_toplevel () const
Containerget_toplevel ()
Glib::RefPtr< Gdk::Visualget_visual ()
int get_width () const
Glib::RefPtr< const Gdk::Windowget_window () const
Glib::RefPtr< Gdk::Windowget_window ()
const GtkWidget * gobj () const
 Provides access to the underlying C GtkObject.
GtkWidget * gobj ()
 Provides access to the underlying C GtkObject.
GObject * gobj_copy () const
void grab_default ()
void grab_focus ()
bool has_default () const
bool has_focus () const
bool has_grab () const
bool has_no_window () const
bool has_screen () const
void hide ()
void hide_all ()
bool intersect (const Gdk::Rectangle &area, Gdk::Rectangle &intersection) const
bool intersect (const Gdk::Rectangle &area) const
bool is_ancestor (Widget &ancestor) const
bool is_composite_child () const
bool is_drawable () const
bool is_focus () const
bool is_managed_ () const
bool is_mapped () const
bool is_realized () const
bool is_sensitive () const
bool is_toplevel () const
bool is_visible () const
Glib::ListHandle< const Widget * > list_mnemonic_labels () const
Glib::ListHandle< Widget * > list_mnemonic_labels ()
bool mnemonic_activate (bool group_cycling)
void modify_base (StateType state, const Gdk::Color &color)
void modify_bg (StateType state, const Gdk::Color &color)
void modify_bg_pixmap (StateType state, const Glib::ustring &pixmap_name)
void modify_fg (StateType state, const Gdk::Color &color)
void modify_font (const Pango::FontDescription &font_desc)
void modify_style (const Glib::RefPtr< RcStyle > &style)
void modify_text (StateType state, const Gdk::Color &color)
bool parent_sensitive () const
void path (Glib::ustring &path, Glib::ustring &path_reversed)
 Compute a widget's path of the form "GtkWindow.MyLabel".
Glib::PropertyProxy_ReadOnly
< bool > 
property_app_paintable () const
Glib::PropertyProxy< bool > property_app_paintable ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_can_default () const
Glib::PropertyProxy< bool > property_can_default ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_can_focus () const
Glib::PropertyProxy< bool > property_can_focus ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_composite_child () const
Glib::PropertyProxy_ReadOnly
< Gdk::EventMask
property_events () const
Glib::PropertyProxy
< Gdk::EventMask
property_events ()
Glib::PropertyProxy_ReadOnly
< Gdk::ExtensionMode > 
property_extension_events () const
Glib::PropertyProxy
< Gdk::ExtensionMode > 
property_extension_events ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_has_default () const
Glib::PropertyProxy< bool > property_has_default ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_has_focus () const
Glib::PropertyProxy< bool > property_has_focus ()
Glib::PropertyProxy_ReadOnly< int > property_height_request () const
Glib::PropertyProxy< int > property_height_request ()
Glib::PropertyProxy_ReadOnly
< Glib::ustring
property_name () const
Glib::PropertyProxy
< Glib::ustring
property_name ()
Glib::PropertyProxy_ReadOnly
< Container * > 
property_parent () const
Glib::PropertyProxy< Container * > property_parent ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_receives_default () const
Glib::PropertyProxy< bool > property_receives_default ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_sensitive () const
Glib::PropertyProxy< bool > property_sensitive ()
Glib::PropertyProxy_ReadOnly
< Glib::RefPtr< Style > > 
property_style () const
Glib::PropertyProxy
< Glib::RefPtr< Style > > 
property_style ()
Glib::PropertyProxy_ReadOnly
< void * > 
property_user_data () const
Glib::PropertyProxy< void * > property_user_data ()
Glib::PropertyProxy_ReadOnly
< bool > 
property_visible () const
Glib::PropertyProxy< bool > property_visible ()
Glib::PropertyProxy_ReadOnly< int > property_width_request () const
Glib::PropertyProxy< int > property_width_request ()
void queue_draw ()
void queue_draw_area (int x, int y, int width, int height)
void queue_resize ()
void queue_resize_no_redraw ()
bool rc_style () const
bool receives_default () const
virtual void reference () const
Gdk::Region region_intersect (const Gdk::Region &region) const
bool remove_accelerator (const Glib::RefPtr< AccelGroup > &accel_group, guint accel_key, Gdk::ModifierType accel_mods)
void remove_data (const QueryQuark &quark)
void remove_mnemonic_label (Widget &label)
void remove_modal_grab ()
Glib::RefPtr< Gdk::Pixbuf > render_icon (const StockID &stock_id, IconSize size, const Glib::ustring &detail=Glib::ustring())
void reparent (Widget &new_parent)
void reset_rc_styles ()
void reset_shapes ()
int send_expose (GdkEvent *event)
bool sensitive () const
void set_accel_path (const Glib::ustring &accel_path, const Glib::RefPtr< AccelGroup > &accel_group)
void set_app_paintable (bool app_paintable=true)
void set_child_visible (bool is_visible=true)
void set_colormap (const Glib::RefPtr< const Gdk::Colormap > &colormap)
void set_composite_name (const Glib::ustring &name)
void set_data (const Quark &key, void *data, DestroyNotify notify)
void set_data (const Quark &key, void *data)
void set_direction (TextDirection dir)
void set_double_buffered (bool double_buffered=true)
void set_events (Gdk::EventMask events)
void set_extension_events (Gdk::ExtensionMode mode)
void set_flags (WidgetFlags flags)
virtual void set_manage ()
void set_name (const Glib::ustring &name)
void set_no_show_all (bool no_show_all=true)
void set_parent (Widget &parent)
void set_parent_window (const Glib::RefPtr< const Gdk::Window > &parent_window)
template<class PropertyType>
void set_property (const Glib::ustring &property_name, const PropertyType &value)
 You probably want to use a specific property_*() accessor method instead.
void set_property_value (const Glib::ustring &property_name, const Glib::ValueBase &value)
 You probably want to use a specific property_*() accessor method instead.
void set_redraw_on_allocate (bool redraw_on_allocate=true)
bool set_scroll_adjustments (Adjustment &hadjustment, Adjustment &vadjustment)
void set_sensitive (bool sensitive=true)
void set_size_request (int width=-1, int height=-1)
void set_state (Gtk::StateType state)
void set_style (const Glib::RefPtr< Style > &style)
void shape_combine_mask (const Glib::RefPtr< const Gdk::Bitmap > &shape_mask, int offset_x, int offset_y)
void show ()
void show_all ()
void show_now ()
Glib::SignalProxy1< bool,
GdkEventButton * > 
signal_button_press_event ()
Glib::SignalProxy1< bool,
GdkEventButton * > 
signal_button_release_event ()
Glib::SignalProxy1< void,
GParamSpec * > 
signal_child_notify ()
Glib::SignalProxy1< bool,
GdkEventClient * > 
signal_client_event ()
Glib::SignalProxy1< bool,
GdkEventConfigure * > 
signal_configure_event ()
Glib::SignalProxy1< bool,
GdkEventAny * > 
signal_delete_event ()
Glib::SignalProxy1< void,
TextDirection > 
signal_direction_changed ()
Glib::SignalProxy1< void,
const Glib::RefPtr
< Gdk::DragContext > & > 
signal_drag_begin ()
Glib::SignalProxy1< void,
const Glib::RefPtr
< Gdk::DragContext > & > 
signal_drag_data_delete ()
Glib::SignalProxy4< void,
const Glib::RefPtr
< Gdk::DragContext >
&, SelectionData &, guint,
guint > 
signal_drag_data_get ()
Glib::SignalProxy6< void,
const Glib::RefPtr
< Gdk::DragContext > &, int,
int, const SelectionData
&, guint, guint > 
signal_drag_data_received ()
Glib::SignalProxy4< bool,
const Glib::RefPtr
< Gdk::DragContext > &, int,
int, guint > 
signal_drag_drop ()
Glib::SignalProxy1< void,
const Glib::RefPtr
< Gdk::DragContext > & > 
signal_drag_end ()
Glib::SignalProxy2< void,
const Glib::RefPtr
< Gdk::DragContext > &, guint > 
signal_drag_leave ()
Glib::SignalProxy4< bool,
const Glib::RefPtr
< Gdk::DragContext > &, int,
int, guint > 
signal_drag_motion ()
Glib::SignalProxy1< bool,
GdkEventCrossing * > 
signal_enter_notify_event ()
Glib::SignalProxy1< bool,
GdkEvent * > 
signal_event ()
Glib::SignalProxy1< void,
GdkEvent * > 
signal_event_after ()
Glib::SignalProxy1< bool,
GdkEventExpose * > 
signal_expose_event ()
Glib::SignalProxy1< bool,
DirectionType > 
signal_focus ()
Glib::SignalProxy1< bool,
GdkEventFocus * > 
signal_focus_in_event ()
Glib::SignalProxy1< bool,
GdkEventFocus * > 
signal_focus_out_event ()
Glib::SignalProxy0
< Glib::RefPtr< Atk::Object > > 
signal_get_accessible ()
Glib::SignalProxy0< void > signal_grab_focus ()
Glib::SignalProxy1< void, bool > signal_grab_notify ()
Glib::SignalProxy0< void > signal_hide ()
Glib::SignalProxy1< void,
Widget * > 
signal_hierarchy_changed ()
Glib::SignalProxy1< bool,
GdkEventKey * > 
signal_key_press_event ()
Glib::SignalProxy1< bool,
GdkEventKey * > 
signal_key_release_event ()
Glib::SignalProxy1< bool,
GdkEventCrossing * > 
signal_leave_notify_event ()
Glib::SignalProxy0< void > signal_map ()
Glib::SignalProxy1< bool,
GdkEventAny * > 
signal_map_event ()
Glib::SignalProxy1< bool, bool > signal_mnemonic_activate ()
Glib::SignalProxy1< bool,
GdkEventMotion * > 
signal_motion_notify_event ()
Glib::SignalProxy1< bool,
GdkEventAny * > 
signal_no_expose_event ()
Glib::SignalProxy1< void,
Widget * > 
signal_parent_changed ()
Glib::SignalProxy1< bool,
GdkEventProperty * > 
signal_property_notify_event ()
Glib::SignalProxy1< bool,
GdkEventProximity * > 
signal_proximity_in_event ()
Glib::SignalProxy1< bool,
GdkEventProximity * > 
signal_proximity_out_event ()
Glib::SignalProxy0< void > signal_realize ()
Glib::SignalProxy1< void,
const Glib::RefPtr
< Gdk::Screen > & > 
signal_screen_changed ()
Glib::SignalProxy1< bool,
GdkEventScroll * > 
signal_scroll_event ()
Glib::SignalProxy1< bool,
GdkEventSelection * > 
signal_selection_clear_event ()
Glib::SignalProxy3< void,
SelectionData &, guint, guint > 
signal_selection_get ()
Glib::SignalProxy1< bool,
GdkEventSelection * > 
signal_selection_notify_event ()
Glib::SignalProxy2< void,
const SelectionData &, guint > 
signal_selection_received ()
Glib::SignalProxy1< bool,
GdkEventSelection * > 
signal_selection_request_event ()
Glib::SignalProxy0< void > signal_show ()
Glib::SignalProxy1< void,
Allocation & > 
signal_size_allocate ()
Glib::SignalProxy1< void,
Requisition * > 
signal_size_request ()
Glib::SignalProxy1< void,
Gtk::StateType > 
signal_state_changed ()
Glib::SignalProxy1< void,
const Glib::RefPtr< Style > & > 
signal_style_changed ()
Glib::SignalProxy0< void > signal_unmap ()
Glib::SignalProxy1< bool,
GdkEventAny * > 
signal_unmap_event ()
Glib::SignalProxy0< void > signal_unrealize ()
Glib::SignalProxy1< bool,
GdkEventVisibility * > 
signal_visibility_notify_event ()
Glib::SignalProxy1< bool,
GdkEventWindowState * > 
signal_window_state_event ()
void size_allocate (const Allocation &allocation)
void size_request (const Requisition &requisition)
Requisition size_request () const
void * steal_data (const QueryQuark &quark)
void thaw_child_notify ()
bool translate_coordinates (Widget &dest_widget, int src_x, int src_y, int &dest_x, int &dest_y)
void unparent ()
virtual void unreference () const
void unset_base (StateType state)
void unset_bg (StateType state)
void unset_composite_name ()
void unset_fg (StateType state)
void unset_flags (WidgetFlags flags)
void unset_font ()
void unset_name ()
void unset_shape_combine_mask ()
void unset_style ()
void unset_text (StateType state)

Static Public Member Functions

static ObjectBase * _get_current_wrapper (GObject *object)
static void add_interface (GType gtype_implementer)
static Widgetdrag_get_source_widget (const Glib::RefPtr< Gdk::DragContext > &context)
static GType get_base_type () G_GNUC_CONST
static Widgetget_current_modal_grab ()
static Glib::RefPtr
< Gdk::Colormap
get_default_colormap ()
static TextDirection get_default_direction ()
static Glib::RefPtr< Style > get_default_style ()
static Glib::RefPtr< Gdk::Visualget_default_visual ()
static GType get_type () G_GNUC_CONST
static void pop_colormap ()
static void pop_composite_child ()
static void push_colormap (const Glib::RefPtr< const Gdk::Colormap > &cmap)
static void push_composite_child ()
static void set_default_colormap (const Glib::RefPtr< const Gdk::Colormap > &colormap)
static void set_default_direction (TextDirection dir)

Protected Member Functions

void _destroy_c_instance ()
void _init_unmanage (bool is_toplevel=false)
void _set_current_wrapper (GObject *object)
void destroy_ ()
virtual void destroy_notify_ ()
void disconnect_cpp_wrapper ()
virtual void dispatch_child_properties_changed_vfunc (guint p1, GParamSpec **p2)
virtual Glib::RefPtr< Atk::Objectget_accessible_vfunc ()
void get_child_requisition (Requisition &requisition) const
void get_style_property_value (const Glib::ustring &the_property_name, Glib::ValueBase &value) const
virtual void hide_all_vfunc ()
void initialize (GObject *castitem)
bool is_anonymous_custom_ () const
bool is_derived_ () const
void map ()
virtual bool on_button_press_event (GdkEventButton *event)
virtual bool on_button_release_event (GdkEventButton *event)
virtual void on_child_notify (GParamSpec *pspec)
virtual bool on_client_event (GdkEventClient *event)
virtual bool on_configure_event (GdkEventConfigure *event)
virtual bool on_delete_event (GdkEventAny *event)
virtual void on_direction_changed (TextDirection direction)
virtual void on_drag_begin (const Glib::RefPtr< Gdk::DragContext > &context)
virtual void on_drag_data_delete (const Glib::RefPtr< Gdk::DragContext > &context)
virtual void on_drag_data_get (const Glib::RefPtr< Gdk::DragContext > &context, SelectionData &selection_data, guint info, guint time)
virtual void on_drag_data_received (const Glib::RefPtr< Gdk::DragContext > &context, int x, int y, const SelectionData &selection_data, guint info, guint time)
virtual bool on_drag_drop (const Glib::RefPtr< Gdk::DragContext > &context, int x, int y, guint time)
virtual void on_drag_end (const Glib::RefPtr< Gdk::DragContext > &context)
virtual void on_drag_leave (const Glib::RefPtr< Gdk::DragContext > &context, guint time)
virtual bool on_drag_motion (const Glib::RefPtr< Gdk::DragContext > &context, int x, int y, guint time)
virtual bool on_enter_notify_event (GdkEventCrossing *event)
virtual bool on_event (GdkEvent *event)
virtual bool on_expose_event (GdkEventExpose *event)
virtual bool on_focus (DirectionType direction)
virtual bool on_focus_in_event (GdkEventFocus *event)
virtual bool on_focus_out_event (GdkEventFocus *event)
virtual Glib::RefPtr< Atk::Objecton_get_accessible ()
virtual void on_grab_focus ()
virtual void on_grab_notify (bool was_grabbed)
virtual void on_hide ()
virtual void on_hierarchy_changed (Widget *previous_toplevel)
virtual bool on_key_press_event (GdkEventKey *event)
virtual bool on_key_release_event (GdkEventKey *event)
virtual bool on_leave_notify_event (GdkEventCrossing *event)
virtual void on_map ()
virtual bool on_map_event (GdkEventAny *event)
virtual bool on_mnemonic_activate (bool group_cycling)
virtual bool on_motion_notify_event (GdkEventMotion *event)
virtual bool on_no_expose_event (GdkEventAny *event)
virtual void on_parent_changed (Widget *previous_parent)
virtual bool on_property_notify_event (GdkEventProperty *event)
virtual bool on_proximity_in_event (GdkEventProximity *event)
virtual bool on_proximity_out_event (GdkEventProximity *event)
virtual void on_realize ()
virtual void on_screen_changed (const Glib::RefPtr< Gdk::Screen > &previous_screen)
virtual bool on_scroll_event (GdkEventScroll *event)
virtual bool on_selection_clear_event (GdkEventSelection *event)
virtual void on_selection_get (SelectionData &selection_data, guint info, guint time)
virtual bool on_selection_notify_event (GdkEventSelection *event)
virtual void on_selection_received (const SelectionData &selection_data, guint time)
virtual bool on_selection_request_event (GdkEventSelection *event)
virtual void on_show ()
virtual void on_size_allocate (Allocation &allocation)
virtual void on_size_request (Requisition *requisition)
virtual void on_state_changed (Gtk::StateType previous_state)
virtual void on_style_changed (const Glib::RefPtr< Style > &previous_style)
virtual void on_unmap ()
virtual bool on_unmap_event (GdkEventAny *event)
virtual void on_unrealize ()
virtual bool on_visibility_notify_event (GdkEventVisibility *event)
virtual bool on_window_state_event (GdkEventWindowState *event)
void realize ()
void realize_if_needed ()
virtual Glib::RefPtr< Object > ref_accessibile_vfunc ()
void set_allocation (const Allocation &value)
void set_window (const Glib::RefPtr< Gdk::Window > &value)
virtual void show_all_vfunc ()
void unmap ()
void unrealize ()
 Widget (GtkWidget *castitem)
 Widget (const Glib::ConstructParams &construct_params)

Static Protected Member Functions

static void callback_destroy_ (GObject *gobject, void *data)
static void destroy_notify_callback_ (void *data)

Protected Attributes

bool cpp_destruction_in_progress_
const char * custom_type_name_
GObject * gobject_
bool gobject_disposed_
bool referenced_

Package Functions

void add_destroy_notify_callback (void *data, func_destroy_notify func) const
void notify_callbacks ()
 Execute and remove all previously installed callbacks.
void remove_destroy_notify_callback (void *data) const

Package Attributes

 __pad0__:func_destroy_notify func_destroy_notify

Private Member Functions

Widgetoperator= (const Widget &)
 Widget (const Widget &)

Static Private Attributes

static CppClassType widget_class_

Friends

class Glib::GSigConnectionNode
class Glib::Object_Class
class Main
class Widget_Class

Related Functions

(Note that these are not member functions.)

Glib::RefPtr< Atk::Implementor > wrap (AtkImplementor *object, bool take_copy=false)
Glib::RefPtr< Glib::Object > wrap (GObject *object, bool take_copy=false)
Gtk::Object * wrap (GtkObject *object, bool take_copy=false)
Gtk::Widgetwrap (GtkWidget *object, bool take_copy=false)

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index