Xfce Foundation Classes
Main Page | Index | Namespace List | Alphabetical List | Class List | File List

# spinbutton.hh File Reference

A GtkSpinButton C++ wrapper interface. More...

`#include <xfc/gtk/entry.hh>`
`#include <gtk/gtkspinbutton.h>`
`#include <xfc/gtk/inline/spinbutton.inl>`

## Namespaces

- namespace Xfc
- namespace Xfc::Gtk

## Classes

- class Xfc::Gtk::SpinButton
    A GtkSpinButton C++ wrapper class. More...

## Enumerations

- enum SpinType {
  SPIN_STEP_FORWARD = GTK_SPIN_STEP_FORWARD,
  SPIN_STEP_BACKWARD = GTK_SPIN_STEP_BACKWARD,
  SPIN_PAGE_FORWARD = GTK_SPIN_PAGE_FORWARD,
  SPIN_PAGE_BACKWARD = GTK_SPIN_PAGE_BACKWARD,
  SPIN_HOME = GTK_SPIN_HOME,
  SPIN_END = GTK_SPIN_END,
  SPIN_USER_DEFINED = GTK_SPIN_USER_DEFINED
  }
    SpinType defines the types of spin movement that can occur. More...
- enum SpinButtonUpdatePolicy {
  UPDATE_ALWAYS = GTK_UPDATE_ALWAYS,
  UPDATE_IF_VALID = GTK_UPDATE_IF_VALID
  }
    SpinButtonUpdatePolicy determines how the spin button should be updated. More...

## Detailed Description

A GtkSpinButton C++ wrapper interface.

Provides SpinButton, a widget that allows the user to set the value of some attribute.

## Enumeration Type Documentation

enum SpinButtonUpdatePolicy

  | SpinButtonUpdatePolicy determines how the spin button should be updated. Enumeration values:
  UPDATE_ALWAYS | When refreshing your SpinButton, the value is always displayed.
  UPDATE_IF_VALID | When refreshing your SpinButton, the value is only displayed if it is valid within the bounds of the spin button's Adjustment.

enum SpinType

  | SpinType defines the types of spin movement that can occur. The ammount of spin is defined by the spin buttons adjustment. Enumeration values:
  SPIN_STEP_FORWARD | Spin forward by one step value.
  SPIN_STEP_BACKWARD | Spin backward by one step value.
  SPIN_PAGE_FORWARD | Spin forward by one page value.
  SPIN_PAGE_BACKWARD | Spin backward by one page value.
  SPIN_HOME | Spin to the minimum value.
  SPIN_END | Spin to maximum value.
  SPIN_USER_DEFINED | Spin by an ammount specified by the user.

Xfce Foundation Classes

Copyright © 2004-2005 The XFC Development Team | XFC 4.3