logo top
Main Page   Widgets   Namespaces   Book  

Gtk::Widget Class Reference

Abstract Widget (Base class for all widgets). More...

Inheritance diagram for Gtk::Widget:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~Widget ()
GtkWidget* gobj ()
 Provides access to the underlying C GtkObject.

const GtkWidget* gobj () const
 Provides access to the underlying C GtkObject.

bool set_scroll_adjustments (Adjustment& hadjustment, Adjustment& vadjustment)
void show ()
void show_now ()
void hide ()
void show_all ()
void hide_all ()
void queue_draw ()
void queue_draw_area (int x, int y, int width, int height)
void queue_resize ()
void size_request (GtkRequisition* requisition)
void size_allocate (GtkAllocation* allocation)
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 remove_accelerator (const Glib::RefPtr<AccelGroup>& accel_group, guint accel_key, Gdk::ModifierType accel_mods)
void set_accel_path (const Glib::ustring& accel_path, const Glib::RefPtr<AccelGroup>& accel_group)
bool mnemonic_activate (bool group_cycling)
bool event (GdkEvent* event)
int send_expose (GdkEvent* event)
bool activate ()
void reparent (Widget& newparent)
bool intersect (const Gdk::Rectangle& area) const
bool intersect (const Gdk::Rectangle& area, Gdk::Rectangle& intersection) const
GdkRegionregion_intersect (GdkRegion* region)
void freeze_child_notify ()
void child_notify (const Glib::ustring& child_property)
void thaw_child_notify ()
bool is_focus () const
void grab_focus ()
void grab_default ()
void add_modal_grab ()
 Block events to everything else than this widget and its children.

void remove_modal_grab ()
 Remove the modal grab of the widget in case it was previously grabbed.

void set_name (const Glib::ustring& name)
void unset_name ()
Glib::ustring get_name () const
void set_state (Gtk::StateType state)
void set_sensitive (bool sensitive=true)
void set_app_paintable (bool app_paintable=true)
void set_double_buffered (bool double_buffered=true)
void set_redraw_on_allocate (bool redraw_on_allocate=true)
void set_child_visible (bool is_visible=true)
bool get_child_visible () const
Containerget_parent ()
const Containerget_parent () const
Glib::RefPtr<Gdk::Windowget_parent_window ()
Glib::RefPtr<const Gdk::Windowget_parent_window () const
void set_parent_window (const Glib::RefPtr<const Gdk::Window>& parent_window)
bool child_focus (DirectionType direction)
void set_size_request (int width=-1, int height=-1)
void get_size_request (int& width, int& height) const
void set_events (Gdk::EventMask events)
void add_events (Gdk::EventMask events)
void set_extension_events (Gdk::ExtensionMode mode)
Gdk::ExtensionMode get_extension_events () const
Containerget_toplevel ()
const Containerget_toplevel () const
Widgetget_ancestor (GType type)
const Widgetget_ancestor (GType type) const
Glib::RefPtr<Gdk::Colormapget_colormap ()
Glib::RefPtr<Gdk::Visualget_visual ()
Glib::RefPtr<Gdk::Screenget_screen ()
Glib::RefPtr<const Gdk::Screenget_screen () const
bool has_screen () const
Glib::RefPtr<Gdk::Displayget_display ()
Glib::RefPtr<const Gdk::Displayget_display () const
Glib::RefPtr<Gdk::Windowget_root_window ()
Glib::RefPtr<const Gdk::Windowget_root_window () const
Glib::RefPtr<Settingsget_settings ()
Glib::RefPtr<Clipboardget_clipboard (GdkAtom selection)
Glib::RefPtr<const Clipboardget_clipboard (GdkAtom selection) const
Glib::RefPtr<Atk::Objectget_accessible ()
void set_colormap (const Glib::RefPtr<const Gdk::Colormap>& colormap)
Gdk::EventMask get_events () const
void get_pointer (int& x, int& y) const
bool is_ancestor (Widget& widget) const
bool translate_coordinates (Widget& dest_widget, int rc_x, int src_y, int& dest_x, int& dest_y)
void set_style (const Glib::RefPtr<Style>& style)
void ensure_style ()
Glib::RefPtr<Styleget_style ()
Glib::RefPtr<const Styleget_style () const
void modify_style (const Glib::RefPtr<RcStyle>& style)
Glib::RefPtr<RcStyleget_modifier_style ()
Glib::RefPtr<const RcStyleget_modifier_style () const
void modify_fg (StateType state, const Gdk::Color& color)
 Sets the foreground color for a widget in a particular state.

void modify_bg (StateType state, const Gdk::Color& color)
 Sets the background color for a widget in a particular state.

void modify_bg_pixmap (StateType state, const Glib::ustring& pixmap_name)
void modify_text (StateType state, const Gdk::Color& color)
 Sets the text color for a widget in a particular state.

void modify_base (StateType state, const Gdk::Color& color)
 Sets the base color for a widget in a particular state.

void modify_font (const Pango::FontDescription& font_desc)
 Sets the font to use for a widget.

void unset_fg (StateType state)
 Undo the effect of previous calls to modify_fg() for a particular state.

void unset_bg (StateType state)
 Undo the effect of previous calls to modify_bg() for a particular state.

void unset_text (StateType state)
 Undo the effect of previous calls to modify_text() for a particular state.

void unset_base (StateType state)
 Undo the effect of previous calls to modify_base() for a particular state.

void unset_font ()
 Undo the effect of previous calls to modify_font() for a particular state.

template <class PropertyType> void get_style_property (const Glib::ustring& the_property_name, PropertyType& value) const
Glib::RefPtr<Pango::Contextcreate_pango_context ()
Glib::RefPtr<Pango::Contextget_pango_context ()
Glib::RefPtr<Pango::Layoutcreate_pango_layout (const Glib::ustring& text)
Glib::RefPtr<Gdk::Pixbufrender_icon (const StockID& stock_id, IconSize size, const Glib::ustring& detail=Glib::ustring())
void set_composite_name (const Glib::ustring& name)
void unset_composite_name ()
Glib::ustring get_composite_name () const
void reset_rc_styles ()
void set_direction (TextDirection dir)
TextDirection get_direction ()
void shape_combine_mask (const Glib::RefPtr<const Gdk::Bitmap>& shape_mask, int offset_x, int offset_y)
void reset_shapes ()
void path (Glib::ustring& path, Glib::ustring& path_reversed)
 Compute a widget's path of the form "GtkWindow.MyLabel".

void class_path (Glib::ustring& path, Glib::ustring& path_reversed)
void drag_get_data (const Glib::RefPtr<Gdk::DragContext>& context, GdkAtom target, guint32 time)
void drag_highlight ()
void drag_unhighlight ()
void drag_dest_set (DestDefaults flags=DestDefaults(0), Gdk::DragAction actions=Gdk::DragAction(0))
void drag_dest_set (const ArrayHandle_TargetEntry& targets, DestDefaults flags=DEST_DEFAULT_ALL, Gdk::DragAction actions=Gdk::ACTION_COPY)
void drag_dest_set_proxy (const Glib::RefPtr<Gdk::Window>& proxy_window, Gdk::DragProtocol protocol, bool use_coordinates)
void drag_dest_unset ()
GdkAtom drag_dest_find_target (const Glib::RefPtr<Gdk::DragContext>& context, GtkTargetList* target_list)
GtkTargetList* drag_dest_get_target_list ()
void drag_dest_set_target_list (GtkTargetList* target_list)
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_unset ()
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_set_icon (const Glib::RefPtr<Gdk::Pixbuf>& pixbuf)
void drag_source_set_icon (const StockID& stock_id)
Glib::RefPtr<Gdk::DragContextdrag_begin (GtkTargetList* targets, Gdk::DragAction actions, gint button, GdkEvent* event)
bool drag_check_threshold (int start_x, int start_y, int current_x, int current_y)
void drag_set_as_icon (const Glib::RefPtr<Gdk::DragContext>& context, int hot_x, int hot_y)
bool is_toplevel () const
bool has_no_window () const
bool is_realized () const
bool is_mapped () const
bool is_visible () const
bool is_drawable () const
bool sensitive () const
bool parent_sensitive () const
bool is_sensitive () const
bool can_focus () const
bool has_focus () const
bool can_default () const
bool has_default () const
bool has_grab () const
bool rc_style () const
bool is_composite_child () const
bool app_paintable () const
bool receives_default () const
bool double_buffered () const
WidgetFlags get_flags () const
void set_flags (WidgetFlags flags)
void unset_flags (WidgetFlags flags)
int get_width () const
int get_height () const
Gtk::StateType get_state () const
Gtk::StateType get_saved_state () const
GtkRequisition get_requisition () const
GtkAllocation get_allocation () const
Glib::RefPtr<Gdk::Windowget_window ()
Glib::RefPtr<const Gdk::Windowget_window () const
Glib::SignalProxy0<void> signal_show ()
Glib::SignalProxy0<void> signal_hide ()
Glib::SignalProxy0<void> signal_map ()
Glib::SignalProxy0<void> signal_unmap ()
Glib::SignalProxy0<void> signal_realize ()
Glib::SignalProxy0<void> signal_unrealize ()
Glib::SignalProxy1< void,
GtkRequisition* > 
signal_size_request ()
Glib::SignalProxy1< void,
GtkAllocation* > 
signal_size_allocate ()
Glib::SignalProxy1< void,
Gtk::StateType
signal_state_changed ()
Glib::SignalProxy1< void,
Widget* > 
signal_parent_changed ()
Glib::SignalProxy1< void,
Widget* > 
signal_hierarchy_changed ()
Glib::SignalProxy1< void,
const Glib::RefPtr<Style >&> 
signal_style_changed ()
Glib::SignalProxy1< void,
TextDirection
signal_direction_changed ()
Glib::SignalProxy1< void,
bool > 
signal_grab_notify ()
Glib::SignalProxy1< void,
GParamSpec* > 
signal_child_notify ()
Glib::SignalProxy1< bool,
bool > 
signal_mnemonic_activate ()
Glib::SignalProxy0<void> signal_grab_focus ()
Glib::SignalProxy1< bool,
DirectionType
signal_focus ()
Glib::SignalProxy1< bool,
GdkEvent* > 
signal_event ()
Glib::SignalProxy1< bool,
GdkEventButton* > 
signal_button_press_event ()
Glib::SignalProxy1< bool,
GdkEventButton* > 
signal_button_release_event ()
Glib::SignalProxy1< bool,
GdkEventScroll* > 
signal_scroll_event ()
Glib::SignalProxy1< bool,
GdkEventMotion* > 
signal_motion_notify_event ()
Glib::SignalProxy1< bool,
GdkEventAny* > 
signal_delete_event ()
Glib::SignalProxy1< bool,
GdkEventExpose* > 
signal_expose_event ()
Glib::SignalProxy1< bool,
GdkEventKey* > 
signal_key_press_event ()
Glib::SignalProxy1< bool,
GdkEventKey* > 
signal_key_release_event ()
Glib::SignalProxy1< bool,
GdkEventCrossing* > 
signal_enter_notify_event ()
Glib::SignalProxy1< bool,
GdkEventCrossing* > 
signal_leave_notify_event ()
Glib::SignalProxy1< bool,
GdkEventConfigure* > 
signal_configure_event ()
Glib::SignalProxy1< bool,
GdkEventFocus* > 
signal_focus_in_event ()
Glib::SignalProxy1< bool,
GdkEventFocus* > 
signal_focus_out_event ()
Glib::SignalProxy1< bool,
GdkEventAny* > 
signal_map_event ()
Glib::SignalProxy1< bool,
GdkEventAny* > 
signal_unmap_event ()
Glib::SignalProxy1< bool,
GdkEventProperty* > 
signal_property_notify_event ()
Glib::SignalProxy1< bool,
GdkEventSelection* > 
signal_selection_clear_event ()
Glib::SignalProxy1< bool,
GdkEventSelection* > 
signal_selection_request_event ()
Glib::SignalProxy1< bool,
GdkEventSelection* > 
signal_selection_notify_event ()
Glib::SignalProxy1< bool,
GdkEventProximity* > 
signal_proximity_in_event ()
Glib::SignalProxy1< bool,
GdkEventProximity* > 
signal_proximity_out_event ()
Glib::SignalProxy1< bool,
GdkEventVisibility* > 
signal_visibility_notify_event ()
Glib::SignalProxy1< bool,
GdkEventClient* > 
signal_client_event ()
Glib::SignalProxy1< bool,
GdkEventAny* > 
signal_no_expose_event ()
Glib::SignalProxy1< bool,
GdkEventWindowState* > 
signal_window_state_event ()
Glib::SignalProxy3< void,
GtkSelectionData *, guint,
guint > 
signal_selection_get ()
Glib::SignalProxy2< void,
const SelectionData&, guint > 
signal_selection_received ()
Glib::SignalProxy1< void,
const Glib::RefPtr<Gdk::DragContext >&> 
signal_drag_begin ()
Glib::SignalProxy1< void,
const Glib::RefPtr<Gdk::DragContext >&> 
signal_drag_end ()
Glib::SignalProxy4< void,
const Glib::RefPtr<Gdk::DragContext>&,
GtkSelectionData *, guint,
guint > 
signal_drag_data_get ()
Glib::SignalProxy1< void,
const Glib::RefPtr<Gdk::DragContext >&> 
signal_drag_data_delete ()
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::SignalProxy4< bool,
const Glib::RefPtr<Gdk::DragContext>&,
int, int, guint > 
signal_drag_drop ()
Glib::SignalProxy6< void,
const Glib::RefPtr<Gdk::DragContext>&,
int, int, const SelectionData&,
guint, guint > 
signal_drag_data_received ()
Glib::PropertyProxy<Glib::ustring> property_name ()
Glib::PropertyProxy<Container*> property_parent ()
Glib::PropertyProxy<int> property_width_request ()
Glib::PropertyProxy<int> property_height_request ()
Glib::PropertyProxy<bool> property_visible ()
Glib::PropertyProxy<bool> property_sensitive ()
Glib::PropertyProxy<bool> property_app_paintable ()
Glib::PropertyProxy<bool> property_can_focus ()
Glib::PropertyProxy<bool> property_has_focus ()
Glib::PropertyProxy<bool> property_can_default ()
Glib::PropertyProxy<bool> property_has_default ()
Glib::PropertyProxy<bool> property_receives_default ()
Glib::PropertyProxy_ReadOnly<
bool > 
property_composite_child ()
Glib::PropertyProxy< Glib::RefPtr<
Style > > 
property_style ()
Glib::PropertyProxy<Gdk::EventMaskproperty_events ()
Glib::PropertyProxy<Gdk::ExtensionModeproperty_extension_events ()

Static Public Member Functions

Widgetget_current_modal_grab ()
 Retrieve the widget which is currently grabbing all events.

void push_colormap (const Glib::RefPtr<const Gdk::Colormap>& cmap)
void pop_colormap ()
void push_composite_child ()
void pop_composite_child ()
void set_default_colormap (const Glib::RefPtr<const Gdk::Colormap>& colormap)
Glib::RefPtr<Styleget_default_style ()
Glib::RefPtr<Gdk::Colormapget_default_colormap ()
Glib::RefPtr<Gdk::Visualget_default_visual ()
void set_default_direction (TextDirection dir)
TextDirection get_default_direction ()
Widgetdrag_get_source_widget (const Glib::RefPtr<Gdk::DragContext>& context)

Protected Member Functions

virtual void dispatch_child_properties_changed_vfunc (guint p1, GParamSpec** p2)
virtual void show_all_vfunc ()
virtual void hide_all_vfunc ()
virtual Glib::RefPtr<Atk::Objectget_accessible_vfunc ()
virtual void on_show ()
virtual void on_hide ()
virtual void on_map ()
virtual void on_unmap ()
virtual void on_realize ()
virtual void on_unrealize ()
virtual void on_size_request (GtkRequisition* requisition)
virtual void on_size_allocate (GtkAllocation* allocation)
virtual void on_state_changed (Gtk::StateType previous_state)
virtual void on_parent_changed (Widget* previous_parent)
virtual void on_hierarchy_changed (Widget* previous_toplevel)
virtual void on_style_changed (const Glib::RefPtr<Style>& previous_style)
virtual void on_direction_changed (TextDirection direction)
virtual void on_grab_notify (bool was_grabbed)
virtual void on_child_notify (GParamSpec* pspec)
virtual bool on_mnemonic_activate (bool group_cycling)
virtual void on_grab_focus ()
virtual bool on_focus (DirectionType direction)
virtual bool on_event (GdkEvent* event)
virtual bool on_button_press_event (GdkEventButton* event)
virtual bool on_button_release_event (GdkEventButton* event)
virtual bool on_scroll_event (GdkEventScroll* event)
virtual bool on_motion_notify_event (GdkEventMotion* event)
virtual bool on_delete_event (GdkEventAny* event)
virtual bool on_expose_event (GdkEventExpose* event)
virtual bool on_key_press_event (GdkEventKey* event)
virtual bool on_key_release_event (GdkEventKey* event)
virtual bool on_enter_notify_event (GdkEventCrossing* event)
virtual bool on_leave_notify_event (GdkEventCrossing* event)
virtual bool on_configure_event (GdkEventConfigure* event)
virtual bool on_focus_in_event (GdkEventFocus* event)
virtual bool on_focus_out_event (GdkEventFocus* event)
virtual bool on_map_event (GdkEventAny* event)
virtual bool on_unmap_event (GdkEventAny* event)
virtual bool on_property_notify_event (GdkEventProperty* event)
virtual bool on_selection_clear_event (GdkEventSelection* event)
virtual bool on_selection_request_event (GdkEventSelection* event)
virtual bool on_selection_notify_event (GdkEventSelection* event)
virtual bool on_proximity_in_event (GdkEventProximity* event)
virtual bool on_proximity_out_event (GdkEventProximity* event)
virtual bool on_visibility_notify_event (GdkEventVisibility* event)
virtual bool on_client_event (GdkEventClient* event)
virtual bool on_no_expose_event (GdkEventAny* event)
virtual bool on_window_state_event (GdkEventWindowState* event)
virtual void on_selection_get (GtkSelectionData* selection_data, guint info, guint time)
virtual void on_selection_received (const SelectionData& selection_data, guint time)
virtual void on_drag_begin (const Glib::RefPtr<Gdk::DragContext>& context)
virtual void on_drag_end (const Glib::RefPtr<Gdk::DragContext>& context)
virtual void on_drag_data_get (const Glib::RefPtr<Gdk::DragContext>& context, GtkSelectionData* selection_data, guint info, guint time)
virtual void on_drag_data_delete (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_drag_drop (const Glib::RefPtr<Gdk::DragContext>& context, int x, int y, 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)
 Widget ()
void map ()
void unmap ()
void realize ()
void unrealize ()
void set_parent (Widget& parent)
void unparent ()
void get_child_requisition (GtkRequisition* requisition)
void get_style_property_value (const Glib::ustring& the_property_name, Glib::ValueBase& value) const
void realize_if_needed ()
void set_allocation (const GtkAllocation& value)
void set_window (const Glib::RefPtr<Gdk::Window>& value)

Friends

class Main

Related Functions

(Note that these are not member functions.)

Gtk::Widgetwrap (GtkWidget* object, bool take_copy=false)

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 set_events().

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.


Constructor & Destructor Documentation

virtual Gtk::Widget::~Widget (  )  [virtual]
 

Gtk::Widget::Widget (  )  [protected]
 


Member Function Documentation

bool Gtk::Widget::activate (  ) 
 

Reimplemented in Gtk::MenuItem.

void Gtk::Widget::add_accelerator ( const Glib::ustring&  accel_signal,
const Glib::RefPtr<AccelGroup>&  accel_group,
guint  accel_key,
Gdk::ModifierType  accel_mods,
AccelFlags  accel_flags
 

void Gtk::Widget::add_events ( Gdk::EventMask  events  ) 
 

void Gtk::Widget::add_modal_grab (  ) 
 

Block events to everything else than this widget and its children.

This way you can get modal behaviour (usually not recommended). One practical example could be when implementing a key-binding widget that needs exclusive access to the key combination that the user presses next.

Calls to add_modal_grab should be paired with calls to remove_modal_grab.

bool Gtk::Widget::app_paintable (  )  const
 

bool Gtk::Widget::can_default (  )  const
 

bool Gtk::Widget::can_focus (  )  const
 

bool Gtk::Widget::child_focus ( DirectionType  direction  ) 
 

void Gtk::Widget::child_notify ( const Glib::ustring&  child_property  ) 
 

void Gtk::Widget::class_path ( Glib::ustring&  path,
Glib::ustring&  path_reversed
 

Glib::RefPtr<Pango::Context> Gtk::Widget::create_pango_context (  ) 
 

Glib::RefPtr<Pango::Layout> Gtk::Widget::create_pango_layout ( const Glib::ustring&  text  ) 
 

virtual void Gtk::Widget::dispatch_child_properties_changed_vfunc ( guint  p1,
GParamSpec **  p2
[protected, virtual]
 

bool Gtk::Widget::double_buffered (  )  const
 

Glib::RefPtr<Gdk::DragContext> Gtk::Widget::drag_begin ( GtkTargetList*  targets,
Gdk::DragAction  actions,
gint  button,
GdkEvent*  event
 

bool Gtk::Widget::drag_check_threshold ( int  start_x,
int  start_y,
int  current_x,
int  current_y
 

GdkAtom Gtk::Widget::drag_dest_find_target ( const Glib::RefPtr<Gdk::DragContext>&  context,
GtkTargetList*  target_list
 

GtkTargetList* Gtk::Widget::drag_dest_get_target_list (  ) 
 

void Gtk::Widget::drag_dest_set ( const ArrayHandle_TargetEntry targets,
DestDefaults  flags = DEST_DEFAULT_ALL,
Gdk::DragAction  actions = Gdk::ACTION_COPY
 

void Gtk::Widget::drag_dest_set ( DestDefaults  flags = DestDefaults(0),
Gdk::DragAction  actions = Gdk::DragAction(0)
 

void Gtk::Widget::drag_dest_set_proxy ( const Glib::RefPtr<Gdk::Window>&  proxy_window,
Gdk::DragProtocol  protocol,
bool  use_coordinates
 

void Gtk::Widget::drag_dest_set_target_list ( GtkTargetList*  target_list  ) 
 

void Gtk::Widget::drag_dest_unset (  ) 
 

void Gtk::Widget::drag_get_data ( const Glib::RefPtr<Gdk::DragContext>&  context,
GdkAtom  target,
guint32  time
 

Widget* Gtk::Widget::drag_get_source_widget ( const Glib::RefPtr<Gdk::DragContext>&  context  )  [static]
 

void Gtk::Widget::drag_highlight (  ) 
 

void Gtk::Widget::drag_set_as_icon ( const Glib::RefPtr<Gdk::DragContext>&  context,
int  hot_x,
int  hot_y
 

void Gtk::Widget::drag_source_set ( const ArrayHandle_TargetEntry targets,
Gdk::ModifierType  start_button_mask = Gdk::MODIFIER_MASK,
Gdk::DragAction  actions = Gdk::ACTION_COPY
 

void Gtk::Widget::drag_source_set_icon ( const StockID stock_id  ) 
 

void Gtk::Widget::drag_source_set_icon ( const Glib::RefPtr<Gdk::Pixbuf>&  pixbuf  ) 
 

void Gtk::Widget::drag_source_set_icon ( const Glib::RefPtr<Gdk::Colormap>&  colormap,
const Glib::RefPtr<Gdk::Pixmap>&  pixmap,
const Glib::RefPtr<Gdk::Bitmap>&  mask
 

void Gtk::Widget::drag_source_unset (  ) 
 

void Gtk::Widget::drag_unhighlight (  ) 
 

void Gtk::Widget::ensure_style (  ) 
 

bool Gtk::Widget::event ( GdkEvent*  event  ) 
 

void Gtk::Widget::freeze_child_notify (  ) 
 

Glib::RefPtr<Atk::Object> Gtk::Widget::get_accessible (  ) 
 

virtual Glib::RefPtr<Atk::Object> Gtk::Widget::get_accessible_vfunc (  )  [protected, virtual]
 

GtkAllocation Gtk::Widget::get_allocation (  )  const
 

const Widget* Gtk::Widget::get_ancestor ( GType  type  )  const
 

Widget* Gtk::Widget::get_ancestor ( GType  type  ) 
 

void Gtk::Widget::get_child_requisition ( GtkRequisition*  requisition  )  [protected]
 

bool Gtk::Widget::get_child_visible (  )  const
 

Glib::RefPtr<const Clipboard> Gtk::Widget::get_clipboard ( GdkAtom  selection  )  const
 

Glib::RefPtr<Clipboard> Gtk::Widget::get_clipboard ( GdkAtom  selection  ) 
 

Glib::RefPtr<Gdk::Colormap> Gtk::Widget::get_colormap (  ) 
 

Glib::ustring Gtk::Widget::get_composite_name (  )  const
 

Widget* Gtk::Widget::get_current_modal_grab (  )  [static]
 

Retrieve the widget which is currently grabbing all events.

Glib::RefPtr<Gdk::Colormap> Gtk::Widget::get_default_colormap (  )  [static]
 

TextDirection Gtk::Widget::get_default_direction (  )  [static]
 

Glib::RefPtr<Style> Gtk::Widget::get_default_style (  )  [static]
 

Glib::RefPtr<Gdk::Visual> Gtk::Widget::get_default_visual (  )  [static]
 

TextDirection Gtk::Widget::get_direction (  ) 
 

Glib::RefPtr<const Gdk::Display> Gtk::Widget::get_display (  )  const
 

Glib::RefPtr<Gdk::Display> Gtk::Widget::get_display (  ) 
 

Gdk::EventMask Gtk::Widget::get_events (  )  const
 

Gdk::ExtensionMode Gtk::Widget::get_extension_events (  )  const
 

WidgetFlags Gtk::Widget::get_flags (  )  const
 

int Gtk::Widget::get_height (  )  const
 

Glib::RefPtr<const RcStyle> Gtk::Widget::get_modifier_style (  )  const
 

Glib::RefPtr<RcStyle> Gtk::Widget::get_modifier_style (  ) 
 

Glib::ustring Gtk::Widget::get_name (  )  const
 

Glib::RefPtr<Pango::Context> Gtk::Widget::get_pango_context (  ) 
 

const Container* Gtk::Widget::get_parent (  )  const
 

Container* Gtk::Widget::get_parent (  ) 
 

Glib::RefPtr<const Gdk::Window> Gtk::Widget::get_parent_window (  )  const
 

Glib::RefPtr<Gdk::Window> Gtk::Widget::get_parent_window (  ) 
 

void Gtk::Widget::get_pointer ( int&  x,
int&  y
const
 

GtkRequisition Gtk::Widget::get_requisition (  )  const
 

Glib::RefPtr<const Gdk::Window> Gtk::Widget::get_root_window (  )  const
 

Glib::RefPtr<Gdk::Window> Gtk::Widget::get_root_window (  ) 
 

Gtk::StateType Gtk::Widget::get_saved_state (  )  const
 

Glib::RefPtr<const Gdk::Screen> Gtk::Widget::get_screen (  )  const
 

Reimplemented in Gtk::Invisible, and Gtk::Window.

Glib::RefPtr<Gdk::Screen> Gtk::Widget::get_screen (  ) 
 

Reimplemented in Gtk::Invisible, and Gtk::Window.

Glib::RefPtr<Settings> Gtk::Widget::get_settings (  ) 
 

void Gtk::Widget::get_size_request ( int&  width,
int&  height
const
 

Gtk::StateType Gtk::Widget::get_state (  )  const
 

Glib::RefPtr<const Style> Gtk::Widget::get_style (  )  const
 

Glib::RefPtr<Style> Gtk::Widget::get_style (  ) 
 

template <class PropertyType>
void Gtk::Widget::get_style_property ( const Glib::ustring&  the_property_name,
PropertyType&  value
const
 

void Gtk::Widget::get_style_property_value ( const Glib::ustring&  the_property_name,
Glib::ValueBase&  value
const [protected]
 

const Container* Gtk::Widget::get_toplevel (  )  const
 

Container* Gtk::Widget::get_toplevel (  ) 
 

Glib::RefPtr<Gdk::Visual> Gtk::Widget::get_visual (  ) 
 

int Gtk::Widget::get_width (  )  const
 

Glib::RefPtr<const Gdk::Window> Gtk::Widget::get_window (  )  const
 

Glib::RefPtr<Gdk::Window> Gtk::Widget::get_window (  ) 
 

const GtkWidget* Gtk::Widget::gobj (  )  const [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Object.

Reimplemented in Gtk::AccelLabel, Gtk::Alignment, Gtk::Arrow, Gtk::AspectFrame, Gtk::Bin, Gtk::Box, Gtk::VBox, Gtk::HBox, Gtk::Button, Gtk::ButtonBox, Gtk::VButtonBox, Gtk::HButtonBox, Gtk::Calendar, Gtk::CheckButton, Gtk::CheckMenuItem, Gtk::ColorSelection, Gtk::ColorSelectionDialog, Gtk::ComboDropDownItem, Gtk::ComboDropDown, Gtk::Combo, Gtk::Container, Gtk::Curve, Gtk::GammaCurve, Gtk::Dialog, Gtk::DrawingArea, Gtk::Entry, Gtk::EventBox, Gtk::FileSelection, Gtk::Fixed, Gtk::FontSelection, Gtk::FontSelectionDialog, Gtk::Frame, Gtk::HandleBox, Gtk::Image, Gtk::ImageMenuItem, Gtk::InputDialog, Gtk::Invisible, Gtk::Item, Gtk::Label, Gtk::Layout, Gtk::Menu, Gtk::MenuBar, Gtk::MenuItem, Gtk::MenuShell, Gtk::MessageDialog, Gtk::Misc, Gtk::Notebook, Gtk::OptionMenu, Gtk::Paned, Gtk::HPaned, Gtk::VPaned, Gtk::Plug, Gtk::ProgressBar, Gtk::RadioButton, Gtk::RadioMenuItem, Gtk::Range, Gtk::Ruler, Gtk::VRuler, Gtk::HRuler, Gtk::Scale, Gtk::VScale, Gtk::HScale, Gtk::Scrollbar, Gtk::VScrollbar, Gtk::HScrollbar, Gtk::ScrolledWindow, Gtk::Separator, Gtk::VSeparator, Gtk::HSeparator, Gtk::SeparatorMenuItem, Gtk::Socket, Gtk::SpinButton, Gtk::Statusbar, Gtk::Table, Gtk::TearoffMenuItem, Gtk::TextView, Gtk::ToggleButton, Gtk::Toolbar, Gtk::TreeView, Gtk::Viewport, and Gtk::Window.

GtkWidget* Gtk::Widget::gobj (  )  [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Object.

Reimplemented in Gtk::AccelLabel, Gtk::Alignment, Gtk::Arrow, Gtk::AspectFrame, Gtk::Bin, Gtk::Box, Gtk::VBox, Gtk::HBox, Gtk::Button, Gtk::ButtonBox, Gtk::VButtonBox, Gtk::HButtonBox, Gtk::Calendar, Gtk::CheckButton, Gtk::CheckMenuItem, Gtk::ColorSelection, Gtk::ColorSelectionDialog, Gtk::ComboDropDownItem, Gtk::ComboDropDown, Gtk::Combo, Gtk::Container, Gtk::Curve, Gtk::GammaCurve, Gtk::Dialog, Gtk::DrawingArea, Gtk::Entry, Gtk::EventBox, Gtk::FileSelection, Gtk::Fixed, Gtk::FontSelection, Gtk::FontSelectionDialog, Gtk::Frame, Gtk::HandleBox, Gtk::Image, Gtk::ImageMenuItem, Gtk::InputDialog, Gtk::Invisible, Gtk::Item, Gtk::Label, Gtk::Layout, Gtk::Menu, Gtk::MenuBar, Gtk::MenuItem, Gtk::MenuShell, Gtk::MessageDialog, Gtk::Misc, Gtk::Notebook, Gtk::OptionMenu, Gtk::Paned, Gtk::HPaned, Gtk::VPaned, Gtk::Plug, Gtk::ProgressBar, Gtk::RadioButton, Gtk::RadioMenuItem, Gtk::Range, Gtk::Ruler, Gtk::VRuler, Gtk::HRuler, Gtk::Scale, Gtk::VScale, Gtk::HScale, Gtk::Scrollbar, Gtk::VScrollbar, Gtk::HScrollbar, Gtk::ScrolledWindow, Gtk::Separator, Gtk::VSeparator, Gtk::HSeparator, Gtk::SeparatorMenuItem, Gtk::Socket, Gtk::SpinButton, Gtk::Statusbar, Gtk::Table, Gtk::TearoffMenuItem, Gtk::TextView, Gtk::ToggleButton, Gtk::Toolbar, Gtk::TreeView, Gtk::Viewport, and Gtk::Window.

void Gtk::Widget::grab_default (  ) 
 

void Gtk::Widget::grab_focus (  ) 
 

bool Gtk::Widget::has_default (  )  const
 

bool Gtk::Widget::has_focus (  )  const
 

bool Gtk::Widget::has_grab (  )  const
 

bool Gtk::Widget::has_no_window (  )  const
 

bool Gtk::Widget::has_screen (  )  const
 

void Gtk::Widget::hide (  ) 
 

void Gtk::Widget::hide_all (  ) 
 

virtual void Gtk::Widget::hide_all_vfunc (  )  [protected, virtual]
 

bool Gtk::Widget::intersect ( const Gdk::Rectangle area,
Gdk::Rectangle intersection
const
 

bool Gtk::Widget::intersect ( const Gdk::Rectangle area  )  const
 

bool Gtk::Widget::is_ancestor ( Widget widget  )  const
 

bool Gtk::Widget::is_composite_child (  )  const
 

bool Gtk::Widget::is_drawable (  )  const
 

bool Gtk::Widget::is_focus (  )  const
 

bool Gtk::Widget::is_mapped (  )  const
 

bool Gtk::Widget::is_realized (  )  const
 

bool Gtk::Widget::is_sensitive (  )  const
 

bool Gtk::Widget::is_toplevel (  )  const
 

Reimplemented in Gtk::Window.

bool Gtk::Widget::is_visible (  )  const
 

void Gtk::Widget::map (  )  [protected]
 

bool Gtk::Widget::mnemonic_activate ( bool  group_cycling  ) 
 

void Gtk::Widget::modify_base ( StateType  state,
const Gdk::Color color
 

Sets the base color for a widget in a particular state.

All other style values are left untouched. The base color is the background color used along with the text color (see modify_text() ) for widgets such as Gtk::Entry and Gtk::TextView. See also modify_style() and unset_base().

Parameters:
state The state for which to set the text color.
color The color to assign (does not need to be allocated).

void Gtk::Widget::modify_bg ( StateType  state,
const Gdk::Color color
 

Sets the background color for a widget in a particular state.

All other style values are left untouched. See also modify_style() and unset_bg().

Parameters:
state The state for which to set the background color.
color The color to assign (does not need to be allocated).

void Gtk::Widget::modify_bg_pixmap ( StateType  state,
const Glib::ustring&  pixmap_name
 

void Gtk::Widget::modify_fg ( StateType  state,
const Gdk::Color color
 

Sets the foreground color for a widget in a particular state.

All other style values are left untouched. See also modify_style() and unset_fg().

Parameters:
state The state for which to set the foreground color.
color The color to assign (does not need to be allocated).

void Gtk::Widget::modify_font ( const Pango::FontDescription font_desc  ) 
 

Sets the font to use for a widget.

All other style values are left untouched. See also modify_style() and unset_font().

void Gtk::Widget::modify_style ( const Glib::RefPtr<RcStyle>&  style  ) 
 

void Gtk::Widget::modify_text ( StateType  state,
const Gdk::Color color
 

Sets the text color for a widget in a particular state.

All other style values are left untouched. The text color is the foreground color used along with the base color (see modify_base() ) for widgets such as Gtk::Entry and Gtk::TextView. See also modify_style() and unset_text().

Parameters:
state The state for which to set the text color.
color The color to assign (does not need to be allocated).

virtual bool Gtk::Widget::on_button_press_event ( GdkEventButton*  event  )  [protected, virtual]
 

virtual bool Gtk::Widget::on_button_release_event ( GdkEventButton*  event  )  [protected, virtual]
 

virtual void Gtk::Widget::on_child_notify ( GParamSpec*  pspec  )  [protected, virtual]
 

virtual bool Gtk::Widget::on_client_event ( GdkEventClient*  event  )  [protected, virtual]
 

virtual bool Gtk::Widget::on_configure_event ( GdkEventConfigure*  event  )  [protected, virtual]
 

virtual bool Gtk::Widget::on_delete_event ( GdkEventAny*  event  )  [protected, virtual]
 

virtual void Gtk::Widget::on_direction_changed ( TextDirection  direction  )  [protected, virtual]
 

virtual void Gtk::Widget::on_drag_begin ( const Glib::RefPtr<Gdk::DragContext>&  context  )  [protected, virtual]
 

virtual void Gtk::Widget::on_drag_data_delete ( const Glib::RefPtr<Gdk::DragContext>&  context  )  [protected, virtual]
 

virtual void Gtk::Widget::on_drag_data_get ( const Glib::RefPtr<Gdk::DragContext>&  context,
GtkSelectionData*  selection_data,
guint  info,
guint  time
[protected, virtual]
 

virtual void Gtk::Widget::on_drag_data_received ( const Glib::RefPtr<Gdk::DragContext>&  context,
int  x,
int  y,
const SelectionData selection_data,
guint  info,
guint  time
[protected, virtual]
 

virtual bool Gtk::Widget::on_drag_drop ( const Glib::RefPtr<Gdk::DragContext>&  context,
int  x,
int  y,
guint  time
[protected, virtual]
 

virtual void Gtk::Widget::on_drag_end ( const Glib::RefPtr<Gdk::DragContext>&  context  )  [protected, virtual]
 

virtual void Gtk::Widget::on_drag_leave ( const Glib::RefPtr<Gdk::DragContext>&  context,
guint  time
[protected, virtual]
 

virtual bool Gtk::Widget::on_drag_motion ( const Glib::RefPtr<Gdk::DragContext>&  context,
int  x,
int  y,
guint  time
[protected, virtual]
 

virtual bool Gtk::Widget::on_enter_notify_event ( GdkEventCrossing*  event  )  [protected, virtual]
 

virtual bool Gtk::Widget::on_event ( GdkEvent*  event  )  [protected, virtual]
 

virtual bool Gtk::Widget::on_expose_event ( GdkEventExpose*  event  )  [protected, virtual]
 

virtual bool Gtk::Widget::on_focus ( DirectionType  direction  )  [protected, virtual]
 

virtual bool Gtk::Widget::on_focus_in_event ( GdkEventFocus*  event  )  [protected, virtual]
 

virtual bool Gtk::Widget::on_focus_out_event ( GdkEventFocus*  event  )  [protected, virtual]
 

virtual void Gtk::Widget::on_grab_focus (  )  [protected, virtual]
 

virtual void Gtk::Widget::on_grab_notify ( bool  was_grabbed  )  [protected, virtual]
 

virtual void Gtk::Widget::on_hide (  )  [protected, virtual]
 

virtual void Gtk::Widget::on_hierarchy_changed ( Widget previous_toplevel  )  [protected, virtual]
 

virtual bool Gtk::Widget::on_key_press_event ( GdkEventKey*  event  )  [protected, virtual]
 

virtual bool Gtk::Widget::on_key_release_event ( GdkEventKey*  event  )  [protected, virtual]
 

virtual bool Gtk::Widget::on_leave_notify_event ( GdkEventCrossing*  event  )  [protected, virtual]
 

virtual void Gtk::Widget::on_map (  )  [protected, virtual]
 

virtual bool Gtk::Widget::on_map_event ( GdkEventAny*  event  )  [protected, virtual]
 

virtual bool Gtk::Widget::on_mnemonic_activate ( bool  group_cycling  )  [protected, virtual]
 

virtual bool Gtk::Widget::on_motion_notify_event ( GdkEventMotion*  event  )  [protected, virtual]
 

virtual bool Gtk::Widget::on_no_expose_event ( GdkEventAny*  event  )  [protected, virtual]
 

virtual void Gtk::Widget::on_parent_changed ( Widget previous_parent  )  [protected, virtual]
 

virtual bool Gtk::Widget::on_property_notify_event ( GdkEventProperty*  event  )  [protected, virtual]
 

virtual bool Gtk::Widget::on_proximity_in_event ( GdkEventProximity*  event  )  [protected, virtual]
 

virtual bool Gtk::Widget::on_proximity_out_event ( GdkEventProximity*  event  )  [protected, virtual]
 

virtual void Gtk::Widget::on_realize (  )  [protected, virtual]
 

virtual bool Gtk::Widget::on_scroll_event ( GdkEventScroll*  event  )  [protected, virtual]
 

virtual bool Gtk::Widget::on_selection_clear_event ( GdkEventSelection*  event  )  [protected, virtual]
 

virtual void Gtk::Widget::on_selection_get ( GtkSelectionData*  selection_data,
guint  info,
guint  time
[protected, virtual]
 

virtual bool Gtk::Widget::on_selection_notify_event ( GdkEventSelection*  event  )  [protected, virtual]
 

virtual void Gtk::Widget::on_selection_received ( const SelectionData selection_data,
guint  time
[protected, virtual]
 

virtual bool Gtk::Widget::on_selection_request_event ( GdkEventSelection*  event  )  [protected, virtual]
 

virtual void Gtk::Widget::on_show (  )  [protected, virtual]
 

virtual void Gtk::Widget::on_size_allocate ( GtkAllocation*  allocation  )  [protected, virtual]
 

virtual void Gtk::Widget::on_size_request ( GtkRequisition*  requisition  )  [protected, virtual]
 

virtual void Gtk::Widget::on_state_changed ( Gtk::StateType  previous_state  )  [protected, virtual]
 

virtual void Gtk::Widget::on_style_changed ( const Glib::RefPtr<Style>&  previous_style  )  [protected, virtual]
 

virtual void Gtk::Widget::on_unmap (  )  [protected, virtual]
 

virtual bool Gtk::Widget::on_unmap_event ( GdkEventAny*  event  )  [protected, virtual]
 

virtual void Gtk::Widget::on_unrealize (  )  [protected, virtual]
 

virtual bool Gtk::Widget::on_visibility_notify_event ( GdkEventVisibility*  event  )  [protected, virtual]
 

virtual bool Gtk::Widget::on_window_state_event ( GdkEventWindowState*  event  )  [protected, virtual]
 

bool Gtk::Widget::parent_sensitive (  )  const
 

void Gtk::Widget::path ( Glib::ustring&  path,
Glib::ustring&  path_reversed
 

Compute a widget's path of the form "GtkWindow.MyLabel".

void Gtk::Widget::pop_colormap (  )  [static]
 

void Gtk::Widget::pop_composite_child (  )  [static]
 

Glib::PropertyProxy<bool> Gtk::Widget::property_app_paintable (  ) 
 

Glib::PropertyProxy<bool> Gtk::Widget::property_can_default (  ) 
 

Glib::PropertyProxy<bool> Gtk::Widget::property_can_focus (  ) 
 

Glib::PropertyProxy_ReadOnly<bool> Gtk::Widget::property_composite_child (  ) 
 

Glib::PropertyProxy<Gdk::EventMask> Gtk::Widget::property_events (  ) 
 

Glib::PropertyProxy<Gdk::ExtensionMode> Gtk::Widget::property_extension_events (  ) 
 

Glib::PropertyProxy<bool> Gtk::Widget::property_has_default (  ) 
 

Glib::PropertyProxy<bool> Gtk::Widget::property_has_focus (  ) 
 

Glib::PropertyProxy<int> Gtk::Widget::property_height_request (  ) 
 

Glib::PropertyProxy<Glib::ustring> Gtk::Widget::property_name (  ) 
 

Glib::PropertyProxy<Container*> Gtk::Widget::property_parent (  ) 
 

Glib::PropertyProxy<bool> Gtk::Widget::property_receives_default (  ) 
 

Glib::PropertyProxy<bool> Gtk::Widget::property_sensitive (  ) 
 

Glib::PropertyProxy<Glib::RefPtr<Style>> Gtk::Widget::property_style (  ) 
 

Glib::PropertyProxy<bool> Gtk::Widget::property_visible (  ) 
 

Glib::PropertyProxy<int> Gtk::Widget::property_width_request (  ) 
 

void Gtk::Widget::push_colormap ( const Glib::RefPtr<const Gdk::Colormap>&  cmap  )  [static]
 

void Gtk::Widget::push_composite_child (  )  [static]
 

void Gtk::Widget::queue_draw (  ) 
 

void Gtk::Widget::queue_draw_area ( int  x,
int  y,
int  width,
int  height
 

void Gtk::Widget::queue_resize (  ) 
 

bool Gtk::Widget::rc_style (  )  const
 

void Gtk::Widget::realize (  )  [protected]
 

void Gtk::Widget::realize_if_needed (  )  [protected]
 

bool Gtk::Widget::receives_default (  )  const
 

GdkRegion* Gtk::Widget::region_intersect ( GdkRegion region  ) 
 

bool Gtk::Widget::remove_accelerator ( const Glib::RefPtr<AccelGroup>&  accel_group,
guint  accel_key,
Gdk::ModifierType  accel_mods
 

void Gtk::Widget::remove_modal_grab (  ) 
 

Remove the modal grab of the widget in case it was previously grabbed.

Glib::RefPtr<Gdk::Pixbuf> Gtk::Widget::render_icon ( const StockID stock_id,
IconSize  size,
const Glib::ustring&  detail = Glib::ustring()
 

void Gtk::Widget::reparent ( Widget newparent  ) 
 

void Gtk::Widget::reset_rc_styles (  ) 
 

void Gtk::Widget::reset_shapes (  ) 
 

int Gtk::Widget::send_expose ( GdkEvent*  event  ) 
 

bool Gtk::Widget::sensitive (  )  const
 

void Gtk::Widget::set_accel_path ( const Glib::ustring&  accel_path,
const Glib::RefPtr<AccelGroup>&  accel_group
 

void Gtk::Widget::set_allocation ( const GtkAllocation&  value  )  [protected]
 

void Gtk::Widget::set_app_paintable ( bool  app_paintable = true  ) 
 

void Gtk::Widget::set_child_visible ( bool  is_visible = true  ) 
 

void Gtk::Widget::set_colormap ( const Glib::RefPtr<const Gdk::Colormap>&  colormap  ) 
 

void Gtk::Widget::set_composite_name ( const Glib::ustring&  name  ) 
 

void Gtk::Widget::set_default_colormap ( const Glib::RefPtr<const Gdk::Colormap>&  colormap  )  [static]
 

void Gtk::Widget::set_default_direction ( TextDirection  dir  )  [static]
 

void Gtk::Widget::set_direction ( TextDirection  dir  ) 
 

void Gtk::Widget::set_double_buffered ( bool  double_buffered = true  ) 
 

void Gtk::Widget::set_events ( Gdk::EventMask  events  ) 
 

void Gtk::Widget::set_extension_events ( Gdk::ExtensionMode  mode  ) 
 

void Gtk::Widget::set_flags ( WidgetFlags  flags  ) 
 

void Gtk::Widget::set_name ( const Glib::ustring&  name  ) 
 

void Gtk::Widget::set_parent ( Widget parent  )  [protected]
 

void Gtk::Widget::set_parent_window ( const Glib::RefPtr<const Gdk::Window>&  parent_window  ) 
 

void Gtk::Widget::set_redraw_on_allocate ( bool  redraw_on_allocate = true  ) 
 

bool Gtk::Widget::set_scroll_adjustments ( Adjustment hadjustment,
Adjustment vadjustment
 

void Gtk::Widget::set_sensitive ( bool  sensitive = true  ) 
 

void Gtk::Widget::set_size_request ( int  width = -1,
int  height = -1
 

void Gtk::Widget::set_state ( Gtk::StateType  state  ) 
 

void Gtk::Widget::set_style ( const Glib::RefPtr<Style>&  style  ) 
 

void Gtk::Widget::set_window ( const Glib::RefPtr<Gdk::Window>&  value  )  [protected]
 

void Gtk::Widget::shape_combine_mask ( const Glib::RefPtr<const Gdk::Bitmap>&  shape_mask,
int  offset_x,
int  offset_y
 

void Gtk::Widget::show (  ) 
 

void Gtk::Widget::show_all (  ) 
 

virtual void Gtk::Widget::show_all_vfunc (  )  [protected, virtual]
 

void Gtk::Widget::show_now (  ) 
 

Glib::SignalProxy1<bool,GdkEventButton*> Gtk::Widget::signal_button_press_event (  ) 
 

Prototype:
bool button_press_event(GdkEventButton* event)

Glib::SignalProxy1<bool,GdkEventButton*> Gtk::Widget::signal_button_release_event (  ) 
 

Prototype:
bool button_release_event(GdkEventButton* event)

Glib::SignalProxy1<void,GParamSpec*> Gtk::Widget::signal_child_notify (  ) 
 

Prototype:
void child_notify(GParamSpec* pspec)

Glib::SignalProxy1<bool,GdkEventClient*> Gtk::Widget::signal_client_event (  ) 
 

Prototype:
bool client_event(GdkEventClient* event)

Glib::SignalProxy1<bool,GdkEventConfigure*> Gtk::Widget::signal_configure_event (  ) 
 

Prototype:
bool configure_event(GdkEventConfigure* event)

Glib::SignalProxy1<bool,GdkEventAny*> Gtk::Widget::signal_delete_event (  ) 
 

Prototype:
bool delete_event(GdkEventAny* event)

Glib::SignalProxy1<void,TextDirection> Gtk::Widget::signal_direction_changed (  ) 
 

Prototype:
void direction_changed(TextDirection direction)

Glib::SignalProxy1<void,const Glib::RefPtr<Gdk::DragContext>&> Gtk::Widget::signal_drag_begin (  ) 
 

Prototype:
void drag_begin(const Glib::RefPtr<Gdk::DragContext>& context)

Glib::SignalProxy1<void,const Glib::RefPtr<Gdk::DragContext>&> Gtk::Widget::signal_drag_data_delete (  ) 
 

Prototype:
void drag_data_delete(const Glib::RefPtr<Gdk::DragContext>& context)

Glib::SignalProxy4<void,const Glib::RefPtr<Gdk::DragContext>&,GtkSelectionData*,guint,guint> Gtk::Widget::signal_drag_data_get (  ) 
 

Prototype:
void drag_data_get(const Glib::RefPtr<Gdk::DragContext>& context, GtkSelectionData* selection_data, guint info, guint time)

Glib::SignalProxy6<void,const Glib::RefPtr<Gdk::DragContext>&,int,int,const SelectionData&,guint,guint> Gtk::Widget::signal_drag_data_received (  ) 
 

Prototype:
void drag_data_received(const Glib::RefPtr<Gdk::DragContext>& context, int x, int y, const SelectionData& selection_data, guint info, guint time)

Glib::SignalProxy4<bool,const Glib::RefPtr<Gdk::DragContext>&,int,int,guint> Gtk::Widget::signal_drag_drop (  ) 
 

Prototype:
bool drag_drop(const Glib::RefPtr<Gdk::DragContext>& context, int x, int y, guint time)

Glib::SignalProxy1<void,const Glib::RefPtr<Gdk::DragContext>&> Gtk::Widget::signal_drag_end (  ) 
 

Prototype:
void drag_end(const Glib::RefPtr<Gdk::DragContext>& context)

Glib::SignalProxy2<void,const Glib::RefPtr<Gdk::DragContext>&,guint> Gtk::Widget::signal_drag_leave (  ) 
 

Prototype:
void drag_leave(const Glib::RefPtr<Gdk::DragContext>& context, guint time)

Glib::SignalProxy4<bool,const Glib::RefPtr<Gdk::DragContext>&,int,int,guint> Gtk::Widget::signal_drag_motion (  ) 
 

Prototype:
bool drag_motion(const Glib::RefPtr<Gdk::DragContext>& context, int x, int y, guint time)

Glib::SignalProxy1<bool,GdkEventCrossing*> Gtk::Widget::signal_enter_notify_event (  ) 
 

Prototype:
bool enter_notify_event(GdkEventCrossing* event)

Glib::SignalProxy1<bool,GdkEvent*> Gtk::Widget::signal_event (  ) 
 

Prototype:
bool event(GdkEvent* event)

Glib::SignalProxy1<bool,GdkEventExpose*> Gtk::Widget::signal_expose_event (  ) 
 

Prototype:
bool expose_event(GdkEventExpose* event)

Glib::SignalProxy1<bool,DirectionType> Gtk::Widget::signal_focus (  ) 
 

Prototype:
bool focus(DirectionType direction)

Glib::SignalProxy1<bool,GdkEventFocus*> Gtk::Widget::signal_focus_in_event (  ) 
 

Prototype:
bool focus_in_event(GdkEventFocus* event)

Glib::SignalProxy1<bool,GdkEventFocus*> Gtk::Widget::signal_focus_out_event (  ) 
 

Prototype:
bool focus_out_event(GdkEventFocus* event)

Glib::SignalProxy0<void> Gtk::Widget::signal_grab_focus (  ) 
 

Prototype:
void grab_focus()

Glib::SignalProxy1<void,bool> Gtk::Widget::signal_grab_notify (  ) 
 

Prototype:
void grab_notify(bool was_grabbed)

Glib::SignalProxy0<void> Gtk::Widget::signal_hide (  ) 
 

Prototype:
void hide()

Glib::SignalProxy1<void,Widget*> Gtk::Widget::signal_hierarchy_changed (  ) 
 

Prototype:
void hierarchy_changed(Widget* previous_toplevel)

Glib::SignalProxy1<bool,GdkEventKey*> Gtk::Widget::signal_key_press_event (  ) 
 

Prototype:
bool key_press_event(GdkEventKey* event)

Glib::SignalProxy1<bool,GdkEventKey*> Gtk::Widget::signal_key_release_event (  ) 
 

Prototype:
bool key_release_event(GdkEventKey* event)

Glib::SignalProxy1<bool,GdkEventCrossing*> Gtk::Widget::signal_leave_notify_event (  ) 
 

Prototype:
bool leave_notify_event(GdkEventCrossing* event)

Glib::SignalProxy0<void> Gtk::Widget::signal_map (  ) 
 

Prototype:
void map()

Glib::SignalProxy1<bool,GdkEventAny*> Gtk::Widget::signal_map_event (  ) 
 

Prototype:
bool map_event(GdkEventAny* event)

Glib::SignalProxy1<bool,bool> Gtk::Widget::signal_mnemonic_activate (  ) 
 

Prototype:
bool mnemonic_activate(bool group_cycling)

Glib::SignalProxy1<bool,GdkEventMotion*> Gtk::Widget::signal_motion_notify_event (  ) 
 

Prototype:
bool motion_notify_event(GdkEventMotion* event)

Glib::SignalProxy1<bool,GdkEventAny*> Gtk::Widget::signal_no_expose_event (  ) 
 

Prototype:
bool no_expose_event(GdkEventAny* event)

Glib::SignalProxy1<void,Widget*> Gtk::Widget::signal_parent_changed (  ) 
 

Prototype:
void parent_changed(Widget* previous_parent)

Glib::SignalProxy1<bool,GdkEventProperty*> Gtk::Widget::signal_property_notify_event (  ) 
 

Prototype:
bool property_notify_event(GdkEventProperty* event)

Glib::SignalProxy1<bool,GdkEventProximity*> Gtk::Widget::signal_proximity_in_event (  ) 
 

Prototype:
bool proximity_in_event(GdkEventProximity* event)

Glib::SignalProxy1<bool,GdkEventProximity*> Gtk::Widget::signal_proximity_out_event (  ) 
 

Prototype:
bool proximity_out_event(GdkEventProximity* event)

Glib::SignalProxy0<void> Gtk::Widget::signal_realize (  ) 
 

Prototype:
void realize()

Glib::SignalProxy1<bool,GdkEventScroll*> Gtk::Widget::signal_scroll_event (  ) 
 

Prototype:
bool scroll_event(GdkEventScroll* event)

Glib::SignalProxy1<bool,GdkEventSelection*> Gtk::Widget::signal_selection_clear_event (  ) 
 

Prototype:
bool selection_clear_event(GdkEventSelection* event)

Glib::SignalProxy3<void,GtkSelectionData*,guint,guint> Gtk::Widget::signal_selection_get (  ) 
 

Prototype:
void selection_get(GtkSelectionData* selection_data, guint info, guint time)

Glib::SignalProxy1<bool,GdkEventSelection*> Gtk::Widget::signal_selection_notify_event (  ) 
 

Prototype:
bool selection_notify_event(GdkEventSelection* event)

Glib::SignalProxy2<void,const SelectionData&,guint> Gtk::Widget::signal_selection_received (  ) 
 

Prototype:
void selection_received(const SelectionData& selection_data, guint time)

Glib::SignalProxy1<bool,GdkEventSelection*> Gtk::Widget::signal_selection_request_event (  ) 
 

Prototype:
bool selection_request_event(GdkEventSelection* event)

Glib::SignalProxy0<void> Gtk::Widget::signal_show (  ) 
 

Prototype:
void show()

Glib::SignalProxy1<void,GtkAllocation*> Gtk::Widget::signal_size_allocate (  ) 
 

Prototype:
void size_allocate(GtkAllocation* allocation)

Glib::SignalProxy1<void,GtkRequisition*> Gtk::Widget::signal_size_request (  ) 
 

Prototype:
void size_request(GtkRequisition* requisition)

Glib::SignalProxy1<void,Gtk::StateType> Gtk::Widget::signal_state_changed (  ) 
 

Prototype:
void state_changed(Gtk::StateType previous_state)

Glib::SignalProxy1<void,const Glib::RefPtr<Style>&> Gtk::Widget::signal_style_changed (  ) 
 

Prototype:
void style_changed(const Glib::RefPtr<Style>& previous_style)

Glib::SignalProxy0<void> Gtk::Widget::signal_unmap (  ) 
 

Prototype:
void unmap()

Glib::SignalProxy1<bool,GdkEventAny*> Gtk::Widget::signal_unmap_event (  ) 
 

Prototype:
bool unmap_event(GdkEventAny* event)

Glib::SignalProxy0<void> Gtk::Widget::signal_unrealize (  ) 
 

Prototype:
void unrealize()

Glib::SignalProxy1<bool,GdkEventVisibility*> Gtk::Widget::signal_visibility_notify_event (  ) 
 

Prototype:
bool visibility_notify_event(GdkEventVisibility* event)

Glib::SignalProxy1<bool,GdkEventWindowState*> Gtk::Widget::signal_window_state_event (  ) 
 

Prototype:
bool window_state_event(GdkEventWindowState* event)

void Gtk::Widget::size_allocate ( GtkAllocation*  allocation  ) 
 

void Gtk::Widget::size_request ( GtkRequisition*  requisition  ) 
 

void Gtk::Widget::thaw_child_notify (  ) 
 

bool Gtk::Widget::translate_coordinates ( Widget dest_widget,
int  rc_x,
int  src_y,
int&  dest_x,
int&  dest_y
 

void Gtk::Widget::unmap (  )  [protected]
 

void Gtk::Widget::unparent (  )  [protected]
 

void Gtk::Widget::unrealize (  )  [protected]
 

void Gtk::Widget::unset_base ( StateType  state  ) 
 

Undo the effect of previous calls to modify_base() for a particular state.

All other style values are left untouched. See also modify_style().

void Gtk::Widget::unset_bg ( StateType  state  ) 
 

Undo the effect of previous calls to modify_bg() for a particular state.

All other style values are left untouched. See also modify_style().

void Gtk::Widget::unset_composite_name (  ) 
 

void Gtk::Widget::unset_fg ( StateType  state  ) 
 

Undo the effect of previous calls to modify_fg() for a particular state.

All other style values are left untouched. See also modify_style().

void Gtk::Widget::unset_flags ( WidgetFlags  flags  ) 
 

void Gtk::Widget::unset_font (  ) 
 

Undo the effect of previous calls to modify_font() for a particular state.

All other style values are left untouched. See also modify_style().

void Gtk::Widget::unset_name (  ) 
 

void Gtk::Widget::unset_text ( StateType  state  ) 
 

Undo the effect of previous calls to modify_text() for a particular state.

All other style values are left untouched. See also modify_style().


Friends And Related Function Documentation

friend class Main [friend]
 

Gtk::Widget* wrap ( GtkWidget*  object,
bool  take_copy = false
[related]
 


The documentation for this class was generated from the following file:
Generated for gtkmm2.2 by Doxygen 1.3.3 © 1997-2001