X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkscrollable.h;h=a6e292f97786672ffd8c410fedf377a717405a5d;hb=cb27c4b08c278ac7e8a882b638dbf30acd1436cf;hp=ce881a009ef166b26716446a94667c4e2986417c;hpb=55196a705f00564a44647bfc97981db0a783369a;p=~andy%2Fgtk diff --git a/gtk/gtkscrollable.h b/gtk/gtkscrollable.h index ce881a009..a6e292f97 100644 --- a/gtk/gtkscrollable.h +++ b/gtk/gtkscrollable.h @@ -12,19 +12,18 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library. If not, see . */ +#ifndef __GTK_SCROLLABLE_H__ +#define __GTK_SCROLLABLE_H__ + #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." #endif -#ifndef __GTK_SCROLLABLE_H__ -#define __GTK_SCROLLABLE_H__ - -#include +#include +#include G_BEGIN_DECLS @@ -42,19 +41,19 @@ struct _GtkScrollableInterface }; /* Public API */ -GType gtk_scrollable_get_type (void) G_GNUC_CONST; -GtkAdjustment *gtk_scrollable_get_hadjustment (GtkScrollable *scrollable); -void gtk_scrollable_set_hadjustment (GtkScrollable *scrollable, - GtkAdjustment *hadjustment); -GtkAdjustment *gtk_scrollable_get_vadjustment (GtkScrollable *scrollable); -void gtk_scrollable_set_vadjustment (GtkScrollable *scrollable, - GtkAdjustment *vadjustment); -gint gtk_scrollable_get_min_display_width (GtkScrollable *scrollable); -void gtk_scrollable_set_min_display_width (GtkScrollable *scrollable, - gint width); -gint gtk_scrollable_get_min_display_height (GtkScrollable *scrollable); -void gtk_scrollable_set_min_display_height (GtkScrollable *scrollable, - gint height); +GType gtk_scrollable_get_type (void) G_GNUC_CONST; +GtkAdjustment *gtk_scrollable_get_hadjustment (GtkScrollable *scrollable); +void gtk_scrollable_set_hadjustment (GtkScrollable *scrollable, + GtkAdjustment *hadjustment); +GtkAdjustment *gtk_scrollable_get_vadjustment (GtkScrollable *scrollable); +void gtk_scrollable_set_vadjustment (GtkScrollable *scrollable, + GtkAdjustment *vadjustment); +GtkScrollablePolicy gtk_scrollable_get_hscroll_policy (GtkScrollable *scrollable); +void gtk_scrollable_set_hscroll_policy (GtkScrollable *scrollable, + GtkScrollablePolicy policy); +GtkScrollablePolicy gtk_scrollable_get_vscroll_policy (GtkScrollable *scrollable); +void gtk_scrollable_set_vscroll_policy (GtkScrollable *scrollable, + GtkScrollablePolicy policy); G_END_DECLS