![]() |
![]() |
![]() |
libgnomedb Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
GnomeDbGrayBarPrivate; GtkWidget * gnome_db_gray_bar_new (const gchar *label
); const gchar * gnome_db_gray_bar_get_text (GnomeDbGrayBar *bar
); void gnome_db_gray_bar_set_text (GnomeDbGrayBar *bar
,const gchar *text
); void gnome_db_gray_bar_set_icon_from_file (GnomeDbGrayBar *bar
,const gchar *file
); void gnome_db_gray_bar_set_icon_from_stock (GnomeDbGrayBar *bar
,const gchar *stock_id
,GtkIconSize size
); void gnome_db_gray_bar_set_show_icon (GnomeDbGrayBar *bar
,gboolean show
); gboolean gnome_db_gray_bar_get_show_icon (GnomeDbGrayBar *bar
);
const gchar * gnome_db_gray_bar_get_text (GnomeDbGrayBar *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 GnomeDbGrayBar widget. |
Returns : |
the text in the widget. |
void gnome_db_gray_bar_set_text (GnomeDbGrayBar *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 GnomeDbGrayBar widget |
void gnome_db_gray_bar_set_icon_from_file (GnomeDbGrayBar *bar
,const gchar *file
);
|
|
|
void gnome_db_gray_bar_set_icon_from_stock (GnomeDbGrayBar *bar
,const gchar *stock_id
,GtkIconSize size
);
|
|
|
|
|
void gnome_db_gray_bar_set_show_icon (GnomeDbGrayBar *bar
,gboolean show
);
Set the icon displaying mode for the given grid.
|
a GnomeDbGrayBar widget. |
|
whether to show the icon or not. |
gboolean gnome_db_gray_bar_get_show_icon (GnomeDbGrayBar *bar
);
Get whether the icon is being shown for the given gray bar.
|
a GnomeDbGrayBar widget. |
Returns : |
TRUE if the icon is shown, FALSE if not. |