| GdaBrowser hacking manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
GdauiBarPrivate; struct GdauiBar; GtkWidget * gdaui_bar_new (const gchar *text); const gchar * gdaui_bar_get_text (GdauiBar *bar); void gdaui_bar_set_text (GdauiBar *bar,const gchar *text); void gdaui_bar_set_icon_from_pixbuf (GdauiBar *bar,GdkPixbuf *pixbuf); void gdaui_bar_set_icon_from_file (GdauiBar *bar,const gchar *file); void gdaui_bar_set_icon_from_stock (GdauiBar *bar,const gchar *stock_id,GtkIconSize size); void gdaui_bar_set_show_icon (GdauiBar *bar,gboolean show); gboolean gdaui_bar_get_show_icon (GdauiBar *bar);
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GtkBox +----GdauiBar
GtkWidget * gdaui_bar_new (const gchar *text);
Creates a new GdauiBar object.
Returns : |
a new GdauiBar object |
const gchar * gdaui_bar_get_text (GdauiBar *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 GdauiBar widget. |
Returns : |
the text in the widget. |
void gdaui_bar_set_text (GdauiBar *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 GdauiBar widget |
|
a string |
void gdaui_bar_set_icon_from_pixbuf (GdauiBar *bar,GdkPixbuf *pixbuf);
void gdaui_bar_set_icon_from_file (GdauiBar *bar,const gchar *file);
void gdaui_bar_set_icon_from_stock (GdauiBar *bar,const gchar *stock_id,GtkIconSize size);
void gdaui_bar_set_show_icon (GdauiBar *bar,gboolean show);
Set the icon displaying mode for the given grid.
|
a GdauiBar widget. |
|
whether to show the icon or not. |