/*
* Abstract base class for dynamic control widgets
*
* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
* bulia byak <buliabyak@users.sf.net>
* Jon A. Cruz <jon@joncruz.org>
*
* Copyright (C) 1999-2002 Lauris Kaplinski
* Copyright (C) 2000-2001 Ximian, Inc.
* Copyright (C) 2012 Authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "macros.h"
#include "document.h"
#include "inkscape.h"
#include "sp-widget.h"
#include "helper/sp-marshal.h"
using Inkscape::SPWidgetImpl;
enum {
};
namespace Inkscape {
class SPWidgetImpl
{
public:
~SPWidgetImpl();
#if GTK_CHECK_VERSION(3,0,0)
#else
#endif
private:
};
} // namespace Inkscape
static void
{
G_TYPE_NONE, 0);
G_TYPE_NONE, 1,
G_TYPE_NONE, 2,
G_TYPE_NONE, 1,
#if GTK_CHECK_VERSION(3,0,0)
#else
#endif
}
{
}
namespace Inkscape {
{
}
{
}
{
// Disconnect signals
if (Application::exists()) {
}
}
}
{
if (Application::exists()) {
// Connect signals
);
);
);
}
}
}
{
if (Application::exists()) {
// Disconnect signals
}
}
}
#if GTK_CHECK_VERSION(3,0,0)
#else
#endif
{
if (child) {
#if GTK_CHECK_VERSION(3,0,0)
#else
#endif
}
return FALSE;
}
#if GTK_CHECK_VERSION(3,0,0)
{
if(child) {
}
}
void SPWidgetImpl::getPreferredHeight(GtkWidget *widget, gint *minimal_height, gint *natural_height)
{
if(child) {
}
}
#else
{
if (child) {
}
}
#endif
{
if (child) {
}
}
{
);
);
);
}
return GTK_WIDGET(spw);
}
{
}
{
}
{
}
{
}
{
}
{
// Emit "set_selection" signal
// Inkscape will force "change_selection" anyways
}
} // namespace Inkscape
// Methods
{
spw = 0;
}
}
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :