#include <gnome.h>
#include "mlview-app-context.h"
Go to the source code of this file.
Data Structures | |
struct | _MlViewAttributePicker |
The attribute picker of mlview. More... | |
struct | _MlViewAttributePickerClass |
Defines | |
#define | MLVIEW_TYPE_ATTRIBUTE_PICKER (mlview_attribute_picker_get_type ()) |
#define | MLVIEW_ATTRIBUTE_PICKER(object) (GTK_CHECK_CAST ((object), MLVIEW_TYPE_ATTRIBUTE_PICKER, MlViewAttributePicker)) |
#define | MLVIEW_ATTRIBUTE_PICKER_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), MLVIEW_TYPE_ATTRIBUTE_PICKER, MlViewAttributePickerClass)) |
#define | MLVIEW_IS_ATTRIBUTE_PICKER(object) (GTK_CHECK_TYPE ((object), MLVIEW_TYPE_ATTRIBUTE_PICKER)) |
#define | MLVIEW_IS_ATTRIBUTE_PICKER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), MLVIEW_TYPE_ATTRIBUTE_PICKER)) |
Typedefs | |
typedef _MlViewAttributePicker | MlViewAttributePicker |
typedef _MlViewAttributePickerClass | MlViewAttributePickerClass |
typedef _MlViewAttributePickerPrivate | MlViewAttributePickerPrivate |
Functions | |
gint | mlview_attribute_picker_get_type (void) |
Type builder. | |
GtkWidget * | mlview_attribute_picker_new (gchar *a_title, MlViewAppContext *a_app_context) |
Builds a brand new attribute picker. | |
void | mlview_attribute_picker_set_attribute_completion (gboolean a_completion_on) |
Sets the attribute completion on/off. | |
void | mlview_attribute_picker_grab_focus_to_name_entry (MlViewAttributePicker *a_picker) |
Sets the focus to the name entry of MlViewAttributePicker widget. | |
void | mlview_attribute_picker_grab_focus_to_value_entry (MlViewAttributePicker *a_picker) |
Sets the focus to the value entry of MlViewAttributePicker widget. | |
void | mlview_attribute_picker_select_attribute_value (MlViewAttributePicker *a_picker) |
Graphically selects all the content of the value entry of the MlViewAttributePicker widget. | |
void | mlview_attribute_picker_select_attribute_name (MlViewAttributePicker *a_picker) |
Graphically selects all the content of the name entry of the MlViewAttributePicker widget. | |
gchar * | mlview_attribute_picker_get_attribute_name (MlViewAttributePicker *a_picker) |
Gets the content of the name entry of attribute picker. | |
gchar * | mlview_attribute_picker_get_attribute_value (MlViewAttributePicker *a_picker) |
Gets the content of the value entry of the attribute picker. | |
xmlAttributeType | mlview_attribute_picker_get_attribute_type (MlViewAttributePicker *a_picker) |
Gets the type of the last attribute the user has entered in the picker. | |
void | mlview_attribute_picker_build_attribute_name_choice_list (MlViewAttributePicker *a_picker, xmlNode *a_xml_node) |
Builds the attribute name completion list. | |
void | mlview_attribute_picker_set_current_xml_node (MlViewAttributePicker *a_picker, xmlNode *a_xml_node) |
Associates an xml node to this picker. | |
void | mlview_attribute_picker_set_app_context (MlViewAttributePicker *a_picker, MlViewAppContext *a_app_context) |
Sets a new app context. |
Definition in file mlview-attribute-picker.h.
|
Definition at line 35 of file mlview-attribute-picker.h. |
|
Definition at line 36 of file mlview-attribute-picker.h. |
|
|
Definition at line 38 of file mlview-attribute-picker.h. |
|
Definition at line 34 of file mlview-attribute-picker.h. Referenced by mlview_attribute_picker_new(). |
|
Definition at line 40 of file mlview-attribute-picker.h. |
|
Definition at line 41 of file mlview-attribute-picker.h. |
|
Definition at line 42 of file mlview-attribute-picker.h. |
|
Builds the attribute name completion list. The list is built, cached in the current instance of MlViewAttributePicker, and displayed to the user whenever she clicks in the attribute names completion list. This function uses mlview_parsing_utils_build_attribute_name_completion_list() to actually build the completion list.
Definition at line 872 of file mlview-attribute-picker.c. References MLVIEW_IS_ATTRIBUTE_PICKER, mlview_parsing_utils_build_attribute_name_completion_list(), and PRIVATE. |
|
Gets the content of the name entry of attribute picker.
Definition at line 736 of file mlview-attribute-picker.c. References MLVIEW_IS_ATTRIBUTE_PICKER, and PRIVATE. |
|
Gets the type of the last attribute the user has entered in the picker.
Definition at line 773 of file mlview-attribute-picker.c. References MLVIEW_IS_ATTRIBUTE_PICKER, PRIVATE, and utils_is_white_string(). |
|
Gets the content of the value entry of the attribute picker.
Definition at line 755 of file mlview-attribute-picker.c. References MLVIEW_IS_ATTRIBUTE_PICKER, and PRIVATE. |
|
Type builder.
Definition at line 642 of file mlview-attribute-picker.c. |
|
Sets the focus to the name entry of MlViewAttributePicker widget.
Definition at line 703 of file mlview-attribute-picker.c. References MLVIEW_IS_ATTRIBUTE_PICKER, and PRIVATE. |
|
Sets the focus to the value entry of MlViewAttributePicker widget.
Definition at line 719 of file mlview-attribute-picker.c. References MLVIEW_IS_ATTRIBUTE_PICKER, and PRIVATE. |
|
Builds a brand new attribute picker.
Definition at line 667 of file mlview-attribute-picker.c. References mlview_app_context_set_window_icon(), mlview_attribute_picker_set_app_context(), and MLVIEW_TYPE_ATTRIBUTE_PICKER. |
|
Graphically selects all the content of the name entry of the MlViewAttributePicker widget.
Definition at line 798 of file mlview-attribute-picker.c. References MLVIEW_IS_ATTRIBUTE_PICKER, and PRIVATE. |
|
Graphically selects all the content of the value entry of the MlViewAttributePicker widget.
Definition at line 816 of file mlview-attribute-picker.c. References MLVIEW_IS_ATTRIBUTE_PICKER, and PRIVATE. |
|
Sets a new app context.
Definition at line 687 of file mlview-attribute-picker.c. References MLVIEW_IS_ATTRIBUTE_PICKER, and PRIVATE. Referenced by mlview_attribute_picker_new(). |
|
Sets the attribute completion on/off. All the instances of MlViewAttributePicker of the current process will be affected by this method.
Definition at line 855 of file mlview-attribute-picker.c. |
|
Associates an xml node to this picker. That xml node is used for example to build the attribute name completion list if needed.
Definition at line 836 of file mlview-attribute-picker.c. References MLVIEW_IS_ATTRIBUTE_PICKER, and PRIVATE. |