pidgin/pidgin

closing merged branch
port-changes-from-branch-2.x.y-to-default
2020-02-03, Gary Kramlich
2f836435c33c
closing merged branch
/* GTK - The GIMP Toolkit
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02111-1301, USA.
*/
/*
* Copyright 2000 Syd Logan
*/
#ifndef __GTK_TICKER_H__
#define __GTK_TICKER_H__
#include <gdk/gdk.h>
#include <gtk/gtk.h>
#include <purple.h>
G_BEGIN_DECLS
#define GTK_TYPE_TICKER gtk_ticker_get_type()
typedef struct _GtkTickerChild GtkTickerChild;
/* XXX children move from right to left, should be able to go other way */
struct _GtkTickerChild
{
GtkWidget *widget;
gint x; /* current position */
gint offset; /* offset in list */
};
G_MODULE_EXPORT
G_DECLARE_FINAL_TYPE(GtkTicker, gtk_ticker, GTK, TICKER, GtkContainer)
G_GNUC_INTERNAL
void gtk_ticker_register(PurplePlugin *plugin);
GtkWidget* gtk_ticker_new (void);
void gtk_ticker_add (GtkTicker *ticker,
GtkWidget *widget);
void gtk_ticker_remove (GtkTicker *ticker,
GtkWidget *widget);
void gtk_ticker_set_interval (GtkTicker *ticker,
gint interval);
guint gtk_ticker_get_interval (GtkTicker *ticker);
void gtk_ticker_set_spacing (GtkTicker *ticker,
gint spacing);
guint gtk_ticker_get_spacing (GtkTicker *ticker);
void gtk_ticker_set_scootch (GtkTicker *ticker,
gint scootch);
guint gtk_ticker_get_scootch (GtkTicker *ticker);
void gtk_ticker_start_scroll (GtkTicker *ticker);
void gtk_ticker_stop_scroll (GtkTicker *ticker);
G_END_DECLS
#endif /* __GTK_TICKER_H__ */