Public member index:
-
Gtk_Widget(GtkWidget *castitem);
-
-
virtual void delete_self();
- Destroy and hides widget.
-
void unparent();
-
-
void reparent(const Gtk_Widget &newparent);
- Change a widgets parent.
-
void activate();
-
-
void popup(gint x,gint y);
-
-
bool intersect(const Gdk_Rectangle &area,const Gdk_Rectangle &intersection)const;
-
-
void grab_focus();
-
-
void grab_default();
-
-
void set_uposition(gint x,gint y);
-
-
void set_usize(gint width,gint height);
- Set minumum widget size.
-
void set_events(gint events);
- Set the events the widget wishs to capture.
-
void set_extension_events(GdkExtensionMode mode);
-
-
GdkExtensionMode get_extension_events()const;
-
-
Gtk_Widget *get_toplevel();
-
-
Gtk_Widget *get_ancestor(gint type)const;
-
-
Gdk_Colormap get_colormap()const;
- Return current widget colormap.
-
Gdk_Visual get_visual()const;
- Return current widget visual.
-
gint get_events()const;
-
-
void get_pointer(gint *x,gint *y)const;
-
-
bool is_ancestor(const Gtk_Widget &widget)const;
-
-
void set_style(const Gtk_Style &style);
-
-
void set_rc_style();
-
-
void ensure_style();
-
-
const Gtk_Style *get_style()const;
-
-
Gtk_Style *get_style();
-
-
void restore_default_style();
-
-
static void push_style(const Gtk_Style &style);
-
-
static void push_colormap(const Gdk_Colormap &cmap);
-
-
static void push_visual(const Gdk_Visual &visual);
-
-
static void pop_style();
-
-
static void pop_colormap();
-
-
static void pop_visual();
-
-
static void set_default_style(const Gtk_Style &style);
-
-
static void set_default_colormap(const Gdk_Colormap &colormap);
-
-
static void set_default_visual(const Gdk_Visual &visual);
-
-
static Gtk_Style *get_default_style();
-
-
static Gdk_Colormap get_default_colormap();
-
-
static Gdk_Visual get_default_visual();
-
-
void set_colormap(const Gdk_Colormap &colormap);
- Set colormap prior to realization.
-
void set_visual(const Gdk_Visual &visual);
- Set visual prior to realization.
-
void set_name(const _gtk_string &name);
- Set the name of the widget.
-
_gtk_string get_name()const;
- Return the name of the widget.
-
void set_state(GtkStateType state);
-
-
void set_sensitive(bool sensitive);
-
-
const Gtk_Widget *get_parent()const;
- Return the parent of this widget.
-
Gtk_Widget *get_parent();
-
-
void set_parent(const Gtk_Widget &parent);
- Set the widgets parent.
-
void set_parent_window(const Gdk_Window &parent_window);
-
-
Gdk_Window get_parent_window()const;
- Return the parent's Gdk_Window.
-
Gdk_Window get_window()const;
- Return the Gdk_Window on which the widget is drawn.
-
void queue_draw();
-
-
void queue_resize();
-
-
void shape_combine_mask(const Gdk_Bitmap &shape_mask,gint offset_x,gint offset_y);
-
-
bool hide_on_delete();
- (Gtk 1.1)
-
guint accelerator_signal(const Gtk_AccelGroup &accel_group,guint accel_key,guint accel_mods);
-
-
void lock_accelerators();
- (Gtk 1.1)
-
void unlock_accelerators();
- (Gtk 1.1)
-
void set_app_paintable(bool app_paintable);
- (Gtk 1.1)
-
void add_accelerator(const _gtk_string &accel_signal,const Gtk_AccelGroup &accel_group,guint accel_key,guint accel_mods,GtkAccelFlags accel_flags);
- (Gtk 1.1)
-
void remove_accelerator(const Gtk_AccelGroup &accel_group,guint accel_key,guint accel_mods);
- (Gtk 1.1)
-
void remove_accelerators(const _gtk_string &accel_signal,bool visible_only);
- (Gtk 1.1)
-
void add_events(gint events);
- (Gtk 1.1)
-
void path(string *path,string *path_reversed);
- (Gtk 1.1)
-
void class_path(string *path,string *path_reversed);
- (Gtk 1.1)
-
static void pop_composite_child();
- (Gtk 1.1)
-
static void push_composite_child();
- (Gtk 1.1)
-
void queue_clear();
- (Gtk 1.1)
-
void queue_clear_area(gint x,gint y,gint width,gint height);
- (Gtk 1.1)
-
void queue_draw_area(gint x,gint y,gint width,gint height);
- (Gtk 1.1)
-
void set_composite_name(const _gtk_string &name);
- (Gtk 1.1)
-
_gtk_string get_composite_name();
- (Gtk 1.1)
-
void reset_rc_styles();
- (Gtk 1.1)
-
void get_child_requisition(GtkRequisition *req)const;
- (Gtk 1.1)
-
void drag_get_data(Gdk_Drag_Context &context,Gdk_Atom target,guint32 time);
- (Gtk 1.1)
-
static void drag_finish(Gdk_Drag_Context &context,bool success,bool del,guint32 time);
- (Gtk 1.1)
-
void drag_highlight();
- (Gtk 1.1)
-
void drag_unhighlight();
- (Gtk 1.1)
-
void drag_dest_set(int flags,GtkTargetEntry *targets,gint n_targets,int actions);
- (Gtk 1.1)
-
void drag_dest_set_proxy(Gdk_Window &proxy_window,GdkDragProtocol protocol,bool use_coordinates);
- (Gtk 1.1)
-
void drag_dest_unset();
- (Gtk 1.1)
-
void drag_source_set(int start_button_mask,GtkTargetEntry *targets,gint n_targets,int actions);
- (Gtk 1.1)
-
void drag_source_unset();
- (Gtk 1.1)
-
void drag_source_set_icon(Gdk_Colormap &colormap,Gdk_Pixmap &pixmap,Gdk_Bitmap &mask);
- (Gtk 1.1)
-
static void drag_set_icon_widget(Gdk_Drag_Context &context,Gtk_Widget &widget,gint hot_x,gint hot_y);
- (Gtk 1.1)
-
static void drag_set_icon_pixmap(Gdk_Drag_Context &context,Gdk_Colormap &colormap,Gdk_Pixmap &pixmap,Gdk_Bitmap &mask,gint hot_x,gint hot_y);
- (Gtk 1.1)
-
static void drag_set_icon_default(Gdk_Drag_Context &context);
- (Gtk 1.1)
-
static void drag_set_default_icon(Gdk_Colormap &colormap,Gdk_Pixmap &pixmap,Gdk_Bitmap &mask,gint hot_x,gint hot_y);
- (Gtk 1.1)
-
bool toplevel()const;
- Returns property flags.toplevel.
-
bool no_window()const;
- Returns property flags.nowindow.
-
bool realized()const;
- Returns property flags.realized.
-
bool mapped()const;
- Returns property flags.mapped.
-
bool visible()const;
- Returns property flags.visible.
-
bool drawable()const;
- Returns if the widget is ready to be drawn to.
-
bool sensitive()const;
- Returns property flags.sensitive.
-
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 rc_style()const;
-
-
bool has_grab()const;
-
-
bool composite_child()const;
-
-
void set_flags(gint flag)const;
- Set a member of the flags field.
-
void unset_flags(gint flag)const;
- Clear a member of the flags field.
-
signal void show(BaseObjectType);
- Show a widget.
-
signal void show_all(GtkWidget);
- Show a widget and all items inserted to it.
-
signal void hide(BaseObjectType);
- Hide a widget
-
signal void hide_all(GtkWidget);
- Hide a widget and all items inserted to it
-
signal void map(BaseObjectType);
- Emitted on mapping of a widget to the screen.
-
signal void unmap(BaseObjectType);
-
-
signal void realize(BaseObjectType);
- Emitted on realization of a widget.
-
signal void unrealize(BaseObjectType);
-
-
signal void draw(GtkWidget,GdkRectangle *);
- Emitted to draw the widget.
-
signal void draw_focus(BaseObjectType);
- Emitted to draw the widget in a focused state.
-
signal void draw_default(BaseObjectType);
- Emitted to draw the widget in a normal state.
-
signal void size_request(GtkRequisition *);
-
-
signal void size_allocate(GtkAllocation *);
-
-
signal void state_changed(GtkStateType);
- Emitted on a change of widget state.
-
signal void parent_set_c(GtkWidget *);
-
-
signal void parent_set(Gtk_Widget *);
-
-
void parent_set_callback(Gtk_Widget *p1);
-
-
signal void style_set_c(GtkStyle *);
-
-
signal void style_set(Gtk_Style *);
-
-
void style_set_callback(Gtk_Style *p1);
-
-
signal gint event(GdkEvent *);
-
-
signal gint button_press_event(GdkEventButton *);
- Event triggered by user pressing button.
-
signal gint button_release_event(GdkEventButton *);
- Event triggered by user releasing button.
-
signal gint motion_notify_event(GdkEventMotion *);
- Event triggered by user moving pointer.
-
signal gint delete_event(GdkEventAny *);
- Event triggered by window begin closed.
-
signal gint expose_event(GdkEventExpose *);
- Event triggered by window requiring a refresh.
-
signal gint key_press_event(GdkEventKey *);
- Event triggered by a key press will widget has focus.
-
signal gint key_release_event(GdkEventKey *);
- Event triggered by a key release will widget has focus.
-
signal gint enter_notify_event(GdkEventCrossing *);
- Event triggered by pointer entering widget area.
-
signal gint leave_notify_event(GdkEventCrossing *);
- Event triggered by pointer leaving widget area.
-
signal gint configure_event(GdkEventConfigure *);
- Event triggered by a window resizing.
-
signal gint focus_in_event(GdkEventFocus *);
-
-
signal gint focus_out_event(GdkEventFocus *);
-
-
signal gint map_event(GdkEventAny *);
-
-
signal gint unmap_event(GdkEventAny *);
-
-
signal gint property_notify_event(GdkEventProperty *);
-
-
signal gint selection_clear_event(GdkEventSelection *);
-
-
signal gint selection_request_event(GdkEventSelection *);
-
-
signal gint selection_notify_event(GdkEventSelection *);
-
-
signal gint proximity_in_event(GdkEventProximity *);
-
-
signal gint proximity_out_event(GdkEventProximity *);
-
-
signal gint client_event(GdkEventClient *);
-
-
signal gint no_expose_event(GdkEventAny *);
-
-
signal gint visibility_notify_event(GdkEventVisibility *);
-
-
signal void debug_msg(const gchar *);
-
-
signal void selection_get(GtkSelectionData *,guint,guint);
-
-
signal void selection_received(GtkSelectionData *,guint);
-
-
signal GdkDragContext *drag_begin(GtkWidget,GtkTargetList *,GdkDragAction,gint,GdkEvent *);
-
-
signal void drag_end(GdkDragContext *);
-
-
signal void drag_data_get(GdkDragContext *,GtkSelectionData *,guint,guint32);
-
-
signal void drag_data_delete(GdkDragContext *);
-
-
signal void drag_leave(GdkDragContext *,guint);
-
-
signal gboolean drag_motion(GdkDragContext *,gint,gint,guint);
-
-
signal gboolean drag_drop(GdkDragContext *,gint,gint,guint);
-
-
signal void drag_data_received(GdkDragContext *,gint,gint,GtkSelectionData *,guint,guint32);
-
-
GtkWidget *gtkobj();
-
-
const GtkWidget *gtkobj()const;
-
-
static bool isGtkWidget(Gtk_Object *checkcast);
-
-
gint width()const;
- Returns width of widget.
-
gint height()const;
- Returns height of widget.
-
virtual ~Gtk_Widget();
-
Protected member index:
-
-
-
-
-
-
-
virtual void *get_parent_class();
-
-
virtual void show_impl();
-
-
virtual void show_all_impl();
-
-
virtual void hide_impl();
-
-
virtual void hide_all_impl();
-
-
virtual void map_impl();
-
-
virtual void unmap_impl();
-
-
virtual void realize_impl();
-
-
virtual void unrealize_impl();
-
-
virtual void draw_impl(GdkRectangle *p1);
-
-
virtual void draw_focus_impl();
-
-
virtual void draw_default_impl();
-
-
virtual void size_request_impl(GtkRequisition *p1);
-
-
virtual void size_allocate_impl(GtkAllocation *p1);
-
-
virtual void state_changed_impl(GtkStateType p1);
-
-
virtual void parent_set_c_impl(GtkWidget *p1);
-
-
virtual void style_set_c_impl(GtkStyle *p1);
-
-
virtual gint event_impl(GdkEvent *p1);
-
-
virtual gint button_press_event_impl(GdkEventButton *p1);
-
-
virtual gint button_release_event_impl(GdkEventButton *p1);
-
-
virtual gint motion_notify_event_impl(GdkEventMotion *p1);
-
-
virtual gint delete_event_impl(GdkEventAny *p1);
-
-
virtual gint expose_event_impl(GdkEventExpose *p1);
-
-
virtual gint key_press_event_impl(GdkEventKey *p1);
-
-
virtual gint key_release_event_impl(GdkEventKey *p1);
-
-
virtual gint enter_notify_event_impl(GdkEventCrossing *p1);
-
-
virtual gint leave_notify_event_impl(GdkEventCrossing *p1);
-
-
virtual gint configure_event_impl(GdkEventConfigure *p1);
-
-
virtual gint focus_in_event_impl(GdkEventFocus *p1);
-
-
virtual gint focus_out_event_impl(GdkEventFocus *p1);
-
-
virtual gint map_event_impl(GdkEventAny *p1);
-
-
virtual gint unmap_event_impl(GdkEventAny *p1);
-
-
virtual gint property_notify_event_impl(GdkEventProperty *p1);
-
-
virtual gint selection_clear_event_impl(GdkEventSelection *p1);
-
-
virtual gint selection_request_event_impl(GdkEventSelection *p1);
-
-
virtual gint selection_notify_event_impl(GdkEventSelection *p1);
-
-
virtual gint proximity_in_event_impl(GdkEventProximity *p1);
-
-
virtual gint proximity_out_event_impl(GdkEventProximity *p1);
-
-
virtual gint client_event_impl(GdkEventClient *p1);
-
-
virtual gint no_expose_event_impl(GdkEventAny *p1);
-
-
virtual gint visibility_notify_event_impl(GdkEventVisibility *p1);
-
-
virtual void debug_msg_impl(const gchar *p1);
-
-
virtual void selection_get_impl(GtkSelectionData *p1,guint p2,guint p3);
-
-
virtual void selection_received_impl(GtkSelectionData *p1,guint p2);
-
-
virtual void drag_begin_impl(GdkDragContext *p1);
-
-
virtual void drag_end_impl(GdkDragContext *p1);
-
-
virtual void drag_data_get_impl(GdkDragContext *p1,GtkSelectionData *p2,guint p3,guint32 p4);
-
-
virtual void drag_data_delete_impl(GdkDragContext *p1);
-
-
virtual void drag_leave_impl(GdkDragContext *p1,guint p2);
-
-
virtual gboolean drag_motion_impl(GdkDragContext *p1,gint p2,gint p3,guint p4);
-
-
virtual gboolean drag_drop_impl(GdkDragContext *p1,gint p2,gint p3,guint p4);
-
-
virtual void drag_data_received_impl(GdkDragContext *p1,gint p2,gint p3,GtkSelectionData *p4,guint p5,guint32 p6);
-
-
-
-
Gtk_Style *_get_style()const;
-
-
Gtk_Widget *_get_parent()const;
-
-
void realize_if_needed();
-
-
Gtk_Widget();
-
-
-
-
-
-
-
-
-
Private member index:
-
-
-
GtkType get_type();
-
|