matecomponent-selector-widget

## matecomponent-selector-widget matecomponent-selector-widget |

## Synopsis

                        MateComponentSelectorWidgetPrivate;
                        MateComponentSelectorWidget;
                        MateComponentSelectorWidgetClass;
    GtkWidget *         matecomponent_selector_widget_new          (void);
    void                matecomponent_selector_widget_set_interfaces
                                                            (MateComponentSelectorWidget *sel,
                                                             const gchar **interfaces_required);
    gchar *             matecomponent_selector_widget_get_id       (MateComponentSelectorWidget *sel);
    gchar *             matecomponent_selector_widget_get_name     (MateComponentSelectorWidget *sel);
    gchar *             matecomponent_selector_widget_get_description
                                                            (MateComponentSelectorWidget *sel);

## Description

## Details

### MateComponentSelectorWidgetPrivate

    typedef struct _MateComponentSelectorWidgetPrivate MateComponentSelectorWidgetPrivate;

### MateComponentSelectorWidget

    typedef struct {
    	GtkVBox parent;

    	MateComponentSelectorWidgetPrivate *priv;
    } MateComponentSelectorWidget;

### MateComponentSelectorWidgetClass

    typedef struct {
    	GtkVBoxClass parent_class;

    	/* Virtual methods */
    	gchar *(* get_id)          (MateComponentSelectorWidget *sel);
    	gchar *(* get_name)        (MateComponentSelectorWidget *sel);
    	gchar *(* get_description) (MateComponentSelectorWidget *sel);
    	void   (* set_interfaces)  (MateComponentSelectorWidget *sel,
    				    const gchar         **interfaces);

    	/* User select */
    	void   (* final_select)    (MateComponentSelectorWidget *sel);

    	gpointer dummy[2];
    } MateComponentSelectorWidgetClass;

### matecomponent_selector_widget_new ()

    GtkWidget *         matecomponent_selector_widget_new          (void);

Creates a new MateComponentSelectorWidget widget, this contains a list and a description pane for each component.

Returns : | A pointer to the newly-created MateComponentSelectorWidget widget.

### matecomponent_selector_widget_set_interfaces ()

    void                matecomponent_selector_widget_set_interfaces
                                                            (MateComponentSelectorWidget *sel,
                                                             const gchar **interfaces_required);

`sel` : |
`interfaces_required` : |

### matecomponent_selector_widget_get_id ()

    gchar *             matecomponent_selector_widget_get_id       (MateComponentSelectorWidget *sel);

`sel` : | A MateComponentSelectorWidget widget.
Returns : | A newly-allocated string containing the ID of the currently-selected CORBA server (i.e., the corba server whose name is highlighted in the list). The user of this function is responsible for freeing this. It will give an oaf iid back.

### matecomponent_selector_widget_get_name ()

    gchar *             matecomponent_selector_widget_get_name     (MateComponentSelectorWidget *sel);

`sel` : | A MateComponentSelectorWidget widget.
Returns : | A newly-allocated string containing the name of the currently-selected CORBA server (i.e., the corba server whose name is highlighted in the list). The user of this function is responsible for freeing this.

### matecomponent_selector_widget_get_description ()

    gchar *             matecomponent_selector_widget_get_description
                                                            (MateComponentSelectorWidget *sel);

`sel` : | A MateComponentSelectorWidget widget.
Returns : | A newly-allocated string containing the description of the currently-selected CORBA server (i.e., the corba server whose name is highlighted in the list). The user of this function is responsible for freeing this.