Index

C++ Code Documentation

gtk::widget0::Widget

Derived from: virtual ::widget::ui::Widget , gtk::widget0::Object

Children: gtk::widget0::Calendar, gtk::widget0::Container, gtk::widget0::DrawingArea, gtk::widget0::Editable, gtk::widget0::Misc, gtk::widget0::PackerChild, gtk::widget0::Preview, gtk::widget0::Progress, gtk::widget0::Range, gtk::widget0::Ruler, gtk::widget0::Separator, gtk::widget1::ButtonBar, gtk::widget1::Menu, gtk::widget1::MenuButton, gtk::widget1::NumberWidget

File: WIDGET/gtk/widget0/Widget.H

public:
  • Widget( GtkType type, char const *first_arg_name, ... ) : Object( GTK_OBJECT(gtk_widget_new( type, first_arg_name, first_arg_name ) ) );
  • Widget( GtkType type, uint nargs, GtkArg *args ) : Object( GTK_OBJECT( gtk_widget_newv( type, nargs, args ) ) );
  • virtual void show();
  • virtual void hide();
  • virtual void show(bool a = true);
  • else;
    { show(); }
  • } virtual void hide();
    { hide(); }
  • virtual void toggle_show();
  • virtual bool showing() const;
  • void add_accelerator( char const *signal_id, AccelGroup *group, int key, GdkModifierType mods, GtkAccelFlags flags);
  • void usize( int width, int height );
  • uint width();
  • uint height();
  • void draw();
  • void ref();
  • void unref();
  • void destroy();
  • void destroyed( GtkWidget **widget_pointer );
  • void get( GtkArg *arg );
  • void getv( uint nargs, GtkArg *args );
  • void set( char const *first_arg_name, ... );
  • void setv( uint nargs, GtkArg *args );
  • void unparent();
  • void show_now();
  • void show_all();
  • void hide_all();
  • void map();
  • void unmap();
  • void realize();
  • void unrealize();
  • void queue_draw();
  • void queue_draw_area( int x, int y, int width, int height );
  • void queue_clear();
  • void queue_clear_area( int x, int y, int width, int height );
  • void queue_resize();
  • void draw( GdkRectangle *area );
  • void draw_focus();
  • void draw_default();
  • void size_request( GtkRequisition *requisition );
  • void size_allocate( GtkAllocation *allocation );
  • void get_child_requisition( GtkRequisition *requisition );
  • void add_accelerator( char const *accel_signal, GtkAccelGroup *accel_group, uint accel_key, uint accel_mods, GtkAccelFlags accel_flags );
  • void remove_accelerator( GtkAccelGroup *accel_group, uint accel_key, uint accel_mods );
  • void remove_accelerators( char const *accel_signal, bool visible_only );
  • uint accelerator_signal( GtkAccelGroup *accel_group, uint accel_key, uint accel_mods );
  • void lock_accelerators();
  • void unlock_accelerators();
  • bool accelerators_locked();
  • int event( GdkEvent *event );
  • bool activate();
  • bool set_scroll_adjustments( GtkAdjustment *hadjustment, GtkAdjustment *vadjustment );
  • void reparent( GtkWidget *new_parent );
  • void popup( int x, int y );
  • int intersect( GdkRectangle *area, GdkRectangle *intersection );
  • void grab_focus();
  • void grab_default();
  • void set_name( char const *name );
  • char* get_name();
  • void set_state( GtkStateType state );
  • virtual void set_sensitive( bool sensitive = true );
  • void set_app_paintable( bool app_paintable );
  • void set_parent( GtkWidget *parent );
  • void set_parent_window( GdkWindow *parent_window );
  • GdkWindow *gtk_widget_get_parent_window (GtkWidget *widget);
  • void set_uposition( int x, int y );
  • void set_usize( int width, int height );
  • void set_events( int events );
  • void add_events( int events );
  • void set_extension_events( GdkExtensionMode mode );
  • GdkExtensionMode get_extension_events();
  • GtkWidget* get_toplevel();
  • GtkWidget* get_ancestor( GtkType widget_type );
  • GdkColormap* get_colormap();
  • GdkVisual* get_visual();
  • void set_colormap( GdkColormap *colormap );
  • void set_visual( GdkVisual *visual );
  • int get_events();
  • void get_pointer( int *x, int *y );
  • int is_ancestor( GtkWidget *ancestor );
  • int hide_on_delete();
  • void set_style( GtkStyle *style );
  • void set_rc_style();
  • void ensure_style();
  • GtkStyle* get_style();
  • void restore_default_style();
  • void modify_style( GtkRcStyle *style );
  • void set_composite_name( char const *name );
  • char* get_composite_name();
  • void reset_rc_styles();
  • void push_style();
  • void push_colormap();
  • void push_visual();
  • void push_composite_child();
  • void pop_composite_child();
  • void pop_style();
  • void pop_colormap();
  • void pop_visual();
  • void set_default_style();
  • void set_default_colormap();
  • void set_default_visual();
  • GtkStyle* get_default_style();
  • GdkColormap* get_default_colormap();
  • GdkVisual* get_default_visual();
  • void shape_combine_mask( GdkBitmap *shape_mask, int offset_x, int offset_y );
  • void reset_shapes();
  • void path( uint *path_length, char **path, char **path_reversed );
  • void class_path( uint *path_length, char **path, char **path_reversed );
  • GtkWidget *w();
  • GtkWidget const *w() const;
protected:
  • Widget( GtkWidget *x ) : Object( x == (GtkWidget *)0 ? (GtkObject *)0 : GTK_OBJECT(x) );
private:


gtk::widget0::Widget GANG