Main Page | Data Structures | File List | Data Fields | Globals | Related Pages

ROXOption Struct Reference

#include <options.h>


Data Fields

gchar * value
long int_value
gboolean has_changed
gchar * backup
GtkWidget * widget
void(* update_widget )(ROXOption *option)
gchar *(* read_widget )(ROXOption *option)


Detailed Description

An option, stored as a string. It may have an integer value


Field Documentation

gchar* ROXOption::backup
 

Copy of value to Revert to

gboolean ROXOption::has_changed
 

Non-zero if changed

long ROXOption::int_value
 

Result of atol(value)

gchar*(* ROXOption::read_widget)(ROXOption *option)
 

Called to read the current value from the widget

Parameters:
[in] option the option
Returns:
new value

void(* ROXOption::update_widget)(ROXOption *option)
 

Called to set the widget to reflect the options current value

Parameters:
[in,out] option the option

gchar* ROXOption::value
 

Current value of the option

GtkWidget* ROXOption::widget
 

NULL => No UI yet


The documentation for this struct was generated from the following file:
Generated on Sat Oct 22 17:49:15 2005 for ROX-CLib by doxygen 1.3.8