| GdaBrowser hacking manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
CcGrayBarPrivate; struct CcGrayBar; GtkWidget * cc_gray_bar_new (const gchar *label); const gchar * cc_gray_bar_get_text (CcGrayBar *bar); void cc_gray_bar_set_text (CcGrayBar *bar,const gchar *text); void cc_gray_bar_set_icon_from_pixbuf (CcGrayBar *bar,GdkPixbuf *pixbuf); void cc_gray_bar_set_icon_from_file (CcGrayBar *bar,const gchar *file); void cc_gray_bar_set_icon_from_stock (CcGrayBar *bar,const gchar *stock_id,GtkIconSize size); void cc_gray_bar_set_show_icon (CcGrayBar *bar,gboolean show); gboolean cc_gray_bar_get_show_icon (CcGrayBar *bar);
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----CcGrayBar
GtkWidget * cc_gray_bar_new (const gchar *label);
Creates a new CcGrayBar with a single label.
|
a string label |
Returns : |
a new widget |
const gchar * cc_gray_bar_get_text (CcGrayBar *bar);
Get the text being displayed in the given gray bar widget. This does not include any embedded underlines indicating mnemonics or Pango markup.
|
a CcGrayBar widget. |
Returns : |
the text in the widget. |
void cc_gray_bar_set_text (CcGrayBar *bar,const gchar *text);
Set the text displayed in the given gray bar widget. This can include embedded underlines indicating mnemonics or Pango markup.
|
a CcGrayBar widget |
|
a string |
void cc_gray_bar_set_icon_from_pixbuf (CcGrayBar *bar,GdkPixbuf *pixbuf);
void cc_gray_bar_set_icon_from_file (CcGrayBar *bar,const gchar *file);
void cc_gray_bar_set_icon_from_stock (CcGrayBar *bar,const gchar *stock_id,GtkIconSize size);
void cc_gray_bar_set_show_icon (CcGrayBar *bar,gboolean show);
Set the icon displaying mode for the given grid.
|
a CcGrayBar widget. |
|
whether to show the icon or not. |