Etk
Main Page Object Hierarchy Data Structures Related Pages
Etk

Etk_Separator


Detailed Description

A separator is graphical bar used to separate two groups of widgets.

separator.png
Etk_Separator is the base class for Etk_HSeparator (horizontal separator) and Etk_VSeparator (vertical separator)

Object Hierarchy:
  • Etk_Object
    • Etk_Widget
      • Etk_Separator
        • Etk_HSeparator
        • Etk_VSeparator


Data Structures

struct  Etk_Separator
 [Widget] The structure of a separator More...
struct  Etk_HSeparator
 [Widget] The structure of a hseparator More...
struct  Etk_VSeparator
 [Widget] The structure of a vseparator More...

Defines

#define ETK_SEPARATOR_TYPE   (etk_separator_type_get())
#define ETK_SEPARATOR(obj)   (ETK_OBJECT_CAST((obj), ETK_SEPARATOR_TYPE, Etk_Separator))
#define ETK_IS_SEPARATOR(obj)   (ETK_OBJECT_CHECK_TYPE((obj), ETK_SEPARATOR_TYPE))
#define ETK_HSEPARATOR_TYPE   (etk_hseparator_type_get())
#define ETK_HSEPARATOR(obj)   (ETK_OBJECT_CAST((obj), ETK_HSEPARATOR_TYPE, Etk_HSeparator))
#define ETK_IS_HSEPARATOR(obj)   (ETK_OBJECT_CHECK_TYPE((obj), ETK_HSEPARATOR_TYPE))
#define ETK_VSEPARATOR_TYPE   (etk_vseparator_type_get())
#define ETK_VSEPARATOR(obj)   (ETK_OBJECT_CAST((obj), ETK_VSEPARATOR_TYPE, Etk_VSeparator))
#define ETK_IS_VSEPARATOR(obj)   (ETK_OBJECT_CHECK_TYPE((obj), ETK_VSEPARATOR_TYPE))

Functions

Etk_Widget * etk_hseparator_new (void)
 Creates a new hseparator.
Etk_Widget * etk_vseparator_new (void)
 Creates a new vseparator.


Define Documentation

#define ETK_SEPARATOR_TYPE   (etk_separator_type_get())

Gets the type of a separator

#define ETK_SEPARATOR ( obj   )     (ETK_OBJECT_CAST((obj), ETK_SEPARATOR_TYPE, Etk_Separator))

Casts the object to an Etk_Separator

#define ETK_IS_SEPARATOR ( obj   )     (ETK_OBJECT_CHECK_TYPE((obj), ETK_SEPARATOR_TYPE))

Checks if the object is a Etk_Separator

#define ETK_HSEPARATOR_TYPE   (etk_hseparator_type_get())

Gets the type of a hseparator

#define ETK_HSEPARATOR ( obj   )     (ETK_OBJECT_CAST((obj), ETK_HSEPARATOR_TYPE, Etk_HSeparator))

Casts the object to an Etk_HSeparator

#define ETK_IS_HSEPARATOR ( obj   )     (ETK_OBJECT_CHECK_TYPE((obj), ETK_HSEPARATOR_TYPE))

Checks if the object is an Etk_HSeparator

#define ETK_VSEPARATOR_TYPE   (etk_vseparator_type_get())

Gets the type of a vseparator

#define ETK_VSEPARATOR ( obj   )     (ETK_OBJECT_CAST((obj), ETK_VSEPARATOR_TYPE, Etk_VSeparator))

Casts the object to an Etk_VSeparator

#define ETK_IS_VSEPARATOR ( obj   )     (ETK_OBJECT_CHECK_TYPE((obj), ETK_VSEPARATOR_TYPE))

Checks if the object is an Etk_VSeparator


Function Documentation

Etk_Widget * etk_hseparator_new ( void   ) 

Creates a new hseparator.

Returns:
Returns the new hseparator widget

Etk_Widget * etk_vseparator_new ( void   ) 

Creates a new vseparator.

Returns:
Returns the new vseparator widget