diff options
author | Andy Hertzfeld <andy@src.gnome.org> | 2000-04-21 00:33:59 +0000 |
---|---|---|
committer | Andy Hertzfeld <andy@src.gnome.org> | 2000-04-21 00:33:59 +0000 |
commit | c0a856a87192b81c0980a131fe2b36811670fc88 (patch) | |
tree | 0a6f61b6380b1bec96745e2ec37ca48100e43edf /libnautilus-extensions/nautilus-gtk-extensions.h | |
parent | 145a020c4a79497a025c5fe9dd4af713b207ccf1 (diff) | |
download | nautilus-c0a856a87192b81c0980a131fe2b36811670fc88.tar.gz |
added utilities to libnautilus-extensions to set the font associated with
added utilities to libnautilus-extensions to set the font associated
with a widget, then used them in the package view.
Diffstat (limited to 'libnautilus-extensions/nautilus-gtk-extensions.h')
-rw-r--r-- | libnautilus-extensions/nautilus-gtk-extensions.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libnautilus-extensions/nautilus-gtk-extensions.h b/libnautilus-extensions/nautilus-gtk-extensions.h index 61f1f5187..3aaa6591b 100644 --- a/libnautilus-extensions/nautilus-gtk-extensions.h +++ b/libnautilus-extensions/nautilus-gtk-extensions.h @@ -54,9 +54,16 @@ void nautilus_gtk_object_list_unref void nautilus_gtk_object_list_free (GList *list); /* GtkWidget */ -gboolean nautilus_point_in_allocation (const GtkAllocation *allocation, +gboolean nautilus_point_in_allocation (const GtkAllocation *allocation, int x, int y); + +void nautilus_gtk_widget_set_font (GtkWidget *widget, + GdkFont *font); + +void nautilus_gtk_widget_set_font_by_name (GtkWidget *widget, + const char *font_name); + gboolean nautilus_point_in_widget (GtkWidget *widget, int x, int y); |