Rapicorn - Experimental UI Toolkit - Source Code 10.08.1
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
Rapicorn Namespace Reference

Namespaces

namespace  Path
 

The Rapicorn::Path namespace provides functions for file path manipulation and testing.


Classes

class  Generator
struct  EnumClass
struct  EnumType
struct  FlagsType
struct  PollFD
 Mirrors struct pollfd for poll(3posix) More...
class  EventFd
 Wakeup facility for IPC. More...
class  EventLoop
 Loop object, polling for events and executing callbacks in accordance. More...
class  MainLoop
 An EventLoop implementation that offers public API for running the loop. More...
struct  InitSettings
class  InitHook
class  MarkupParser
class  Pixbuf
class  Pixmap
class  TestStream
struct  Msg
class  Mutex
class  RecMutex
class  Cond
class  SpinLock
class  OwnedMutex
class  Thread
class  ScopedLock
class  XmlNode
class  Strings
 < Convenience Constructor for StringList or std::vector<std::string> More...
class  TraitConvertible
class  VirtualTypeid
class  NonCopyable
struct  ClassDoctor
class  Logging
class  IdAllocator
class  Deletable
class  ReferenceCountable
class  Locatable
class  DataKey
class  DataList
class  DataListContainer
interface  BaseObject
class  NullInterface
class  Adjustment
class  AdjustmentSource
class  ApplicationImpl
class  Arrangement
class  ArrangementImpl
struct  Activatable
class  ButtonAreaImpl
class  CairoContext
class  CairoPainter
struct  AnySeq_Handle
struct  AnySeqSeq_Handle
struct  StringList_Handle
class  ListModel_SmartHandle
 See also the corresponding IDL class ListModel. More...
class  ListModelRelay_SmartHandle
 See also the corresponding IDL class ListModelRelay. More...
struct  Requisition_Handle
struct  ItemSeq_Handle
class  Item_SmartHandle
 See also the corresponding IDL class Item. More...
class  Container_SmartHandle
 See also the corresponding IDL class Container. More...
class  ButtonArea_SmartHandle
 See also the corresponding IDL class ButtonArea. More...
struct  Pixels_Handle
struct  PixelRect_Handle
class  Drawable_SmartHandle
 See also the corresponding IDL class Drawable. More...
class  Wind0w_SmartHandle
 See also the corresponding IDL class Wind0w. More...
struct  Wind0wList_Handle
class  Application_SmartHandle
 See also the corresponding IDL class Application. More...
class  IdlTestItem_SmartHandle
 See also the corresponding IDL class IdlTestItem. More...
class  Coffer
struct  Command
struct  CommandList
struct  CommandDataArg
struct  CommandData
struct  CommandArg
struct  CommandSimple
struct  ComponentMatcher
struct  ComponentMatcherExpression
struct  ComponentMatcherSegment
struct  ContainerImpl
class  SingleContainerImpl
class  MultiContainerImpl
struct  Evaluator
class  Event
class  EventButton
class  EventKey
struct  EventWinSize
struct  EventWinDraw
struct  EventContext
class  ItemFactory
class  Heritage
class  Image
interface  AnySeq
interface  AnySeqSeq
interface  StringList
interface  ListModel
interface  ListModelRelay
interface  Requisition
interface  ItemSeq
interface  Item
interface  Container
interface  ButtonArea
interface  Pixels
interface  PixelRect
interface  Drawable
interface  Wind0w
interface  Wind0wList
interface  Application
interface  IdlTestItem
class  EventHandler
class  ItemImpl
class  Alignment
class  HBox
class  VBox
class  ItemList
struct  ListRow
struct  ModelSizes
class  ItemListImpl
class  ListModelRelayImpl
class  MemoryListStore
class  Ambience
class  Frame
class  FocusFrame
class  CPainter
class  Arrow
class  DotGrid
class  DrawableImpl
class  Point
class  Rect
struct  IRect
class  Color
class  Affine
struct  AffineIdentity
struct  AffineHFlip
struct  AffineVFlip
struct  AffineTranslate
struct  AffineScale
struct  AffineRotate
struct  AffineShear
class  Display
struct  Property
class  PropertyList
struct  PropertyBool
struct  PropertyRange
struct  PropertyPoint
struct  PropertyString
struct  PropertyEnum
class  Region
class  ScrollArea
class  ScrollAreaImpl
struct  AnySeqImpl
struct  AnySeqSeqImpl
struct  StringListImpl
class  ListModelIface
 See also the corresponding IDL class ListModel. More...
class  ListModelRelayIface
 See also the corresponding IDL class ListModelRelay. More...
struct  RequisitionImpl
struct  ItemSeqImpl
class  ItemIface
 See also the corresponding IDL class Item. More...
class  ContainerIface
 See also the corresponding IDL class Container. More...
class  ButtonAreaIface
 See also the corresponding IDL class ButtonArea. More...
struct  PixelsImpl
struct  PixelRectImpl
class  DrawableIface
 See also the corresponding IDL class Drawable. More...
class  Wind0wIface
 See also the corresponding IDL class Wind0w. More...
struct  Wind0wListImpl
class  ApplicationIface
 See also the corresponding IDL class Application. More...
class  IdlTestItemIface
 See also the corresponding IDL class IdlTestItem. More...
class  Sinfex
class  SinfexExpressionStack
class  SizeGroup
class  SliderArea
class  Table
class  TableImpl
class  TestContainer
class  TestBox
class  TextLayout
class  TextPango
struct  Exception
struct  NullPointer
struct  EnforceDerivedFrom
struct  EnforceDerivedFrom< Derived *, Base * >
class  CheckDerivedFrom
struct  CheckDerivedFrom< Child *, Base * >
struct  Dereference< Type * >
struct  Dereference< Type *const >
struct  Dereference< const Type * >
struct  Dereference< const Type *const >
class  PointerIterator
struct  ValueIterator
class  IteratorRange
class  ValueIteratorRange
class  Walker
class  Viewp0rt
class  WindowImpl

Typedefs

typedef EnumType
< AdjustmentSourceType
EnumTypeAdjustmentSourceType
typedef EnumType< AlignTypeEnumTypeAlignType
typedef EnumType< AnchorTypeEnumTypeAnchorType
typedef EnumType< ClickTypeEnumTypeClickType
typedef EnumType< ColorTypeEnumTypeColorType
typedef EnumType< ColorSchemeTypeEnumTypeColorSchemeType
typedef EnumType< DirTypeEnumTypeDirType
typedef EnumType< EllipsizeTypeEnumTypeEllipsizeType
typedef EnumType< FocusDirTypeEnumTypeFocusDirType
typedef EnumType< FrameTypeEnumTypeFrameType
typedef EnumType< LightingTypeEnumTypeLightingType
typedef EnumType< SelectionModeEnumTypeSelectionMode
typedef EnumType< SizePolicyTypeEnumTypeSizePolicyType
typedef FlagsType< StateTypeFlagsTypeStateType
typedef EnumType< TextModeEnumTypeTextMode
typedef EnumType< WindowTypeEnumTypeWindowType
typedef MarkupParser::Error MarkupError
typedef MarkupParser::ErrorType MarkupErrorType
typedef MarkupParser::Context MarkupParserContext
typedef RapicornCPUInfo CPUInfo
typedef
ThreadDescendant::PublicThreadWrapperInternal 
ThreadWrapperInternal
typedef std::map< Deletable
*, DeletableAuxData >
::iterator 
DMapIterator
typedef RapicornUInt8 uint8
typedef RapicornUInt16 uint16
typedef RapicornUInt32 uint32
typedef RapicornUInt64 uint64
typedef RapicornInt8 int8
typedef RapicornInt16 int16
typedef RapicornInt32 int32
typedef RapicornInt64 int64
typedef RapicornUnichar unichar
typedef std::string String
typedef vector< String > StringVector
typedef AnySeq_Handle AnySeq
 Convenience alias for the IDL type AnySeq.
typedef AnySeqSeq_Handle AnySeqSeq
 Convenience alias for the IDL type AnySeqSeq.
typedef StringList_Handle StringList
 Convenience alias for the IDL type StringList.
typedef ListModel_SmartHandle ListModel
 Convenience alias for the IDL type ListModel.
typedef ListModelRelay_SmartHandle ListModelRelay
 Convenience alias for the IDL type ListModelRelay.
typedef Requisition_Handle Requisition
 Convenience alias for the IDL type Requisition.
typedef ItemSeq_Handle ItemSeq
 Convenience alias for the IDL type ItemSeq.
typedef Item_SmartHandle Item
 Convenience alias for the IDL type Item.
typedef Container_SmartHandle Container
 Convenience alias for the IDL type Container.
typedef ButtonArea_SmartHandle ButtonArea
 Convenience alias for the IDL type ButtonArea.
typedef Pixels_Handle Pixels
 Convenience alias for the IDL type Pixels.
typedef PixelRect_Handle PixelRect
 Convenience alias for the IDL type PixelRect.
typedef Drawable_SmartHandle Drawable
 Convenience alias for the IDL type Drawable.
typedef Wind0w_SmartHandle Wind0w
 Convenience alias for the IDL type Wind0w.
typedef Wind0wList_Handle Wind0wList
 Convenience alias for the IDL type Wind0wList.
typedef Application_SmartHandle Application
 Convenience alias for the IDL type Application.
typedef IdlTestItem_SmartHandle IdlTestItem
 Convenience alias for the IDL type IdlTestItem.
typedef Evaluator::VariableMapList VariableMapList
typedef Event EventMouse
typedef Event EventScroll
typedef Event EventFocus
typedef Event EventWinDelete
typedef Color(* ColorFunc )(StateType, ColorType)
typedef Rect Allocation
typedef Signals::Slot1< void,
ItemImpl & > 
ItemSlot

Enumerations

enum  AdjustmentSourceType { ADJUSTMENT_SOURCE_NONE, ADJUSTMENT_SOURCE_ANCESTRY_HORIZONTAL, ADJUSTMENT_SOURCE_ANCESTRY_VERTICAL, ADJUSTMENT_SOURCE_ANCESTRY_VALUE }
enum  AlignType { ALIGN_LEFT, ALIGN_CENTER, ALIGN_RIGHT }
enum  AnchorType {
  ANCHOR_NONE, ANCHOR_CENTER, ANCHOR_EAST, ANCHOR_NORTH_EAST,
  ANCHOR_NORTH, ANCHOR_NORTH_WEST, ANCHOR_WEST, ANCHOR_SOUTH_WEST,
  ANCHOR_SOUTH, ANCHOR_SOUTH_EAST
}
enum  ClickType {
  CLICK_ON_PRESS, CLICK_ON_RELEASE, CLICK_SLOW_REPEAT, CLICK_FAST_REPEAT,
  CLICK_KEY_REPEAT
}
enum  ColorType {
  COLOR_NONE, COLOR_FOREGROUND, COLOR_BACKGROUND, COLOR_BACKGROUND_EVEN,
  COLOR_BACKGROUND_ODD, COLOR_DARK, COLOR_DARK_SHADOW, COLOR_DARK_GLINT,
  COLOR_LIGHT, COLOR_LIGHT_SHADOW, COLOR_LIGHT_GLINT, COLOR_FOCUS,
  COLOR_BLACK, COLOR_WHITE, COLOR_RED, COLOR_YELLOW,
  COLOR_GREEN, COLOR_CYAN, COLOR_BLUE, COLOR_MAGENTA
}
enum  ColorSchemeType { COLOR_INHERIT, COLOR_NORMAL, COLOR_SELECTED, COLOR_BASE }
enum  DirType {
  DIR_NONE, DIR_RIGHT, DIR_UP, DIR_LEFT,
  DIR_DOWN
}
enum  EllipsizeType { ELLIPSIZE_START, ELLIPSIZE_MIDDLE, ELLIPSIZE_END }
enum  FocusDirType {
  FOCUS_NEXT, FOCUS_PREV, FOCUS_RIGHT, FOCUS_UP,
  FOCUS_LEFT, FOCUS_DOWN
}
enum  FrameType {
  FRAME_NONE, FRAME_BACKGROUND, FRAME_IN, FRAME_OUT,
  FRAME_ETCHED_IN, FRAME_ETCHED_OUT, FRAME_FOCUS, FRAME_ALERT_FOCUS
}
enum  LightingType {
  LIGHTING_NONE, LIGHTING_UPPER_LEFT, LIGHTING_UPPER_RIGHT, LIGHTING_LOWER_LEFT,
  LIGHTING_LOWER_RIGHT, LIGHTING_CENTER, LIGHTING_DIFFUSE, LIGHTING_DARK_UPPER_LEFT,
  LIGHTING_DARK_UPPER_RIGHT, LIGHTING_DARK_LOWER_LEFT, LIGHTING_DARK_LOWER_RIGHT, LIGHTING_DARK_CENTER,
  LIGHTING_DARK_DIFFUSE
}
enum  SelectionMode {
  SELECTION_NONE, SELECTION_BROWSE, SELECTION_SINGLE, SELECTION_INTERVAL,
  SELECTION_MULTIPLE
}
enum  SizePolicyType { SIZE_POLICY_NORMAL, SIZE_POLICY_WIDTH_FROM_HEIGHT, SIZE_POLICY_HEIGHT_FROM_WIDTH }
enum  StateType {
  STATE_INSENSITIVE, STATE_PRELIGHT, STATE_IMPRESSED, STATE_FOCUS,
  STATE_DEFAULT
}
enum  TextMode { TEXT_MODE_WRAPPED, TEXT_MODE_ELLIPSIZED, TEXT_MODE_SINGLE_LINE }
enum  WindowType {
  WINDOW_TYPE_NORMAL, WINDOW_TYPE_DESKTOP, WINDOW_TYPE_DOCK, WINDOW_TYPE_TOOLBAR,
  WINDOW_TYPE_MENU, WINDOW_TYPE_UTILITY, WINDOW_TYPE_SPLASH, WINDOW_TYPE_DIALOG,
  WINDOW_TYPE_DROPDOWN_MENU, WINDOW_TYPE_POPUP_MENU, WINDOW_TYPE_TOOLTIP, WINDOW_TYPE_NOTIFICATION,
  WINDOW_TYPE_COMBO, WINDOW_TYPE_DND
}
enum  { WAITING, PREPARED, NEEDS_DISPATCH }
enum  GMarkupParseState {
  STATE_START, STATE_AFTER_OPEN_ANGLE, STATE_AFTER_CLOSE_ANGLE, STATE_AFTER_ELISION_SLASH,
  STATE_INSIDE_OPEN_TAG_NAME, STATE_INSIDE_ATTRIBUTE_NAME, STATE_AFTER_ATTRIBUTE_NAME, STATE_BETWEEN_ATTRIBUTES,
  STATE_AFTER_ATTRIBUTE_EQUALS_SIGN, STATE_INSIDE_ATTRIBUTE_VALUE_SQ, STATE_INSIDE_ATTRIBUTE_VALUE_DQ, STATE_INSIDE_TEXT,
  STATE_AFTER_CLOSE_TAG_SLASH, STATE_INSIDE_CLOSE_TAG_NAME, STATE_AFTER_CLOSE_TAG_NAME, STATE_INSIDE_PASSTHROUGH,
  STATE_ERROR
}
enum  LockState { BALANCED, AUTOLOCK }
enum  TestEnum {
  TEST_ENUM_VALUE1, TEST_ENUM_VALUE2, TEST_ENUM_VALUE3, TEST_ENUM_VALUE1,
  TEST_ENUM_VALUE2, TEST_ENUM_VALUE3, TEST_ENUM_VALUE1, TEST_ENUM_VALUE2,
  TEST_ENUM_VALUE3
}
enum  ModifierState {
  MOD_0, MOD_SHIFT, MOD_CAPS_LOCK, MOD_CONTROL,
  MOD_ALT, MOD_MOD1, MOD_MOD2, MOD_MOD3,
  MOD_MOD4, MOD_MOD5, MOD_BUTTON1, MOD_BUTTON2,
  MOD_BUTTON3, MOD_KEY_MASK, MOD_MASK
}
enum  KeyValue
enum  EventType {
  EVENT_NONE, MOUSE_ENTER, MOUSE_MOVE, MOUSE_LEAVE,
  BUTTON_PRESS, BUTTON_2PRESS, BUTTON_3PRESS, BUTTON_CANCELED,
  BUTTON_RELEASE, BUTTON_2RELEASE, BUTTON_3RELEASE, FOCUS_IN,
  FOCUS_OUT, KEY_PRESS, KEY_CANCELED, KEY_RELEASE,
  SCROLL_UP, SCROLL_DOWN, SCROLL_LEFT, SCROLL_RIGHT,
  CANCEL_EVENTS, WIN_SIZE, WIN_DRAW, WIN_DELETE,
  EVENT_LAST
}
enum  TestEnum {
  TEST_ENUM_VALUE1, TEST_ENUM_VALUE2, TEST_ENUM_VALUE3, TEST_ENUM_VALUE1,
  TEST_ENUM_VALUE2, TEST_ENUM_VALUE3, TEST_ENUM_VALUE1, TEST_ENUM_VALUE2,
  TEST_ENUM_VALUE3
}
enum  CombineType {
  COMBINE_NORMAL, COMBINE_OVER, COMBINE_UNDER, COMBINE_ADD,
  COMBINE_DEL, COMBINE_ATOP, COMBINE_XOR, COMBINE_BLEND,
  COMBINE_VALUE
}
enum  TestEnum {
  TEST_ENUM_VALUE1, TEST_ENUM_VALUE2, TEST_ENUM_VALUE3, TEST_ENUM_VALUE1,
  TEST_ENUM_VALUE2, TEST_ENUM_VALUE3, TEST_ENUM_VALUE1, TEST_ENUM_VALUE2,
  TEST_ENUM_VALUE3
}
enum  SinfexOp {
  SINFEX_0, SINFEX_REAL, SINFEX_STRING, SINFEX_VARIABLE,
  SINFEX_ENTITY_VARIABLE, SINFEX_OR, SINFEX_AND, SINFEX_NOT,
  SINFEX_NEG, SINFEX_POS, SINFEX_ADD, SINFEX_SUB,
  SINFEX_MUL, SINFEX_DIV, SINFEX_POW, SINFEX_EQ,
  SINFEX_NE, SINFEX_LT, SINFEX_GT, SINFEX_LE,
  SINFEX_GE, SINFEX_ARG, SINFEX_FUNCTION
}

Functions

def strcquote
def error
def generate
template<typename EnumType >
EnumType enum_type_constrain (EnumType value)
LightingType operator& (LightingType s1, LightingType s2)
LightingTypeoperator&= (LightingType &s1, LightingType s2)
LightingType operator| (LightingType s1, LightingType s2)
LightingTypeoperator|= (LightingType &s1, LightingType s2)
StateType operator& (StateType s1, StateType s2)
StateTypeoperator&= (StateType &s1, StateType s2)
StateType operator| (StateType s1, StateType s2)
StateTypeoperator|= (StateType &s1, StateType s2)
 RAPICORN_STATIC_ASSERT (PollFD::IN==POLLIN)
 RAPICORN_STATIC_ASSERT (PollFD::PRI==POLLPRI)
 RAPICORN_STATIC_ASSERT (PollFD::OUT==POLLOUT)
 RAPICORN_STATIC_ASSERT (PollFD::RDNORM==POLLRDNORM)
 RAPICORN_STATIC_ASSERT (PollFD::RDBAND==POLLRDBAND)
 RAPICORN_STATIC_ASSERT (PollFD::WRNORM==POLLWRNORM)
 RAPICORN_STATIC_ASSERT (PollFD::WRBAND==POLLWRBAND)
 RAPICORN_STATIC_ASSERT (PollFD::ERR==POLLERR)
 RAPICORN_STATIC_ASSERT (PollFD::HUP==POLLHUP)
 RAPICORN_STATIC_ASSERT (PollFD::NVAL==POLLNVAL)
 RAPICORN_STATIC_ASSERT (sizeof(PollFD)==sizeof(struct pollfd))
 RAPICORN_STATIC_ASSERT (offsetof(PollFD, fd)==offsetof(struct pollfd, fd))
 RAPICORN_STATIC_ASSERT (sizeof(((PollFD *) 0)->fd)==sizeof(((struct pollfd *) 0)->fd))
 RAPICORN_STATIC_ASSERT (offsetof(PollFD, events)==offsetof(struct pollfd, events))
 RAPICORN_STATIC_ASSERT (sizeof(((PollFD *) 0)->events)==sizeof(((struct pollfd *) 0)->events))
 RAPICORN_STATIC_ASSERT (offsetof(PollFD, revents)==offsetof(struct pollfd, revents))
 RAPICORN_STATIC_ASSERT (sizeof(((PollFD *) 0)->revents)==sizeof(((struct pollfd *) 0)->revents))
 m_ignore_errors (strchr(mode.c_str(), 'E')!=NULL)
 m_ignore_hangup (strchr(mode.c_str(), 'H')!=NULL)
 m_never_close (strchr(mode.c_str(), 'C')!=NULL)
 m_oneshot (false)
 m_btrampoline (ref_sink(&bt))
 m_oneshot (true)
 m_vtrampoline (ref_sink(&vt))
bool arg_parse_option (uint argc, char **argv, size_t *i, const char *arg)
bool arg_parse_string_option (uint argc, char **argv, size_t *i, const char *arg, const char **strp)
int arg_parse_collapse (int *argcp, char **argv)
String program_file ()
String program_ident ()
String program_cwd ()
void init_core (const String &app_ident, int *argcp, char **argv, const StringVector &args)
CPUInfo cpu_info (void)
String cpu_info_string (const CPUInfo &cpu_info)
int dtoi32 (double d) RAPICORN_CONST
int64 dtoi64 (double d) RAPICORN_CONST
int64 iround (double d) RAPICORN_CONST
int64 ifloor (double d) RAPICORN_CONST
int64 iceil (double d) RAPICORN_CONST
int RAPICORN_CONST _dtoi32_generic (double d)
int64 RAPICORN_CONST _dtoi64_generic (double d)
void once_list_enter ()
bool once_list_bounce (volatile void *ptr)
bool once_list_leave (volatile void *ptr)
template<class Value >
bool once_enter (volatile Value *value_location)
template<class Value >
void once_leave (volatile Value *value_location, Value initialization_value)
unichar utf8_to_unichar (const char *str)
int utf8_from_unichar (unichar uc, char str[8])
bool utf8_validate (const String &strng, int *bound)
const char * utf8_next (const char *c)
char * utf8_next (char *c)
const char * utf8_prev (const char *c)
char * utf8_prev (char *c)
const char * utf8_find_next (const char *c, const char *bound=NULL)
char * utf8_find_next (char *current, const char *bound=NULL)
const char * utf8_find_prev (const char *start, const char *current)
char * utf8_find_prev (const char *start, char *currrent)
const char * utf8_align (const char *start, const char *current)
char * utf8_align (const char *start, char *current)
bool utf8_aligned (const char *c)
const char * rapicorn_gettext (const char *text)
String string_multiply (const String &s, uint64 count)
String string_tolower (const String &str)
String string_toupper (const String &str)
String string_totitle (const String &str)
String string_printf (const char *format,...)
String string_vprintf (const char *format, va_list vargs)
StringVector string_split (const String &string, const String &splitter)
String string_join (const String &junctor, const StringVector &strvec)
bool string_to_bool (const String &string)
String string_from_bool (bool value)
uint64 string_to_uint (const String &string, uint base)
String string_from_uint (uint64 value)
bool string_has_int (const String &string)
int64 string_to_int (const String &string, uint base)
String string_from_int (int64 value)
double string_to_double (const String &string)
double string_to_double (const char *dblstring, const char **endptr)
String string_from_float (float value)
String string_from_double (double value)
vector< double > string_to_vector (const String &string)
String string_from_vector (const vector< double > &dvec, const String &delim)
String string_from_errno (int errno_val)
bool string_is_uuid (const String &uuid_string)
int string_cmp_uuid (const String &uuid_string1, const String &uuid_string2)
String string_from_pretty_function_name (const char *gnuc_pretty_function)
String string_to_cescape (const String &str)
String string_to_cquote (const String &str)
String string_from_cquote (const String &input)
String string_lstrip (const String &input)
String string_rstrip (const String &input)
String string_strip (const String &input)
String string_substitute_char (const String &input, const char match, const char subst)
void memset4 (guint32 *mem, guint32 filler, guint length)
String string_vector_find (const StringVector &svector, const String &key, const String &fallback)
StringVector cstrings_to_vector (const char *s,...)
String string_option_get (const String &option_string, const String &option)
bool string_option_check (const String &option_string, const String &option)
bool text_convert (const String &to_charset, String &output_string, const String &from_charset, const String &input_string, const String &fallback_charset, const String &output_mark)
String string_from_float (double value)
double string_to_float (const String &string)
template<typename Type >
Type string_to_type (const String &string)
template<typename Type >
String string_from_type (Type value)
template<>
double string_to_type< double > (const String &string)
template<>
String string_from_type< double > (double value)
template<>
float string_to_type< float > (const String &string)
template<>
String string_from_type< float > (float value)
template<>
bool string_to_type< bool > (const String &string)
template<>
String string_from_type< bool > (bool value)
template<>
int16 string_to_type< int16 > (const String &string)
template<>
String string_from_type< int16 > (int16 value)
template<>
uint16 string_to_type< uint16 > (const String &string)
template<>
String string_from_type< uint16 > (uint16 value)
template<>
int string_to_type< int > (const String &string)
template<>
String string_from_type< int > (int value)
template<>
uint string_to_type< uint > (const String &string)
template<>
String string_from_type< uint > (uint value)
template<>
int64 string_to_type< int64 > (const String &string)
template<>
String string_from_type< int64 > (int64 value)
template<>
uint64 string_to_type< uint64 > (const String &string)
template<>
String string_from_type< uint64 > (uint64 value)
template<>
String string_to_type< String > (const String &string)
template<>
String string_from_type< String > (String value)
void memset4 (uint32 *mem, uint32 filler, uint length)
void init_core_test (const String &app_ident, int *argcp, char **argv, const StringVector &args)
 RAPICORN_STATIC_ASSERT (CHAR_BIT==+8)
 RAPICORN_STATIC_ASSERT (SCHAR_MIN==-128)
 RAPICORN_STATIC_ASSERT (SCHAR_MAX==+127)
 RAPICORN_STATIC_ASSERT (UCHAR_MAX==+255)
 RAPICORN_STATIC_ASSERT (SHRT_MIN==-32768)
 RAPICORN_STATIC_ASSERT (SHRT_MAX==+32767)
 RAPICORN_STATIC_ASSERT (USHRT_MAX==+65535)
 RAPICORN_STATIC_ASSERT (INT_MIN==-2147483647-1)
 RAPICORN_STATIC_ASSERT (INT_MAX==+2147483647)
 RAPICORN_STATIC_ASSERT (UINT_MAX==+4294967295U)
 RAPICORN_STATIC_ASSERT (INT64_MIN==-9223372036854775807LL-1)
 RAPICORN_STATIC_ASSERT (INT64_MAX==+9223372036854775807LL)
 RAPICORN_STATIC_ASSERT (UINT64_MAX==+18446744073709551615LLU)
 RAPICORN_STATIC_ASSERT (FLT_MIN<=1E-37)
 RAPICORN_STATIC_ASSERT (FLT_MAX >=1E+37)
 RAPICORN_STATIC_ASSERT (FLT_EPSILON<=1E-5)
 RAPICORN_STATIC_ASSERT (DBL_MIN<=1E-37)
 RAPICORN_STATIC_ASSERT (DBL_MAX >=1E+37)
 RAPICORN_STATIC_ASSERT (DBL_EPSILON<=1E-9)
 RAPICORN_STATIC_ASSERT (LDBL_MIN<=1E-37)
 RAPICORN_STATIC_ASSERT (LDBL_MAX >=1E+37)
 RAPICORN_STATIC_ASSERT (LDBL_EPSILON<=1E-9)
uint64 timestamp_startup ()
uint64 timestamp_realtime ()
uint64 timestamp_resolution ()
uint64 timestamp_benchmark ()
void printerr (const char *format,...)
void printout (const char *format,...)
String process_handle ()
void cleanup_force_handlers (void)
uint cleanup_add (guint timeout_ms, GDestroyNotify handler, void *data)
void * malloc_aligned (gsize total_size, gsize alignment, guint8 **free_pointer)
uint8 * zintern_decompress (unsigned int decompressed_size, const unsigned char *cdata, unsigned int cdata_size)
void zintern_free (uint8 *dc_data)
template<typename T >
const T & abs (const T &value)
template<typename T >
const T & clamp (const T &value, const T &minimum, const T &maximum)
template<class T , size_t S>
std::vector< T > vector_from_array (const T(&array_entries)[S])
 Construct a std::vector<T> from a C array of type T[].
void void printerr (const std::string &msg)
void void breakpoint ()
void url_show (const char *url)
void url_show_with_cookie (const char *url, const char *url_title, const char *cookie)
bool url_test_show (const char *url)
bool url_test_show_with_cookie (const char *url, const char *url_title, const char *cookie)
uint cleanup_add (uint timeout_ms, void(*destroy_data)(void *), void *data)
void * malloc_aligned (size_t total_size, size_t alignment, uint8 **free_pointer)
char * cxx_demangle (const char *mangled_identifier)
Plic::FieldBuffer__attribute__ ((used)) operator<< (Plic
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, const ListModel_SmartHandle &handle)
Plic::FieldReaderoperator>> (Plic::FieldReader &fbr, ListModel_SmartHandle &handle)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, const ListModelRelay_SmartHandle &handle)
Plic::FieldReaderoperator>> (Plic::FieldReader &fbr, ListModelRelay_SmartHandle &handle)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, const Item_SmartHandle &handle)
Plic::FieldReaderoperator>> (Plic::FieldReader &fbr, Item_SmartHandle &handle)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, const Container_SmartHandle &handle)
Plic::FieldReaderoperator>> (Plic::FieldReader &fbr, Container_SmartHandle &handle)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, const ButtonArea_SmartHandle &handle)
Plic::FieldReaderoperator>> (Plic::FieldReader &fbr, ButtonArea_SmartHandle &handle)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, const Drawable_SmartHandle &handle)
Plic::FieldReaderoperator>> (Plic::FieldReader &fbr, Drawable_SmartHandle &handle)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, const Wind0w_SmartHandle &handle)
Plic::FieldReaderoperator>> (Plic::FieldReader &fbr, Wind0w_SmartHandle &handle)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, const Application_SmartHandle &handle)
Plic::FieldReaderoperator>> (Plic::FieldReader &fbr, Application_SmartHandle &handle)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, const IdlTestItem_SmartHandle &handle)
Plic::FieldReaderoperator>> (Plic::FieldReader &fbr, IdlTestItem_SmartHandle &handle)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &, const AnySeq_Handle &)
Plic::FieldReaderoperator>> (Plic::FieldReader &, AnySeq_Handle &)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &, const AnySeqSeq_Handle &)
Plic::FieldReaderoperator>> (Plic::FieldReader &, AnySeqSeq_Handle &)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &, const StringList_Handle &)
Plic::FieldReaderoperator>> (Plic::FieldReader &, StringList_Handle &)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &, const Requisition_Handle &)
Plic::FieldReaderoperator>> (Plic::FieldReader &, Requisition_Handle &)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &, const ItemSeq_Handle &)
Plic::FieldReaderoperator>> (Plic::FieldReader &, ItemSeq_Handle &)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &, const Pixels_Handle &)
Plic::FieldReaderoperator>> (Plic::FieldReader &, Pixels_Handle &)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &, const PixelRect_Handle &)
Plic::FieldReaderoperator>> (Plic::FieldReader &, PixelRect_Handle &)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &, const Wind0wList_Handle &)
Plic::FieldReaderoperator>> (Plic::FieldReader &, Wind0wList_Handle &)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, TestEnum &e)
Plic::FieldReaderoperator>> (Plic::FieldReader &frr, TestEnum &e)
Application_SmartHandle init_app (const String &app_ident, int *argcp, char **argv, const StringVector &args=StringVector())
Application_SmartHandle init_test_app (const String &app_ident, int *argcp, char **argv, const StringVector &args=StringVector())
Plic::Connectionuithread_connection (void)
void exit (int status) RAPICORN_NORETURN
uint64 uithread_bootup (int *argcp, char **argv, const StringVector &args)
void uithread_shutdown (void)
bool command_lib_exec (ItemImpl &item, const String &cmd_name, const StringList &args)
bool command_scan (const String &input, String *cmd_name, StringList *args)
String command_string_unquote (const String &input)
template<class Class , class Data >
Commandcreate_command (bool(Class::*method)(Data, const String &), const char *ident, const char *blurb, const Data &method_data)
template<class Class , class Data >
Commandcreate_command (bool(Class::*method)(Data), const char *ident, const char *blurb, const Data &method_data)
template<class Class >
Commandcreate_command (bool(Class::*method)(const String &), const char *ident, const char *blurb)
template<class Class >
Commandcreate_command (bool(Class::*method)(), const char *ident, const char *blurb)
vector< ItemImpl * > collect_items (ItemImpl &origin, ComponentMatcher &cmatch)
const char * string_from_event_type (EventType etype)
Eventcreate_event_transformed (const Event &source_event, const Affine &affine)
Eventcreate_event_cancellation (const EventContext &econtext)
EventMousecreate_event_mouse (EventType type, const EventContext &econtext)
EventButtoncreate_event_button (EventType type, const EventContext &econtext, uint button)
EventScrollcreate_event_scroll (EventType type, const EventContext &econtext)
EventFocuscreate_event_focus (EventType type, const EventContext &econtext)
EventKeycreate_event_key (EventType type, const EventContext &econtext, uint32 key, const char *name)
EventWinSizecreate_event_win_size (const EventContext &econtext, uint draw_stamp, double width, double height)
EventWinDrawcreate_event_win_draw (const EventContext &econtext, uint draw_stamp, const std::vector< Rect > &rects)
EventWinDeletecreate_event_win_delete (const EventContext &econtext)
bool key_value_is_modifier (uint32 keysym)
bool key_value_is_accelerator (uint32 keysym)
FocusDirType key_value_to_focus_dir (uint32 keysym)
bool key_value_is_focus_dir (uint32 keysym)
unichar key_value_to_unichar (uint32 keysym)
bool operator== (const ItemImpl &item1, const ItemImpl &item2)
bool operator!= (const ItemImpl &item1, const ItemImpl &item2)
double RAPICORN_CONST degree (double radians)
double RAPICORN_CONST radians (double degree)
Point min (const Point &p1, const Point &p2)
Point max (const Point &p1, const Point &p2)
Point floor (const Point &s)
Point ceil (const Point &s)
Point round (const Point &s)
template<class Class >
Propertycreate_property (void(Class::*setter)(bool), bool(Class::*getter)(), const char *ident, const char *label, const char *blurb, const char *hints)
template<class Class >
Propertycreate_property (void(Class::*setter)(int), int(Class::*getter)(), const char *ident, const char *label, const char *blurb, int min_value, int max_value, int stepping, const char *hints)
template<class Class >
Propertycreate_property (void(Class::*setter)(int16), int16(Class::*getter)(), const char *ident, const char *label, const char *blurb, int16 min_value, int16 max_value, int16 stepping, const char *hints)
template<class Class >
Propertycreate_property (void(Class::*setter)(uint), uint(Class::*getter)(), const char *ident, const char *label, const char *blurb, uint min_value, uint max_value, uint stepping, const char *hints)
template<class Class >
Propertycreate_property (void(Class::*setter)(uint16), uint16(Class::*getter)(), const char *ident, const char *label, const char *blurb, uint16 min_value, uint16 max_value, uint16 stepping, const char *hints)
template<class Class >
Propertycreate_property (void(Class::*setter)(float), float(Class::*getter)(), const char *ident, const char *label, const char *blurb, float min_value, float max_value, float stepping, const char *hints)
template<class Class >
Propertycreate_property (void(Class::*setter)(double), double(Class::*getter)(), const char *ident, const char *label, const char *blurb, double min_value, double max_value, double stepping, const char *hints)
template<class Class >
Propertycreate_property (void(Class::*setter)(Point), Point(Class::*getter)(), const char *ident, const char *label, const char *blurb, const Point &min_value, const Point &max_value, const char *hints)
template<class Class >
Propertycreate_property (void(Class::*setter)(const String &), String(Class::*getter)(), const char *ident, const char *label, const char *blurb, const char *hints)
template<class Class , typename Type >
Propertycreate_property (void(Class::*setter)(Type), Type(Class::*getter)(), const char *ident, const char *label, const char *blurb, const char *hints)
bool operator== (const Region &r1, const Region &r2)
bool operator!= (const Region &r1, const Region &r2)
bool operator< (const Region &r1, const Region &r2)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, ListModelIface &obj)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, ListModelIface *obj)
Plic::FieldReaderoperator>> (Plic::FieldReader &fbr, ListModelIface *&obj)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, ListModelRelayIface &obj)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, ListModelRelayIface *obj)
Plic::FieldReaderoperator>> (Plic::FieldReader &fbr, ListModelRelayIface *&obj)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, ItemIface &obj)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, ItemIface *obj)
Plic::FieldReaderoperator>> (Plic::FieldReader &fbr, ItemIface *&obj)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, ContainerIface &obj)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, ContainerIface *obj)
Plic::FieldReaderoperator>> (Plic::FieldReader &fbr, ContainerIface *&obj)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, ButtonAreaIface &obj)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, ButtonAreaIface *obj)
Plic::FieldReaderoperator>> (Plic::FieldReader &fbr, ButtonAreaIface *&obj)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, DrawableIface &obj)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, DrawableIface *obj)
Plic::FieldReaderoperator>> (Plic::FieldReader &fbr, DrawableIface *&obj)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, Wind0wIface &obj)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, Wind0wIface *obj)
Plic::FieldReaderoperator>> (Plic::FieldReader &fbr, Wind0wIface *&obj)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, ApplicationIface &obj)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, ApplicationIface *obj)
Plic::FieldReaderoperator>> (Plic::FieldReader &fbr, ApplicationIface *&obj)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, IdlTestItemIface &obj)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &fb, IdlTestItemIface *obj)
Plic::FieldReaderoperator>> (Plic::FieldReader &fbr, IdlTestItemIface *&obj)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &, const AnySeqImpl &)
Plic::FieldReaderoperator>> (Plic::FieldReader &, AnySeqImpl &)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &, const AnySeqSeqImpl &)
Plic::FieldReaderoperator>> (Plic::FieldReader &, AnySeqSeqImpl &)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &, const StringListImpl &)
Plic::FieldReaderoperator>> (Plic::FieldReader &, StringListImpl &)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &, const RequisitionImpl &)
Plic::FieldReaderoperator>> (Plic::FieldReader &, RequisitionImpl &)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &, const ItemSeqImpl &)
Plic::FieldReaderoperator>> (Plic::FieldReader &, ItemSeqImpl &)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &, const PixelsImpl &)
Plic::FieldReaderoperator>> (Plic::FieldReader &, PixelsImpl &)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &, const PixelRectImpl &)
Plic::FieldReaderoperator>> (Plic::FieldReader &, PixelRectImpl &)
Plic::FieldBufferoperator<< (Plic::FieldBuffer &, const Wind0wListImpl &)
Plic::FieldReaderoperator>> (Plic::FieldReader &, Wind0wListImpl &)
void serverglue_setup (Plic::Connection *connection)
MainLoopuithread_main_loop ()
void uithread_test_trigger (void(*test_func)())
void rapicorn_thread_enter ()
bool rapicorn_thread_try_enter ()
bool rapicorn_thread_entered ()
void rapicorn_thread_leave ()
double min (double a, int64 b)
double min (int64 a, double b)
double max (double a, int64 b)
double max (int64 a, double b)
template<class O >
O * connection_id2object (uint64 oid)
uint64 connection_object2id (const BaseObject *obj)
uint64 connection_object2id (const BaseObject &obj)
template<class Derived , class Base >
void assert_derived_from (void)
template<class Derived , class Base >
bool is_derived ()
template<typename Value >
PointerIterator< Value > pointer_iterator (Value *const val)
template<typename Value >
bool operator== (const PointerIterator< Value > &x, const PointerIterator< Value > &y)
template<typename Value >
bool operator!= (const PointerIterator< Value > &x, const PointerIterator< Value > &y)
template<typename Value >
bool operator< (const PointerIterator< Value > &x, const PointerIterator< Value > &y)
template<typename Value >
bool operator<= (const PointerIterator< Value > &x, const PointerIterator< Value > &y)
template<typename Value >
bool operator> (const PointerIterator< Value > &x, const PointerIterator< Value > &y)
template<typename Value >
bool operator>= (const PointerIterator< Value > &x, const PointerIterator< Value > &y)
template<typename Value >
PointerIterator< Value >
::difference_type 
operator- (const PointerIterator< Value > &x, const PointerIterator< Value > &y)
template<typename Value >
PointerIterator< Value > operator+ (typename PointerIterator< Value >::difference_type n, const PointerIterator< Value > &x)
template<class Iterator >
ValueIterator< Iterator > value_iterator (const Iterator &iter)
template<class Iterator >
bool operator== (const ValueIterator< Iterator > &x, const ValueIterator< Iterator > &y)
template<class Iterator >
bool operator!= (const ValueIterator< Iterator > &x, const ValueIterator< Iterator > &y)
template<class Iterator >
bool operator< (const ValueIterator< Iterator > &x, const ValueIterator< Iterator > &y)
template<class Iterator >
bool operator<= (const ValueIterator< Iterator > &x, const ValueIterator< Iterator > &y)
template<class Iterator >
bool operator> (const ValueIterator< Iterator > &x, const ValueIterator< Iterator > &y)
template<class Iterator >
bool operator>= (const ValueIterator< Iterator > &x, const ValueIterator< Iterator > &y)
template<class Iterator >
ValueIterator< Iterator >
::difference_type 
operator- (const ValueIterator< Iterator > &x, const ValueIterator< Iterator > &y)
template<class Iterator >
ValueIterator< Iterator > operator+ (typename ValueIterator< Iterator >::difference_type n, const ValueIterator< Iterator > &x)
template<class Iterator >
IteratorRange< Iterator > iterator_range (const Iterator &begin, const Iterator &end)
template<class Iterator >
ValueIteratorRange< Iterator > value_iterator_range (const Iterator &begin, const Iterator &end)
template<class Container >
Walker< const typename
Container::const_iterator::value_type > 
walker (const Container &container)
template<class Container >
Walker< typename
Container::iterator::value_type > 
walker (Container &container)
template<class Container >
Walker< typename Dereference
< const typename
Container::const_iterator::value_type >
::Value > 
value_walker (const Container &container)
template<class Container >
Walker< typename Dereference
< typename
Container::iterator::value_type >
::Value > 
value_walker (Container &container)
template<class Iterator >
Walker< typename
Iterator::value_type > 
walker (const Iterator &begin, const Iterator &end)
template<class Iterator >
Walker< typename Dereference
< typename
Iterator::value_type >::Value > 
value_walker (const Iterator &begin, const Iterator &end)
void rapicorn_gtk_threads_enter ()
void rapicorn_gtk_threads_leave ()

Variables

list __all__
Rapicorn::VInitSettings vsettings
static void MarkupErrorerror
static void MarkupError
MarkupErrorType 
code
static void MarkupError
MarkupErrorType const char * 
format
RapicornThreadTable ThreadTable
const int8 utf8_skip_table [256]
static void RAPICORN_NORETURN
static uint dbg_refilled
static uint dbg_created
Return(Class::*)() noconst_getter (Return(Class::*const_getter)() const)
const std::nothrow_t dothrow

Detailed Description

The Rapicorn namespace encompasses core utilities and toolkit functionality. The core utilities are available via including <rapicorn-core.hh> and the toolkit functionality can be included as <rapicorn.hh>.


Enumeration Type Documentation

Enumerator:
ADJUSTMENT_SOURCE_NONE 
ADJUSTMENT_SOURCE_ANCESTRY_HORIZONTAL 
ADJUSTMENT_SOURCE_ANCESTRY_VERTICAL 
ADJUSTMENT_SOURCE_ANCESTRY_VALUE 
Enumerator:
ALIGN_LEFT 
ALIGN_CENTER 
ALIGN_RIGHT 

AnchorType specifies an anchoring point for graphical elements.

Enumerator:
ANCHOR_NONE 
ANCHOR_CENTER 
ANCHOR_EAST 
ANCHOR_NORTH_EAST 
ANCHOR_NORTH 
ANCHOR_NORTH_WEST 
ANCHOR_WEST 
ANCHOR_SOUTH_WEST 
ANCHOR_SOUTH 
ANCHOR_SOUTH_EAST 
Enumerator:
CLICK_ON_PRESS 
CLICK_ON_RELEASE 
CLICK_SLOW_REPEAT 
CLICK_FAST_REPEAT 
CLICK_KEY_REPEAT 
Enumerator:
COLOR_INHERIT 

Inherit color from parent component.

COLOR_NORMAL 

Normal color specification.

COLOR_SELECTED 

Color used for selected areas.

COLOR_BASE 

Color used for text or scroll fields.

Enumerator:
COLOR_NONE 
COLOR_FOREGROUND 
COLOR_BACKGROUND 
COLOR_BACKGROUND_EVEN 
COLOR_BACKGROUND_ODD 
COLOR_DARK 
COLOR_DARK_SHADOW 
COLOR_DARK_GLINT 
COLOR_LIGHT 
COLOR_LIGHT_SHADOW 
COLOR_LIGHT_GLINT 
COLOR_FOCUS 
COLOR_BLACK 
COLOR_WHITE 
COLOR_RED 
COLOR_YELLOW 
COLOR_GREEN 
COLOR_CYAN 
COLOR_BLUE 
COLOR_MAGENTA 
Enumerator:
COMBINE_NORMAL 
COMBINE_OVER 
COMBINE_UNDER 
COMBINE_ADD 
COMBINE_DEL 
COMBINE_ATOP 
COMBINE_XOR 
COMBINE_BLEND 
COMBINE_VALUE 
Enumerator:
DIR_NONE 
DIR_RIGHT 
DIR_UP 
DIR_LEFT 
DIR_DOWN 
Enumerator:
ELLIPSIZE_START 
ELLIPSIZE_MIDDLE 
ELLIPSIZE_END 
Enumerator:
EVENT_NONE 
MOUSE_ENTER 
MOUSE_MOVE 
MOUSE_LEAVE 
BUTTON_PRESS 
BUTTON_2PRESS 
BUTTON_3PRESS 
BUTTON_CANCELED 
BUTTON_RELEASE 
BUTTON_2RELEASE 
BUTTON_3RELEASE 
FOCUS_IN 
FOCUS_OUT 
KEY_PRESS 
KEY_CANCELED 
KEY_RELEASE 
SCROLL_UP 
SCROLL_DOWN 
SCROLL_LEFT 
SCROLL_RIGHT 
CANCEL_EVENTS 
WIN_SIZE 
WIN_DRAW 
WIN_DELETE 
EVENT_LAST 
Enumerator:
FOCUS_NEXT 
FOCUS_PREV 
FOCUS_RIGHT 
FOCUS_UP 
FOCUS_LEFT 
FOCUS_DOWN 
Enumerator:
FRAME_NONE 
FRAME_BACKGROUND 
FRAME_IN 
FRAME_OUT 
FRAME_ETCHED_IN 
FRAME_ETCHED_OUT 
FRAME_FOCUS 
FRAME_ALERT_FOCUS 
Enumerator:
LIGHTING_NONE 
LIGHTING_UPPER_LEFT 
LIGHTING_UPPER_RIGHT 
LIGHTING_LOWER_LEFT 
LIGHTING_LOWER_RIGHT 
LIGHTING_CENTER 
LIGHTING_DIFFUSE 
LIGHTING_DARK_UPPER_LEFT 
LIGHTING_DARK_UPPER_RIGHT 
LIGHTING_DARK_LOWER_LEFT 
LIGHTING_DARK_LOWER_RIGHT 
LIGHTING_DARK_CENTER 
LIGHTING_DARK_DIFFUSE 
Enumerator:
BALANCED 
AUTOLOCK 
Enumerator:
MOD_0 
MOD_SHIFT 
MOD_CAPS_LOCK 
MOD_CONTROL 
MOD_ALT 
MOD_MOD1 
MOD_MOD2 
MOD_MOD3 
MOD_MOD4 
MOD_MOD5 
MOD_BUTTON1 
MOD_BUTTON2 
MOD_BUTTON3 
MOD_KEY_MASK 
MOD_MASK 
Enumerator:
SELECTION_NONE 

No selection possible.

SELECTION_BROWSE 

Browse by always forcing a single selected item.

SELECTION_SINGLE 

Allow selection toggling of a single item.

SELECTION_INTERVAL 

Allow selection of multiple consecutive items.

SELECTION_MULTIPLE 

Allow arbitrary combinations of selected items.

Enumerator:
SINFEX_0 
SINFEX_REAL 
SINFEX_STRING 
SINFEX_VARIABLE 
SINFEX_ENTITY_VARIABLE 
SINFEX_OR 
SINFEX_AND 
SINFEX_NOT 
SINFEX_NEG 
SINFEX_POS 
SINFEX_ADD 
SINFEX_SUB 
SINFEX_MUL 
SINFEX_DIV 
SINFEX_POW 
SINFEX_EQ 
SINFEX_NE 
SINFEX_LT 
SINFEX_GT 
SINFEX_LE 
SINFEX_GE 
SINFEX_ARG 
SINFEX_FUNCTION 
Enumerator:
SIZE_POLICY_NORMAL 
SIZE_POLICY_WIDTH_FROM_HEIGHT 
SIZE_POLICY_HEIGHT_FROM_WIDTH 
Enumerator:
STATE_INSENSITIVE 
STATE_PRELIGHT 
STATE_IMPRESSED 
STATE_FOCUS 
STATE_DEFAULT 
Enumerator:
TEST_ENUM_VALUE1 
TEST_ENUM_VALUE2 
TEST_ENUM_VALUE3 
TEST_ENUM_VALUE1 
TEST_ENUM_VALUE2 
TEST_ENUM_VALUE3 
TEST_ENUM_VALUE1 
TEST_ENUM_VALUE2 
TEST_ENUM_VALUE3 
Enumerator:
TEST_ENUM_VALUE1 
TEST_ENUM_VALUE2 
TEST_ENUM_VALUE3 
TEST_ENUM_VALUE1 
TEST_ENUM_VALUE2 
TEST_ENUM_VALUE3 
TEST_ENUM_VALUE1 
TEST_ENUM_VALUE2 
TEST_ENUM_VALUE3 
Enumerator:
TEST_ENUM_VALUE1 
TEST_ENUM_VALUE2 
TEST_ENUM_VALUE3 
TEST_ENUM_VALUE1 
TEST_ENUM_VALUE2 
TEST_ENUM_VALUE3 
TEST_ENUM_VALUE1 
TEST_ENUM_VALUE2 
TEST_ENUM_VALUE3 
Enumerator:
TEXT_MODE_WRAPPED 
TEXT_MODE_ELLIPSIZED 
TEXT_MODE_SINGLE_LINE 
Enumerator:
WINDOW_TYPE_NORMAL 

Normal window.

WINDOW_TYPE_DESKTOP 

Desktop background.

WINDOW_TYPE_DOCK 

Dock or panel.

WINDOW_TYPE_TOOLBAR 

Torn-off toolbar.

WINDOW_TYPE_MENU 

Torn-off menu.

WINDOW_TYPE_UTILITY 

Palette or toolbox.

WINDOW_TYPE_SPLASH 

Startup/splash screen.

WINDOW_TYPE_DIALOG 

Dialog window, usually transient.

WINDOW_TYPE_DROPDOWN_MENU 

Menu, opened from menubar.

WINDOW_TYPE_POPUP_MENU 

Menu, opened as context menu.

WINDOW_TYPE_TOOLTIP 

Transient context info window.

WINDOW_TYPE_NOTIFICATION 

Transient info window (e.g. info bubble)

WINDOW_TYPE_COMBO 

Combo box menu or list window.

WINDOW_TYPE_DND 

Window for dragged during DND operations.


Function Documentation

int Rapicorn::arg_parse_collapse ( int *  argcp,
char **  argv 
)

Collapse argv by eliminating NULL strings.

Returns:
Number of collapsed arguments.
bool Rapicorn::arg_parse_option ( uint  argc,
char **  argv,
size_t *  i,
const char *  arg 
)

Try to parse argument arg at position i in argv. If successfull, i is incremented and the argument is set to NULL.

Returns:
true if successfull.
bool Rapicorn::arg_parse_string_option ( uint  argc,
char **  argv,
size_t *  i,
const char *  arg,
const char **  strp 
)

Try to parse argument arg at position i in argv. If successfull, i is incremented and the argument and possibly the next option argument are set to NULL.

Returns:
true if successfull and the string option in strp.
uint Rapicorn::cleanup_add ( guint  timeout_ms,
GDestroyNotify  handler,
void *  data 
)
Parameters:
timeout_mstimeout in milliseconds
handlercleanup handler to run
datacleanup handler data

Register a cleanup handler, the handler is guaranteed to be run asyncronously (i.e. not from within cleanup_add()). The cleanup handler will be called as soon as timeout_ms has elapsed or cleanup_force_handlers() is called.

void Rapicorn::cleanup_force_handlers ( void  )

Force all cleanup handlers (see rapicorn_cleanup_add()) to be immediately executed. This function should be called at program exit to execute cleanup handlers which have timeouts that have not yet expired.

void Rapicorn::exit ( int  status)

This function calls Application::shutdown() first, to properly terminate Rapicorn's concurrently running ui-thread, and then terminates the program via exit(3posix). This function does not return.

Parameters:
statusThe exit status returned to the parent process.
Application_SmartHandle Rapicorn::init_app ( const String &  app_ident,
int *  argcp,
char **  argv,
const StringVector &  args 
)

Initialize Rapicorn core via init_core(), and then starts a seperately running UI thread. This UI thread initializes all UI related components and the global Application object. After initialization, it enters the main event loop for UI processing.

Parameters:
app_identIdentifier for this application, this is used to distinguish persistent application resources and window configurations from other applications.
argcpPointer to argc as passed into main().
argvThe argv argument as passed into main().
argsInternal initialization arguments, see init_core() for details.
void Rapicorn::init_core ( const String &  app_ident,
int *  argcp,
char **  argv,
const StringVector &  args 
)
Parameters:
app_identApplication identifier, used to associate persistent resources
argcplocation of the 'argc' argument to main()
argvlocation of the 'argv' arguments to main()
argsprogram specific initialization values

Initialize the Rapicorn toolkit, including threading, CPU detection, loading resource libraries, etc. The arguments passed in argcp and argv are parsed and any Rapicorn specific arguments are stripped. Supported command line arguments are:

  • --test-verbose - execute test cases verbosely.
  • --test-log - execute logtest test cases.
  • --test-slow - execute slow test cases.
  • --verbose - behaves like --test-verbose, this option is recognized but not stripped.

Additional initialization arguments can be passed in args, currently supported are:

  • autonomous - For test programs to request a self-contained runtime environment.
  • cpu-affinity - CPU# to bind rapicorn thread to.
  • parse-testargs - Used by init_core_test() internally.
  • test-verbose - acts like --test-verbose.
  • test-log - acts like --test-log.
  • test-slow - acts like --test-slow.

Additionally, the $RAPICORN environment variable affects toolkit behaviour. It supports multiple colon (':') separated options (options can be prfixed with 'no-' to disable):

  • debug - Enables verbose debugging output (default=off).
  • fatal-syslog - Fatal program conditions that lead to aborting are recorded via syslog (default=on).
  • syslog - Critical and warning conditions are recorded via syslog (default=off).
  • fatal-warnings - Critical and warning conditions are treated as fatal conditions (default=off).
  • logfile=FILENAME - Record all messages and conditions into FILENAME.
Application_SmartHandle Rapicorn::init_test_app ( const String &  app_ident,
int *  argcp,
char **  argv,
const StringVector &  args 
)

Initialize Rapicorn like init_app(), and boots up the test suite framework. Normally, Test::run() should be called next to execute all unit tests.

String Rapicorn::program_cwd ( )

The current working directory during startup.

String Rapicorn::program_file ( )

File name of the current process as set in argv[0] at startup.

String Rapicorn::program_ident ( )

The program identifier app_ident as specified during initialization of Rapicorn.

String Rapicorn::string_vector_find ( const StringVector &  svector,
const String &  key,
const String &  fallback 
)

Search for key in svector and return reminder of the matching string. If multiple matches are possible, the last one is returned.

Returns:
fallback if no match was found.
uint64 Rapicorn::timestamp_benchmark ( )

Returns benchmark timestamp in nano-seconds, clock starts around program startup.

uint64 Rapicorn::timestamp_realtime ( )

Return the current time as uint64 in µseconds.

uint64 Rapicorn::timestamp_resolution ( )

Provides resolution of timestamp_benchmark() in nano-seconds.

uint64 Rapicorn::timestamp_startup ( )

Provides the timestamp_realtime() value from program startup.

uint8 * Rapicorn::zintern_decompress ( unsigned int  decompressed_size,
const unsigned char *  cdata,
unsigned int  cdata_size 
)
Parameters:
decompressed_sizeexact size of the decompressed data to be returned
cdatacompressed data block
cdata_sizeexact size of the compressed data block
Returns:
decompressed data block or NULL in low memory situations

Decompress the data from cdata of length cdata_size into a newly allocated block of size decompressed_size which is returned. The returned block needs to be freed with g_free(). This function is intended to decompress data which has been compressed with the rapicorn-zintern utility, so no errors should occour during decompression. Consequently, if any error occours during decompression or if the resulting data block is of a size other than decompressed_size, the program will abort with an appropriate error message. If not enough memory could be allocated for decompression, NULL is returned.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines