Logo Search packages:      
Sourcecode: ardour version File versions  Download package

Gtk::Window Class Reference

#include <window.h>

Inheritance diagram for Gtk::Window:

Gtk::Bin Gtk::Container Gtk::Widget sigc::trackable sigc::trackable Gtk::Dialog Gtk::AboutDialog Gtk::ColorSelectionDialog Gtk::FileChooserDialog Gtk::FileSelection Gtk::FontSelectionDialog Gtk::MessageDialog RegionEditor

List of all members.

Detailed Description

Toplevel Window This represents all widgets which are physical windows controlled by the window manager.

The window will be hidden when the window manager's close button is clicked. Override on_delete_event() to stop this.

Gtk::manage() has no effect on Windows because they have no parent Containers.

Definition at line 67 of file window.h.

Public Types

typedef GtkWindowClass BaseClassType
typedef GtkWindow BaseObjectType
typedef Window_Class CppClassType
typedef Window CppObjectType
typedef void(* DestroyNotify )(gpointer data)
typedef sigc::slot< void,
Widget & > 

Public Member Functions

bool _cpp_destruction_is_in_progress () const
bool activate ()
bool activate_default ()
bool activate_focus ()
virtual void add (Widget &widget)
void add_accel_group (const Glib::RefPtr< AccelGroup > &accel_group)
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_label (const Glib::ustring &label, bool mnemonic, AlignmentEnum x_align, AlignmentEnum y_align=ALIGN_CENTER)
void add_label (const Glib::ustring &label, bool mnemonic=false, double x_align=0.5, double y_align=0.5)
void add_mnemonic (guint keyval, Widget &target)
void add_mnemonic_label (Widget &label)
void add_modal_grab ()
void add_pixlabel (const Glib::ustring &pixfile, const Glib::ustring &label, double x_align=0.5, double y_align=0.5)
void add_pixlabel (const Glib::RefPtr< Gdk::Pixmap > &pixmap, const Glib::RefPtr< Gdk::Bitmap > &mask, const Glib::ustring &label, double x_align=0.5, double y_align=0.5)
void add_pixmap (const Glib::RefPtr< Gdk::Pixmap > &pixmap, const Glib::RefPtr< Gdk::Bitmap > &mask)
bool app_paintable () const
void begin_move_drag (int button, int root_x, int root_y, guint32 timestamp)
void begin_resize_drag (Gdk::WindowEdge edge, int button, int root_x, int root_y, guint32 timestamp)
bool can_default () const
bool can_focus () const
void check_resize ()
 Request that contained widgets check their size.
bool child_focus (DirectionType direction)
void child_notify (const Glib::ustring &child_property)
GType child_type () const
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)
void deiconify ()
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 foreach (const ForeachSlot &slot)
void freeze_child_notify ()
void fullscreen ()
Glib::RefPtr< AccelGroupget_accel_group ()
Glib::RefPtr< Atk::Objectget_accessible ()
Allocation get_allocation () const
const Widgetget_ancestor (GType widget_type) const
Widgetget_ancestor (GType widget_type)
guint get_border_width () const
const Widgetget_child () const
Widgetget_child ()
bool get_child_visible () const
Glib::ListHandle< const Widget * > get_children () const
Glib::ListHandle< Widget * > get_children ()
 (internal) Operate on contained items (see foreach())
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)
bool get_decorated () const
void get_default_size (int &width, int &height) const
bool get_destroy_with_parent () const
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
const Widgetget_focus () const
Widgetget_focus ()
Glib::ListHandle< const Widget * > get_focus_chain () const
Glib::ListHandle< Widget * > get_focus_chain ()
const Adjustmentget_focus_hadjustment () const
Adjustmentget_focus_hadjustment ()
const Adjustmentget_focus_vadjustment () const
Adjustmentget_focus_vadjustment ()
Glib::RefPtr< const Gdk::Windowget_frame () const
Glib::RefPtr< Gdk::Windowget_frame ()
void get_frame_dimensions (int &left, int &top, int &right, int &bottom) const
Gdk::Gravity get_gravity () const
bool get_has_frame () const
int get_height () const
Glib::RefPtr< const Gdk::Pixbuf > get_icon () const
Glib::RefPtr< Gdk::Pixbuf > get_icon ()
Glib::ListHandle< Glib::RefPtr
< const Gdk::Pixbuf > > 
get_icon_list () const
Glib::ListHandle< Glib::RefPtr
< Gdk::Pixbuf > > 
get_icon_list ()
Gdk::ModifierType get_mnemonic_modifier ()
bool get_modal () 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
void get_position (int &root_x, int &root_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
bool get_resizable () const
ResizeMode get_resize_mode () const
Glib::ustring get_role () 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 (int &width, int &height) const
void get_size_request (int &width, int &height) const
bool get_skip_pager_hint () const
bool get_skip_taskbar_hint () 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
Glib::ustring get_title () const
const Containerget_toplevel () const
Containerget_toplevel ()
const Windowget_transient_for () const
Windowget_transient_for ()
Gdk::WindowTypeHint get_type_hint () const
Glib::RefPtr< Gdk::Visualget_visual ()
int get_width () const
Glib::RefPtr< const Gdk::Windowget_window () const
Glib::RefPtr< Gdk::Windowget_window ()
WindowType get_window_type () const
const GtkWindow * gobj () const
 Provides access to the underlying C GtkObject.
GtkWindow * 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_focus_chain () const
bool has_grab () const
bool has_no_window () const
bool has_screen () const
void hide ()
void hide_all ()
void iconify ()
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_dialog () const
bool is_drawable () const
bool is_focus () const
bool is_managed_ () const
bool is_mapped () const
bool is_popup () 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 ()
void maximize ()
bool mnemonic_activate (bool group_cycling)
bool mnemonic_activate (guint keyval, Gdk::ModifierType modifier)
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)
void move (int x, int y)
bool parent_sensitive () const
bool parse_geometry (const Glib::ustring &geometry)
void path (Glib::ustring &path, Glib::ustring &path_reversed)
 Compute a widget's path of the form "GtkWindow.MyLabel".
void present ()
void propagate_expose (Widget &child, GdkEventExpose *event)
< bool > 
property_allow_grow () const
Glib::PropertyProxy< bool > property_allow_grow ()
< bool > 
property_allow_shrink () const
Glib::PropertyProxy< bool > property_allow_shrink ()
< bool > 
property_app_paintable () const
Glib::PropertyProxy< bool > property_app_paintable ()
< bool > 
property_can_default () const
Glib::PropertyProxy< bool > property_can_default ()
< bool > 
property_can_focus () const
Glib::PropertyProxy< bool > property_can_focus ()
< bool > 
property_composite_child () const
< bool > 
property_decorated () const
Glib::PropertyProxy< bool > property_decorated ()
Glib::PropertyProxy_ReadOnly< int > property_default_height () const
Glib::PropertyProxy< int > property_default_height ()
Glib::PropertyProxy_ReadOnly< int > property_default_width () const
Glib::PropertyProxy< int > property_default_width ()
< bool > 
property_destroy_with_parent () const
Glib::PropertyProxy< bool > property_destroy_with_parent ()
< Gdk::EventMask
property_events () const
< Gdk::EventMask
property_events ()
< Gdk::ExtensionMode > 
property_extension_events () const
< Gdk::ExtensionMode > 
property_extension_events ()
< Gdk::Gravity > 
property_gravity () const
Glib::PropertyProxy< Gdk::Gravity > property_gravity ()
< bool > 
property_has_default () const
Glib::PropertyProxy< bool > property_has_default ()
< bool > 
property_has_focus () const
Glib::PropertyProxy< bool > property_has_focus ()
< bool > 
property_has_toplevel_focus () const
Glib::PropertyProxy_ReadOnly< int > property_height_request () const
Glib::PropertyProxy< int > property_height_request ()
< Glib::RefPtr< Gdk::Pixbuf > > 
property_icon () const
< Glib::RefPtr< Gdk::Pixbuf > > 
property_icon ()
< bool > 
property_is_active () const
< bool > 
property_modal () const
Glib::PropertyProxy< bool > property_modal ()
< Glib::ustring
property_name () const
< Glib::ustring
property_name ()
< Container * > 
property_parent () const
Glib::PropertyProxy< Container * > property_parent ()
< bool > 
property_receives_default () const
Glib::PropertyProxy< bool > property_receives_default ()
< bool > 
property_resizable () const
Glib::PropertyProxy< bool > property_resizable ()
< Glib::ustring
property_role () const
< Glib::ustring
property_role ()
< Glib::RefPtr< Gdk::Screen > > 
property_screen () const
< Glib::RefPtr< Gdk::Screen > > 
property_screen ()
< bool > 
property_sensitive () const
Glib::PropertyProxy< bool > property_sensitive ()
< bool > 
property_skip_pager_hint () const
Glib::PropertyProxy< bool > property_skip_pager_hint ()
< bool > 
property_skip_taskbar_hint () const
Glib::PropertyProxy< bool > property_skip_taskbar_hint ()
< Glib::RefPtr< Style > > 
property_style () const
< Glib::RefPtr< Style > > 
property_style ()
< Glib::ustring
property_title () const
< Glib::ustring
property_title ()
< GdkWindowTypeHint > 
property_type_hint () const
< GdkWindowTypeHint > 
property_type_hint ()
< void * > 
property_user_data () const
Glib::PropertyProxy< void * > property_user_data ()
< bool > 
property_visible () const
Glib::PropertyProxy< bool > property_visible ()
Glib::PropertyProxy_ReadOnly< int > property_width_request () const
Glib::PropertyProxy< int > property_width_request ()
< WindowPosition > 
property_window_position () const
< WindowPosition > 
property_window_position ()
void queue_draw ()
void queue_draw_area (int x, int y, int width, int height)
void queue_resize ()
void queue_resize_no_redraw ()
virtual void raise ()
bool rc_style () const
bool receives_default () const
virtual void reference () const
Gdk::Region region_intersect (const Gdk::Region &region) const
void remove (Widget &widget)
void remove ()
void remove_accel_group (const Glib::RefPtr< AccelGroup > &accel_group)
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 (guint keyval, Widget &target)
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 ()
void reshow_with_initial_size ()
void resize (int width, int height)
void resize_children ()
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_border_width (guint border_width)
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_decorated (bool setting=true)
void set_default (Gtk::Widget &default_widget)
void set_default_size (int width, int height)
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)
void set_focus (Gtk::Widget &focus)
void set_focus_chain (const Glib::ListHandle< Widget * > &focusable_widgets)
void set_focus_child (Widget &widget)
 Sets the focus on a child.
void set_focus_hadjustment (Adjustment &adjustment)
void set_focus_vadjustment (Adjustment &adjustment)
void set_frame_dimensions (int left, int top, int right, int bottom)
void set_geometry_hints (Widget &geometry_widget, const Gdk::Geometry &geometry, Gdk::WindowHints geom_mask)
void set_gravity (Gdk::Gravity gravity)
void set_has_frame (bool setting=true)
void set_icon (const Glib::RefPtr< Gdk::Pixbuf > &icon)
bool set_icon_from_file (const std::string &filename)
void set_icon_list (const Glib::ListHandle< Glib::RefPtr< Gdk::Pixbuf > > &list)
void set_keep_above (bool setting=true)
void set_keep_below (bool setting=true)
virtual void set_manage ()
 Overriden to warn that it doesn't make sense to use Gtk::manage() on this class because it has no parent container.
void set_mnemonic_modifier (Gdk::ModifierType modifier)
void set_modal (bool modal=true)
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)
void set_position (WindowPosition position)
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_reallocate_redraws (bool needs_redraws=true)
void set_redraw_on_allocate (bool redraw_on_allocate=true)
void set_resizable (bool resizable=true)
void set_resize_mode (ResizeMode resize_mode)
void set_role (const Glib::ustring &role)
void set_screen (const Glib::RefPtr< Gdk::Screen > &screen)
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_skip_pager_hint (bool setting=true)
void set_skip_taskbar_hint (bool setting=true)
void set_state (Gtk::StateType state)
void set_style (const Glib::RefPtr< Style > &style)
void set_title (const Glib::ustring &title)
void set_transient_for (Window &parent)
void set_type_hint (Gdk::WindowTypeHint hint)
void set_wmclass (const Glib::ustring &wmclass_name, const Glib::ustring &wmclass_class)
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_all_children (bool recursive=true)
void show_now ()
Glib::SignalProxy1< void,
Widget * > 
signal_add ()
Glib::SignalProxy1< bool,
GdkEventButton * > 
signal_button_press_event ()
Glib::SignalProxy1< bool,
GdkEventButton * > 
signal_button_release_event ()
Glib::SignalProxy0< void > signal_check_resize ()
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::SignalProxy1< bool,
GdkEvent * > 
signal_frame_event ()
< 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,
Widget * > 
signal_remove ()
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::SignalProxy1< void,
Widget * > 
signal_set_focus ()
Glib::SignalProxy1< void,
Widget * > 
signal_set_focus_child ()
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 stick ()
void thaw_child_notify ()
bool translate_coordinates (Widget &dest_widget, int src_x, int src_y, int &dest_x, int &dest_y)
void unfullscreen ()
void unmaximize ()
void unparent ()
virtual void unreference () const
void unset_base (StateType state)
void unset_bg (StateType state)
void unset_composite_name ()
void unset_default ()
void unset_fg (StateType state)
void unset_flags (WidgetFlags flags)
void unset_focus ()
void unset_focus_chain ()
void unset_font ()
void unset_name ()
void unset_shape_combine_mask ()
void unset_style ()
void unset_text (StateType state)
void unstick ()
 Window (WindowType type=WINDOW_TOPLEVEL)

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::ListHandle
< Glib::RefPtr< Gdk::Pixbuf > > 
get_default_icon_list ()
static Glib::RefPtr< Style > get_default_style ()
static Glib::RefPtr< Gdk::Visualget_default_visual ()
static GType get_type () G_GNUC_CONST
static Glib::ListHandle< Window * > list_toplevels ()
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_auto_startup_notification (bool setting=true)
static void set_default_colormap (const Glib::RefPtr< const Gdk::Colormap > &colormap)
static void set_default_direction (TextDirection dir)
static void set_default_icon (const Glib::RefPtr< Gdk::Pixbuf > &icon)
static bool set_default_icon_from_file (const std::string &filename)
static void set_default_icon_list (const Glib::ListHandle< Glib::RefPtr< Gdk::Pixbuf > > &list)

Protected Member Functions

void _destroy_c_instance ()
void _init_unmanage (bool is_toplevel=false)
void _set_current_wrapper (GObject *object)
virtual GtkType child_type_vfunc () const
virtual char * composite_name_vfunc (GtkWidget *child)
void destroy_ ()
virtual void destroy_notify_ ()
void disconnect_cpp_wrapper ()
virtual void dispatch_child_properties_changed_vfunc (guint p1, GParamSpec **p2)
virtual void forall_vfunc (gboolean include_internals, GtkCallback callback, gpointer callback_data)
virtual Glib::RefPtr< Atk::Objectget_accessible_vfunc ()
virtual void get_child_property_vfunc (GtkWidget *child, guint property_id, GValue *value, GParamSpec *pspec) const
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 void on_add (Widget *widget)
virtual bool on_button_press_event (GdkEventButton *event)
virtual bool on_button_release_event (GdkEventButton *event)
virtual void on_check_resize ()
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 bool on_frame_event (GdkEvent *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_remove (Widget *widget)
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_set_focus (Widget *focus)
virtual void on_set_focus_child (Widget *widget)
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)
< guint > 
property_border_width () const
Glib::PropertyProxy< guint > property_border_width ()
< Widget * > 
property_child () const
< Widget * > 
property_child ()
< ResizeMode > 
property_resize_mode () const
Glib::PropertyProxy< ResizeMode > property_resize_mode ()
void realize ()
void realize_if_needed ()
virtual Glib::RefPtr< Object > ref_accessibile_vfunc ()
void set_allocation (const Allocation &value)
virtual void set_child_property_vfunc (GtkWidget *child, guint property_id, const GValue *value, GParamSpec *pspec)
void set_window (const Glib::RefPtr< Gdk::Window > &value)
virtual void show_all_vfunc ()
void unmap ()
void unrealize ()
 Window (GtkWindow *castitem)
 Window (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

Windowoperator= (const Window &)
 Window (const Window &)

Private Attributes

Glib::RefPtr< AccelGroupaccel_group_

Static Private Attributes

static CppClassType window_class_


class Glib::GSigConnectionNode
class Glib::Object_Class
class Main
class Window_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)
Gtk::Containerwrap (GtkContainer *object, bool take_copy=false)
Gtk::Binwrap (GtkBin *object, bool take_copy=false)
Gtk::Windowwrap (GtkWindow *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