|  |  |  | libgnomedb Reference Manual |  | 
|---|
| gnome-db-utilgnome-db-util — Utility functions | 
GtkWidget* gnome_db_new_browser_widget (void); GtkWidget* gnome_db_new_button_widget (const gchar *label); GtkWidget* gnome_db_new_button_widget_from_stock (const gchar *stock_id); GtkWidget* gnome_db_new_check_button_widget (const gchar *label); GtkWidget* gnome_db_new_combo_widget (void); GtkWidget* gnome_db_new_entry_widget (gint max_length, gboolean editable); GtkWidget* gnome_db_new_file_entry_widget (const gchar *history_id, const gchar *title); GtkWidget* gnome_db_new_frame_widget (const gchar *title); GtkWidget* gnome_db_new_grid_widget (GdaDataModel *model); GtkWidget* gnome_db_new_hbox_widget (gboolean homogenous, gint spacing); GtkWidget* gnome_db_new_hbutton_box_widget (void); GtkWidget* gnome_db_new_hpaned_widget (void); GtkWidget* gnome_db_new_hseparator_widget (void); GtkWidget* gnome_db_new_label_widget (const gchar *text); GtkWidget* gnome_db_new_notebook_widget (void); GtkWidget* gnome_db_new_option_menu_widget (void); GtkWidget* gnome_db_new_popup_menu (GtkWidget *parent, GnomeUIInfo *ui_info, gpointer user_data); GtkWidget* gnome_db_new_radio_button_widget (GSList *group, const gchar *label); GtkWidget* gnome_db_new_scrolled_window_widget (void); GtkWidget* gnome_db_new_status_bar_widget (void); GtkWidget* gnome_db_new_table_widget (gint rows, gint cols, gboolean homogenous); GtkWidget* gnome_db_new_text_widget (const gchar *contents); GtkWidget* gnome_db_new_toolbar_widget (GtkOrientation orientation, GtkToolbarStyle style); GtkWidget* gnome_db_new_tree_view_widget (GtkTreeModel *model); GtkWidget* gnome_db_new_vbox_widget (gboolean homogenous, gint spacing); GtkWidget* gnome_db_new_vpaned_widget (void); GtkWidget* gnome_db_new_vseparator_widget (void); void gnome_db_set_widget_bg_color (GtkWidget *widget, const gchar *color); void gnome_db_set_widget_fg_color (GtkWidget *widget, const gchar *color); GtkWidget* gnome_db_option_menu_add_item (GtkOptionMenu *option_menu, const gchar *label); GtkWidget* gnome_db_option_menu_add_stock_item (GtkOptionMenu *option_menu, const gchar *stock_id); void gnome_db_option_menu_add_separator (GtkOptionMenu *option_menu); const gchar* gnome_db_option_menu_get_selection (GtkOptionMenu *option_menu); void gnome_db_option_menu_set_selection (GtkOptionMenu *option_menu, const gchar *selection); void gnome_db_text_clear (GtkTextView *text); void gnome_db_text_copy_clipboard (GtkTextView *text); void gnome_db_text_cut_clipboard (GtkTextView *text); gint gnome_db_text_get_char_count (GtkTextView *text); gint gnome_db_text_get_line_count (GtkTextView *text); gchar* gnome_db_text_get_text (GtkTextView *text); void gnome_db_text_insert_at_cursor (GtkTextView *text, const gchar *contents, gint len); void gnome_db_text_paste_clipboard (GtkTextView *text); void gnome_db_text_set_text (GtkTextView *text, const gchar *contents, gint len); gchar* gnome_db_select_file_dialog (GtkWidget *parent, const gchar *title); GtkWidget* gnome_db_new_alert (GtkWindow *parent, GtkMessageType type, const gchar *primary_text, const gchar *secondary_text); void gnome_db_show_error (const gchar *format, ...); void gnome_db_show_message (const gchar *format, ...); void gnome_db_push_cursor_busy (GtkWidget *window); void gnome_db_pop_cursor_busy (GtkWidget *window); GtkWidget* gnome_db_new_menu_item (const gchar *label, gboolean pixmap, GCallback cb_func, gpointer user_data); GtkWidget* gnome_db_new_check_menu_item (const gchar *label, gboolean active, GCallback cb_func, gpointer user_data);
GtkWidget* gnome_db_new_button_widget (const gchar *label);
| label : | |
| Returns : | 
GtkWidget*  gnome_db_new_button_widget_from_stock
                                            (const gchar *stock_id);
| stock_id : | |
| Returns : | 
GtkWidget*  gnome_db_new_check_button_widget
                                            (const gchar *label);
| label : | |
| Returns : | 
GtkWidget*  gnome_db_new_entry_widget       (gint max_length,
                                             gboolean editable);
| max_length : | |
| editable : | |
| Returns : | 
GtkWidget*  gnome_db_new_file_entry_widget  (const gchar *history_id,
                                             const gchar *title);
| history_id : | |
| title : | |
| Returns : | 
GtkWidget* gnome_db_new_frame_widget (const gchar *title);
| title : | |
| Returns : | 
GtkWidget* gnome_db_new_grid_widget (GdaDataModel *model);
| model : | |
| Returns : | 
GtkWidget*  gnome_db_new_hbox_widget        (gboolean homogenous,
                                             gint spacing);
| homogenous : | |
| spacing : | |
| Returns : | 
GtkWidget* gnome_db_new_label_widget (const gchar *text);
| text : | |
| Returns : | 
GtkWidget*  gnome_db_new_popup_menu         (GtkWidget *parent,
                                             GnomeUIInfo *ui_info,
                                             gpointer user_data);
| parent : | |
| ui_info : | |
| user_data : | |
| Returns : | 
GtkWidget*  gnome_db_new_radio_button_widget
                                            (GSList *group,
                                             const gchar *label);
| group : | |
| label : | |
| Returns : | 
GtkWidget*  gnome_db_new_scrolled_window_widget
                                            (void);
| Returns : | 
GtkWidget*  gnome_db_new_table_widget       (gint rows,
                                             gint cols,
                                             gboolean homogenous);
| rows : | |
| cols : | |
| homogenous : | |
| Returns : | 
GtkWidget* gnome_db_new_text_widget (const gchar *contents);
| contents : | |
| Returns : | 
GtkWidget*  gnome_db_new_toolbar_widget     (GtkOrientation orientation,
                                             GtkToolbarStyle style);
| orientation : | |
| style : | |
| Returns : | 
GtkWidget* gnome_db_new_tree_view_widget (GtkTreeModel *model);
| model : | |
| Returns : | 
GtkWidget*  gnome_db_new_vbox_widget        (gboolean homogenous,
                                             gint spacing);
| homogenous : | |
| spacing : | |
| Returns : | 
void        gnome_db_set_widget_bg_color    (GtkWidget *widget,
                                             const gchar *color);
| widget : | |
| color : | 
void        gnome_db_set_widget_fg_color    (GtkWidget *widget,
                                             const gchar *color);
| widget : | |
| color : | 
GtkWidget*  gnome_db_option_menu_add_item   (GtkOptionMenu *option_menu,
                                             const gchar *label);
| option_menu : | |
| label : | |
| Returns : | 
GtkWidget*  gnome_db_option_menu_add_stock_item
                                            (GtkOptionMenu *option_menu,
                                             const gchar *stock_id);
| option_menu : | |
| stock_id : | |
| Returns : | 
void        gnome_db_option_menu_add_separator
                                            (GtkOptionMenu *option_menu);
| option_menu : | 
const gchar* gnome_db_option_menu_get_selection
                                            (GtkOptionMenu *option_menu);
| option_menu : | |
| Returns : | 
void        gnome_db_option_menu_set_selection
                                            (GtkOptionMenu *option_menu,
                                             const gchar *selection);
| option_menu : | |
| selection : | 
void gnome_db_text_clear (GtkTextView *text);
Clear the contents of the given text view widget.
| text : | a GtkTextView widget | 
gint gnome_db_text_get_char_count (GtkTextView *text);
| text : | |
| Returns : | 
gint gnome_db_text_get_line_count (GtkTextView *text);
| text : | |
| Returns : | 
void        gnome_db_text_insert_at_cursor  (GtkTextView *text,
                                             const gchar *contents,
                                             gint len);
| text : | |
| contents : | |
| len : | 
void        gnome_db_text_set_text          (GtkTextView *text,
                                             const gchar *contents,
                                             gint len);
| text : | |
| contents : | |
| len : | 
gchar*      gnome_db_select_file_dialog     (GtkWidget *parent,
                                             const gchar *title);
| parent : | |
| title : | |
| Returns : | 
GtkWidget*  gnome_db_new_alert              (GtkWindow *parent,
                                             GtkMessageType type,
                                             const gchar *primary_text,
                                             const gchar *secondary_text);
| parent : | |
| type : | |
| primary_text : | |
| secondary_text : | |
| Returns : | 
void        gnome_db_show_message           (const gchar *format,
                                             ...);Displays an information message to the user.
| format : | Format string. | 
| ... : | 
GtkWidget*  gnome_db_new_menu_item          (const gchar *label,
                                             gboolean pixmap,
                                             GCallback cb_func,
                                             gpointer user_data);
| label : | |
| pixmap : | |
| cb_func : | |
| user_data : | |
| Returns : | 
| << gnome-db-config | GnomeDbGrayBar >> |