LiVES  2.0.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Structures | Macros | Enumerations | Functions | Variables
widget-helper.h File Reference

Go to the source code of this file.

Data Structures

struct  widget_opts_t

Macros

#define M_PI   3.1415926536
#define W_PACKING_WIDTH   10
#define W_PACKING_HEIGHT   10
#define W_BORDER_WIDTH   10
#define LIVES_JUSTIFY_DEFAULT   (widget_opts.default_justify)
#define W_MAX_FILLER_LEN   65535

Enumerations

enum  lives_display_t { LIVES_DISPLAY_TYPE_UNKNOWN = 0, LIVES_DISPLAY_TYPE_X11, LIVES_DISPLAY_TYPE_WIN32 }
enum  lives_cursor_t {
  LIVES_CURSOR_NORMAL = 0, LIVES_CURSOR_BUSY, LIVES_CURSOR_CENTER_PTR, LIVES_CURSOR_HAND2,
  LIVES_CURSOR_SB_H_DOUBLE_ARROW, LIVES_CURSOR_CROSSHAIR, LIVES_CURSOR_TOP_LEFT_CORNER, LIVES_CURSOR_BOTTOM_RIGHT_CORNER,
  LIVES_CURSOR_BLOCK, LIVES_CURSOR_AUDIO_BLOCK, LIVES_CURSOR_FX_BLOCK
}
enum  lives_expand_t { LIVES_EXPAND_DEFAULT, LIVES_EXPAND_NONE, LIVES_EXPAND_EXTRA }

Functions

lives_painter_t * lives_painter_create (lives_painter_surface_t *target)
lives_painter_t * lives_painter_create_from_widget (LiVESWidget *)
void lives_painter_set_source_pixbuf (lives_painter_t *, const LiVESPixbuf *, double pixbuf_x, double pixbuf_y)
void lives_painter_set_source_surface (lives_painter_t *, lives_painter_surface_t *, double x, double y)
lives_painter_surface_t * lives_painter_image_surface_create (lives_painter_format_t format, int width, int height)
lives_painter_surface_t * lives_painter_image_surface_create_for_data (uint8_t *data, lives_painter_format_t, int width, int height, int stride)
lives_painter_surface_t * lives_painter_surface_create_from_widget (LiVESWidget *, lives_painter_content_t, int width, int height)
void lives_painter_surface_flush (lives_painter_surface_t *)
void lives_painter_destroy (lives_painter_t *)
void lives_painter_surface_destroy (lives_painter_surface_t *)
void lives_painter_new_path (lives_painter_t *)
void lives_painter_paint (lives_painter_t *)
void lives_painter_fill (lives_painter_t *)
void lives_painter_stroke (lives_painter_t *)
void lives_painter_clip (lives_painter_t *)
void lives_painter_set_source_rgb (lives_painter_t *, double red, double green, double blue)
void lives_painter_set_source_rgba (lives_painter_t *, double red, double green, double blue, double alpha)
void lives_painter_set_line_width (lives_painter_t *, double width)
void lives_painter_translate (lives_painter_t *, double x, double y)
void lives_painter_rectangle (lives_painter_t *, double x, double y, double width, double height)
void lives_painter_arc (lives_painter_t *, double xc, double yc, double radius, double angle1, double angle2)
void lives_painter_line_to (lives_painter_t *, double x, double y)
void lives_painter_move_to (lives_painter_t *, double x, double y)
boolean lives_painter_set_operator (lives_painter_t *, lives_painter_operator_t)
void lives_painter_set_fill_rule (lives_painter_t *, lives_painter_fill_rule_t)
lives_painter_surface_t * lives_painter_get_target (lives_painter_t *)
int lives_painter_format_stride_for_width (lives_painter_format_t, int width)
uint8_t * lives_painter_image_surface_get_data (lives_painter_surface_t *)
int lives_painter_image_surface_get_width (lives_painter_surface_t *)
int lives_painter_image_surface_get_height (lives_painter_surface_t *)
int lives_painter_image_surface_get_stride (lives_painter_surface_t *)
lives_painter_format_t lives_painter_image_surface_get_format (lives_painter_surface_t *)
void lives_object_unref (LiVESObjectPtr)
int lives_pixbuf_get_width (const LiVESPixbuf *)
int lives_pixbuf_get_height (const LiVESPixbuf *)
boolean lives_pixbuf_get_has_alpha (const LiVESPixbuf *)
int lives_pixbuf_get_rowstride (const LiVESPixbuf *)
int lives_pixbuf_get_n_channels (const LiVESPixbuf *)
unsigned char * lives_pixbuf_get_pixels (const LiVESPixbuf *)
const unsigned char * lives_pixbuf_get_pixels_readonly (const LiVESPixbuf *)
LiVESPixbuf * lives_pixbuf_new (boolean has_alpha, int width, int height)
LiVESPixbuf * lives_pixbuf_new_from_data (const unsigned char *buf, boolean has_alpha, int width, int height, int rowstride, LiVESPixbufDestroyNotify lives_free_buffer_fn, gpointer destroy_fn_data)
LiVESPixbuf * lives_pixbuf_new_from_file (const char *filename, LiVESError **error)
LiVESPixbuf * lives_pixbuf_new_from_file_at_scale (const char *filename, int width, int height, boolean preserve_aspect_ratio, LiVESError **error)
LiVESPixbuf * lives_pixbuf_scale_simple (const LiVESPixbuf *src, int dest_width, int dest_height, LiVESInterpType interp_type)
void lives_widget_set_bg_color (LiVESWidget *, LiVESWidgetState state, const LiVESWidgetColor *)
void lives_widget_set_fg_color (LiVESWidget *, LiVESWidgetState state, const LiVESWidgetColor *)
void lives_widget_set_text_color (LiVESWidget *, LiVESWidgetState state, const LiVESWidgetColor *)
void lives_widget_set_base_color (LiVESWidget *, LiVESWidgetState state, const LiVESWidgetColor *)
void lives_widget_get_fg_state_color (LiVESWidget *, LiVESWidgetState state, LiVESWidgetColor *)
void lives_widget_get_bg_state_color (LiVESWidget *, LiVESWidgetState state, LiVESWidgetColor *)
boolean lives_color_parse (const char *spec, LiVESWidgetColor *)
LiVESWidgetColor * lives_widget_color_copy (LiVESWidgetColor *c1orNULL, const LiVESWidgetColor *c2)
LiVESWidget * lives_image_new_from_stock (const char *stock_id, lives_icon_size_t size)
LiVESWidget * lives_dialog_get_content_area (LiVESDialog *)
LiVESWidget * lives_dialog_get_action_area (LiVESDialog *)
LiVESAdjustment * lives_adjustment_new (double value, double lower, double upper, double step_increment, double page_increment, double page_size)
void lives_box_set_homogeneous (LiVESBox *, boolean homogeneous)
void lives_box_set_spacing (LiVESBox *, int spacing)
LiVESWidget * lives_hbox_new (boolean homogeneous, int spacing)
LiVESWidget * lives_vbox_new (boolean homogeneous, int spacing)
LiVESWidget * lives_hseparator_new (void)
LiVESWidget * lives_vseparator_new (void)
LiVESWidget * lives_hbutton_box_new (void)
LiVESWidget * lives_vbutton_box_new (void)
LiVESWidget * lives_hscale_new (LiVESAdjustment *)
LiVESWidget * lives_vscale_new (LiVESAdjustment *)
LiVESWidget * lives_hpaned_new (void)
LiVESWidget * lives_vpaned_new (void)
LiVESWidget * lives_hscrollbar_new (LiVESAdjustment *)
LiVESWidget * lives_vscrollbar_new (LiVESAdjustment *)
LiVESWidget * lives_combo_new (void)
LiVESWidget * lives_combo_new_with_model (LiVESTreeModel *model)
void lives_combo_append_text (LiVESCombo *, const char *text)
void lives_combo_set_entry_text_column (LiVESCombo *, int column)
char * lives_combo_get_active_text (LiVESCombo *) WARN_UNUSED
void lives_combo_set_active_text (LiVESCombo *, const char *text)
void lives_combo_set_active_string (LiVESCombo *, const char *active_str)
LiVESWidget * lives_combo_get_entry (LiVESCombo *)
void lives_combo_populate (LiVESCombo *, LiVESList *list)
boolean lives_toggle_button_get_active (LiVESToggleButton *)
void lives_toggle_button_set_active (LiVESToggleButton *, boolean active)
void lives_tooltips_set (LiVESWidget *, const char *tip_text)
LiVESSList * lives_radio_button_get_group (LiVESRadioButton *)
LiVESWidget * lives_widget_get_parent (LiVESWidget *)
LiVESXWindow * lives_widget_get_xwindow (LiVESWidget *)
void lives_widget_set_can_focus (LiVESWidget *, boolean state)
void lives_widget_set_can_default (LiVESWidget *, boolean state)
void lives_container_remove (LiVESContainer *, LiVESWidget *)
double lives_ruler_get_value (LiVESRuler *)
double lives_ruler_set_value (LiVESRuler *, double value)
void lives_ruler_set_range (LiVESRuler *, double lower, double upper, double position, double max_size)
double lives_ruler_set_upper (LiVESRuler *, double value)
double lives_ruler_set_lower (LiVESRuler *, double value)
int lives_widget_get_allocation_x (LiVESWidget *)
int lives_widget_get_allocation_y (LiVESWidget *)
int lives_widget_get_allocation_width (LiVESWidget *)
int lives_widget_get_allocation_height (LiVESWidget *)
void lives_widget_set_state (LiVESWidget *, LiVESWidgetState state)
LiVESWidgetState lives_widget_get_state (LiVESWidget *widget)
LiVESWidget * lives_bin_get_child (LiVESBin *)
boolean lives_widget_is_sensitive (LiVESWidget *)
boolean lives_widget_is_visible (LiVESWidget *)
boolean lives_widget_is_realized (LiVESWidget *)
double lives_adjustment_get_upper (LiVESAdjustment *)
double lives_adjustment_get_lower (LiVESAdjustment *)
double lives_adjustment_get_page_size (LiVESAdjustment *)
void lives_adjustment_set_upper (LiVESAdjustment *, double upper)
void lives_adjustment_set_lower (LiVESAdjustment *, double lower)
void lives_adjustment_set_page_size (LiVESAdjustment *, double page_size)
LiVESAdjustment * lives_tree_view_get_hadjustment (LiVESTreeView *)
const char * lives_label_get_text (LiVESLabel *)
void lives_entry_set_editable (LiVESEntry *, boolean editable)
double lives_scale_button_get_value (LiVESScaleButton *)
void lives_widget_get_pointer (LiVESXDevice *, LiVESWidget *, int *x, int *y)
LiVESXWindow * lives_display_get_window_at_pointer (LiVESXDevice *, LiVESXDisplay *, int *win_x, int *win_y)
void lives_display_get_pointer (LiVESXDevice *, LiVESXDisplay *, LiVESXScreen **, int *x, int *y, LiVESModifierType *mask)
void lives_display_warp_pointer (LiVESXDevice *, LiVESXDisplay *, LiVESXScreen *, int x, int y)
LiVESXDisplay * lives_widget_get_display (LiVESWidget *)
lives_display_t lives_widget_get_display_type (LiVESWidget *widget)
uint64_t lives_widget_get_xwinid (LiVESWidget *, const gchar *failure_msg)
boolean lives_dialog_set_has_separator (LiVESDialog *, boolean has)
boolean lives_widget_set_hexpand (LiVESWidget *, boolean state)
boolean lives_widget_set_vexpand (LiVESWidget *, boolean state)
boolean lives_image_menu_item_set_always_show_image (LiVESImageMenuItem *, boolean show)
boolean lives_scale_button_set_orientation (LiVESScaleButton *, LiVESOrientation orientation)
void lives_painter_set_source_to_bg (lives_painter_t *, LiVESWidget *)
LiVESWidget * lives_standard_label_new (const char *text)
LiVESWidget * lives_standard_label_new_with_mnemonic (const char *text, LiVESWidget *mnemonic_widget)
LiVESWidget * lives_standard_check_button_new (const char *labeltext, boolean use_mnemonic, LiVESBox *box, const char *tooltip)
LiVESWidget * lives_standard_radio_button_new (const char *labeltext, boolean use_mnemonic, LiVESSList *rbgroup, LiVESBox *, const char *tooltip)
LiVESWidget * lives_standard_spin_button_new (const char *labeltext, boolean use_mnemonic, double val, double min, double max, double step, double page, int dp, LiVESBox *, const char *tooltip)
LiVESWidget * lives_standard_combo_new (const char *labeltext, boolean use_mnemonic, LiVESList *list, LiVESBox *, const char *tooltip)
LiVESWidget * lives_standard_entry_new (const char *labeltext, boolean use_mnemonic, const char *txt, int dispwidth, int maxchars, LiVESBox *, const char *tooltip)
LiVESWidget * lives_standard_dialog_new (const char *title, boolean add_std_buttons)
LiVESWidget * lives_standard_hruler_new (void)
LiVESWidget * lives_standard_scrolled_window_new (int width, int height, LiVESWidget *child)
LiVESWidget * lives_standard_expander_new (const char *label, boolean use_mnemonic, LiVESBox *parent, LiVESWidget *child)
LiVESWidget * lives_volume_button_new (LiVESOrientation orientation, LiVESAdjustment *, double volume)
LiVESWidget * lives_standard_file_button_new (boolean is_dir, const char *def_dir)
void lives_widget_apply_theme (LiVESWidget *, LiVESWidgetState state)
void lives_cursor_unref (LiVESXCursor *cursor)
void lives_widget_context_update (void)
void lives_widget_get_fg_color (LiVESWidget *, LiVESWidgetColor *)
void lives_widget_get_bg_color (LiVESWidget *, LiVESWidgetColor *)
LiVESWidget * lives_entry_new_with_max_length (int max)
void lives_widget_unparent (LiVESWidget *)
void lives_tooltips_copy (LiVESWidget *dest, LiVESWidget *source)
size_t calc_spin_button_width (double min, double max, int dp)
int get_box_child_index (LiVESBox *, LiVESWidget *child)
boolean label_act_toggle (LiVESWidget *, LiVESXEventButton *, LiVESToggleButton *)
boolean widget_act_toggle (LiVESWidget *, LiVESToggleButton *)
void gtk_tooltips_copy (LiVESWidget *dest, LiVESWidget *source)
void lives_spin_button_configure (LiVESSpinButton *, double value, double lower, double upper, double step_increment, double page_increment)
void set_button_width (LiVESWidget *buttonbox, LiVESWidget *button, int width)
char * text_view_get_text (LiVESTextView *)
void text_view_set_text (LiVESTextView *, const char *text, int len)
void toggle_button_toggle (LiVESToggleButton *)
void set_child_colour (GtkWidget *widget, gpointer set_all)
void unhide_cursor (LiVESXWindow *)
void hide_cursor (LiVESXWindow *)
void get_border_size (LiVESWidget *win, int *bx, int *by)
void lives_widget_set_can_focus_and_default (LiVESWidget *)
void lives_general_button_clicked (LiVESButton *, LiVESObjectPtr data_to_free)
LiVESWidget * add_hsep_to_box (LiVESBox *)
LiVESWidget * add_fill_to_box (LiVESBox *)
void lives_set_cursor_style (lives_cursor_t cstyle, LiVESWidget *)

Variables

widget_opts_t widget_opts
const widget_opts_t def_widget_opts

Macro Definition Documentation

#define LIVES_JUSTIFY_DEFAULT   (widget_opts.default_justify)
#define M_PI   3.1415926536
#define W_BORDER_WIDTH   10
#define W_MAX_FILLER_LEN   65535
#define W_PACKING_HEIGHT   10
#define W_PACKING_WIDTH   10

Enumeration Type Documentation

Enumerator:
LIVES_CURSOR_NORMAL 

must be zero

LIVES_CURSOR_BUSY 
LIVES_CURSOR_CENTER_PTR 
LIVES_CURSOR_HAND2 
LIVES_CURSOR_SB_H_DOUBLE_ARROW 
LIVES_CURSOR_CROSSHAIR 
LIVES_CURSOR_TOP_LEFT_CORNER 
LIVES_CURSOR_BOTTOM_RIGHT_CORNER 
LIVES_CURSOR_BLOCK 

non-standard cursors

LIVES_CURSOR_AUDIO_BLOCK 
LIVES_CURSOR_FX_BLOCK 
Enumerator:
LIVES_DISPLAY_TYPE_UNKNOWN 
LIVES_DISPLAY_TYPE_X11 
LIVES_DISPLAY_TYPE_WIN32 
Enumerator:
LIVES_EXPAND_DEFAULT 
LIVES_EXPAND_NONE 
LIVES_EXPAND_EXTRA 

Function Documentation

LiVESWidget* add_fill_to_box ( LiVESBox *  )
LiVESWidget* add_hsep_to_box ( LiVESBox *  )
size_t calc_spin_button_width ( double  min,
double  max,
int  dp 
)
void get_border_size ( LiVESWidget *  win,
int *  bx,
int *  by 
)
int get_box_child_index ( LiVESBox *  ,
LiVESWidget *  child 
)
void gtk_tooltips_copy ( LiVESWidget *  dest,
LiVESWidget *  source 
)
void hide_cursor ( LiVESXWindow *  )
boolean label_act_toggle ( LiVESWidget *  ,
LiVESXEventButton *  ,
LiVESToggleButton *   
)
double lives_adjustment_get_lower ( LiVESAdjustment *  )
double lives_adjustment_get_page_size ( LiVESAdjustment *  )
double lives_adjustment_get_upper ( LiVESAdjustment *  )
LiVESAdjustment* lives_adjustment_new ( double  value,
double  lower,
double  upper,
double  step_increment,
double  page_increment,
double  page_size 
)
void lives_adjustment_set_lower ( LiVESAdjustment *  ,
double  lower 
)
void lives_adjustment_set_page_size ( LiVESAdjustment *  ,
double  page_size 
)
void lives_adjustment_set_upper ( LiVESAdjustment *  ,
double  upper 
)
LiVESWidget* lives_bin_get_child ( LiVESBin *  )
void lives_box_set_homogeneous ( LiVESBox *  ,
boolean  homogeneous 
)
void lives_box_set_spacing ( LiVESBox *  ,
int  spacing 
)
boolean lives_color_parse ( const char *  spec,
LiVESWidgetColor *   
)
void lives_combo_append_text ( LiVESCombo *  ,
const char *  text 
)
char* lives_combo_get_active_text ( LiVESCombo *  )
LiVESWidget* lives_combo_get_entry ( LiVESCombo *  )
LiVESWidget* lives_combo_new ( void  )
LiVESWidget* lives_combo_new_with_model ( LiVESTreeModel *  model)
void lives_combo_populate ( LiVESCombo *  ,
LiVESList *  list 
)
void lives_combo_set_active_string ( LiVESCombo *  ,
const char *  active_str 
)
void lives_combo_set_active_text ( LiVESCombo *  ,
const char *  text 
)
void lives_combo_set_entry_text_column ( LiVESCombo *  ,
int  column 
)
void lives_container_remove ( LiVESContainer *  ,
LiVESWidget *   
)
void lives_cursor_unref ( LiVESXCursor *  cursor)
LiVESWidget* lives_dialog_get_action_area ( LiVESDialog *  )
LiVESWidget* lives_dialog_get_content_area ( LiVESDialog *  )
boolean lives_dialog_set_has_separator ( LiVESDialog *  ,
boolean  has 
)
void lives_display_get_pointer ( LiVESXDevice *  ,
LiVESXDisplay *  ,
LiVESXScreen **  ,
int *  x,
int *  y,
LiVESModifierType *  mask 
)
LiVESXWindow* lives_display_get_window_at_pointer ( LiVESXDevice *  ,
LiVESXDisplay *  ,
int *  win_x,
int *  win_y 
)
void lives_display_warp_pointer ( LiVESXDevice *  ,
LiVESXDisplay *  ,
LiVESXScreen *  ,
int  x,
int  y 
)
LiVESWidget* lives_entry_new_with_max_length ( int  max)
void lives_entry_set_editable ( LiVESEntry *  ,
boolean  editable 
)
void lives_general_button_clicked ( LiVESButton *  ,
LiVESObjectPtr  data_to_free 
)
LiVESWidget* lives_hbox_new ( boolean  homogeneous,
int  spacing 
)
LiVESWidget* lives_hbutton_box_new ( void  )
LiVESWidget* lives_hpaned_new ( void  )
LiVESWidget* lives_hscale_new ( LiVESAdjustment *  )
LiVESWidget* lives_hscrollbar_new ( LiVESAdjustment *  )
LiVESWidget* lives_hseparator_new ( void  )
boolean lives_image_menu_item_set_always_show_image ( LiVESImageMenuItem *  ,
boolean  show 
)
LiVESWidget* lives_image_new_from_stock ( const char *  stock_id,
lives_icon_size_t  size 
)
const char* lives_label_get_text ( LiVESLabel *  )
void lives_object_unref ( LiVESObjectPtr  )
void lives_painter_arc ( lives_painter_t *  ,
double  xc,
double  yc,
double  radius,
double  angle1,
double  angle2 
)
void lives_painter_clip ( lives_painter_t *  )
lives_painter_t* lives_painter_create ( lives_painter_surface_t *  target)
lives_painter_t* lives_painter_create_from_widget ( LiVESWidget *  )
void lives_painter_destroy ( lives_painter_t *  )
void lives_painter_fill ( lives_painter_t *  )
int lives_painter_format_stride_for_width ( lives_painter_format_t  ,
int  width 
)
lives_painter_surface_t* lives_painter_get_target ( lives_painter_t *  )
lives_painter_surface_t* lives_painter_image_surface_create ( lives_painter_format_t  format,
int  width,
int  height 
)
lives_painter_surface_t* lives_painter_image_surface_create_for_data ( uint8_t *  data,
lives_painter_format_t  ,
int  width,
int  height,
int  stride 
)
uint8_t* lives_painter_image_surface_get_data ( lives_painter_surface_t *  )
lives_painter_format_t lives_painter_image_surface_get_format ( lives_painter_surface_t *  )
int lives_painter_image_surface_get_height ( lives_painter_surface_t *  )
int lives_painter_image_surface_get_stride ( lives_painter_surface_t *  )
int lives_painter_image_surface_get_width ( lives_painter_surface_t *  )
void lives_painter_line_to ( lives_painter_t *  ,
double  x,
double  y 
)
void lives_painter_move_to ( lives_painter_t *  ,
double  x,
double  y 
)
void lives_painter_new_path ( lives_painter_t *  )
void lives_painter_paint ( lives_painter_t *  )
void lives_painter_rectangle ( lives_painter_t *  ,
double  x,
double  y,
double  width,
double  height 
)
void lives_painter_set_fill_rule ( lives_painter_t *  ,
lives_painter_fill_rule_t   
)
void lives_painter_set_line_width ( lives_painter_t *  ,
double  width 
)
boolean lives_painter_set_operator ( lives_painter_t *  ,
lives_painter_operator_t   
)
void lives_painter_set_source_pixbuf ( lives_painter_t *  ,
const LiVESPixbuf *  ,
double  pixbuf_x,
double  pixbuf_y 
)
void lives_painter_set_source_rgb ( lives_painter_t *  ,
double  red,
double  green,
double  blue 
)
void lives_painter_set_source_rgba ( lives_painter_t *  ,
double  red,
double  green,
double  blue,
double  alpha 
)
void lives_painter_set_source_surface ( lives_painter_t *  ,
lives_painter_surface_t *  ,
double  x,
double  y 
)
void lives_painter_set_source_to_bg ( lives_painter_t *  ,
LiVESWidget *   
)
void lives_painter_stroke ( lives_painter_t *  )
lives_painter_surface_t* lives_painter_surface_create_from_widget ( LiVESWidget *  ,
lives_painter_content_t  ,
int  width,
int  height 
)
void lives_painter_surface_destroy ( lives_painter_surface_t *  )
void lives_painter_surface_flush ( lives_painter_surface_t *  )
void lives_painter_translate ( lives_painter_t *  ,
double  x,
double  y 
)
boolean lives_pixbuf_get_has_alpha ( const LiVESPixbuf *  )
int lives_pixbuf_get_height ( const LiVESPixbuf *  )
int lives_pixbuf_get_n_channels ( const LiVESPixbuf *  )
unsigned char* lives_pixbuf_get_pixels ( const LiVESPixbuf *  )
const unsigned char* lives_pixbuf_get_pixels_readonly ( const LiVESPixbuf *  )
int lives_pixbuf_get_rowstride ( const LiVESPixbuf *  )
int lives_pixbuf_get_width ( const LiVESPixbuf *  )
LiVESPixbuf* lives_pixbuf_new ( boolean  has_alpha,
int  width,
int  height 
)
LiVESPixbuf* lives_pixbuf_new_from_data ( const unsigned char *  buf,
boolean  has_alpha,
int  width,
int  height,
int  rowstride,
LiVESPixbufDestroyNotify  lives_free_buffer_fn,
gpointer  destroy_fn_data 
)
LiVESPixbuf* lives_pixbuf_new_from_file ( const char *  filename,
LiVESError **  error 
)
LiVESPixbuf* lives_pixbuf_new_from_file_at_scale ( const char *  filename,
int  width,
int  height,
boolean  preserve_aspect_ratio,
LiVESError **  error 
)
LiVESPixbuf* lives_pixbuf_scale_simple ( const LiVESPixbuf *  src,
int  dest_width,
int  dest_height,
LiVESInterpType  interp_type 
)
LiVESSList* lives_radio_button_get_group ( LiVESRadioButton *  )
double lives_ruler_get_value ( LiVESRuler *  )
double lives_ruler_set_lower ( LiVESRuler *  ,
double  value 
)
void lives_ruler_set_range ( LiVESRuler *  ,
double  lower,
double  upper,
double  position,
double  max_size 
)
double lives_ruler_set_upper ( LiVESRuler *  ,
double  value 
)
double lives_ruler_set_value ( LiVESRuler *  ,
double  value 
)
double lives_scale_button_get_value ( LiVESScaleButton *  )
boolean lives_scale_button_set_orientation ( LiVESScaleButton *  ,
LiVESOrientation  orientation 
)
void lives_set_cursor_style ( lives_cursor_t  cstyle,
LiVESWidget *   
)
void lives_spin_button_configure ( LiVESSpinButton *  ,
double  value,
double  lower,
double  upper,
double  step_increment,
double  page_increment 
)
LiVESWidget* lives_standard_check_button_new ( const char *  labeltext,
boolean  use_mnemonic,
LiVESBox *  box,
const char *  tooltip 
)
LiVESWidget* lives_standard_combo_new ( const char *  labeltext,
boolean  use_mnemonic,
LiVESList *  list,
LiVESBox *  ,
const char *  tooltip 
)
LiVESWidget* lives_standard_dialog_new ( const char *  title,
boolean  add_std_buttons 
)
LiVESWidget* lives_standard_entry_new ( const char *  labeltext,
boolean  use_mnemonic,
const char *  txt,
int  dispwidth,
int  maxchars,
LiVESBox *  ,
const char *  tooltip 
)
LiVESWidget* lives_standard_expander_new ( const char *  label,
boolean  use_mnemonic,
LiVESBox *  parent,
LiVESWidget *  child 
)
LiVESWidget* lives_standard_file_button_new ( boolean  is_dir,
const char *  def_dir 
)
LiVESWidget* lives_standard_hruler_new ( void  )
LiVESWidget* lives_standard_label_new ( const char *  text)
LiVESWidget* lives_standard_label_new_with_mnemonic ( const char *  text,
LiVESWidget *  mnemonic_widget 
)
LiVESWidget* lives_standard_radio_button_new ( const char *  labeltext,
boolean  use_mnemonic,
LiVESSList *  rbgroup,
LiVESBox *  ,
const char *  tooltip 
)
LiVESWidget* lives_standard_scrolled_window_new ( int  width,
int  height,
LiVESWidget *  child 
)
LiVESWidget* lives_standard_spin_button_new ( const char *  labeltext,
boolean  use_mnemonic,
double  val,
double  min,
double  max,
double  step,
double  page,
int  dp,
LiVESBox *  ,
const char *  tooltip 
)
boolean lives_toggle_button_get_active ( LiVESToggleButton *  )
void lives_toggle_button_set_active ( LiVESToggleButton *  ,
boolean  active 
)
void lives_tooltips_copy ( LiVESWidget *  dest,
LiVESWidget *  source 
)
void lives_tooltips_set ( LiVESWidget *  ,
const char *  tip_text 
)
LiVESAdjustment* lives_tree_view_get_hadjustment ( LiVESTreeView *  )
LiVESWidget* lives_vbox_new ( boolean  homogeneous,
int  spacing 
)
LiVESWidget* lives_vbutton_box_new ( void  )
LiVESWidget* lives_volume_button_new ( LiVESOrientation  orientation,
LiVESAdjustment *  ,
double  volume 
)
LiVESWidget* lives_vpaned_new ( void  )
LiVESWidget* lives_vscale_new ( LiVESAdjustment *  )
LiVESWidget* lives_vscrollbar_new ( LiVESAdjustment *  )
LiVESWidget* lives_vseparator_new ( void  )
void lives_widget_apply_theme ( LiVESWidget *  ,
LiVESWidgetState  state 
)
LiVESWidgetColor* lives_widget_color_copy ( LiVESWidgetColor *  c1orNULL,
const LiVESWidgetColor *  c2 
)
void lives_widget_context_update ( void  )
int lives_widget_get_allocation_height ( LiVESWidget *  )
int lives_widget_get_allocation_width ( LiVESWidget *  )
int lives_widget_get_allocation_x ( LiVESWidget *  )
int lives_widget_get_allocation_y ( LiVESWidget *  )
void lives_widget_get_bg_color ( LiVESWidget *  ,
LiVESWidgetColor *   
)
void lives_widget_get_bg_state_color ( LiVESWidget *  ,
LiVESWidgetState  state,
LiVESWidgetColor *   
)
LiVESXDisplay* lives_widget_get_display ( LiVESWidget *  )
lives_display_t lives_widget_get_display_type ( LiVESWidget *  widget)
void lives_widget_get_fg_color ( LiVESWidget *  ,
LiVESWidgetColor *   
)
void lives_widget_get_fg_state_color ( LiVESWidget *  ,
LiVESWidgetState  state,
LiVESWidgetColor *   
)
LiVESWidget* lives_widget_get_parent ( LiVESWidget *  )
void lives_widget_get_pointer ( LiVESXDevice *  ,
LiVESWidget *  ,
int *  x,
int *  y 
)
LiVESWidgetState lives_widget_get_state ( LiVESWidget *  widget)
LiVESXWindow* lives_widget_get_xwindow ( LiVESWidget *  )
uint64_t lives_widget_get_xwinid ( LiVESWidget *  ,
const gchar *  failure_msg 
)
boolean lives_widget_is_realized ( LiVESWidget *  )
boolean lives_widget_is_sensitive ( LiVESWidget *  )
boolean lives_widget_is_visible ( LiVESWidget *  )
void lives_widget_set_base_color ( LiVESWidget *  ,
LiVESWidgetState  state,
const LiVESWidgetColor *   
)
void lives_widget_set_bg_color ( LiVESWidget *  ,
LiVESWidgetState  state,
const LiVESWidgetColor *   
)
void lives_widget_set_can_default ( LiVESWidget *  ,
boolean  state 
)
void lives_widget_set_can_focus ( LiVESWidget *  ,
boolean  state 
)
void lives_widget_set_can_focus_and_default ( LiVESWidget *  )
void lives_widget_set_fg_color ( LiVESWidget *  ,
LiVESWidgetState  state,
const LiVESWidgetColor *   
)
boolean lives_widget_set_hexpand ( LiVESWidget *  ,
boolean  state 
)
void lives_widget_set_state ( LiVESWidget *  ,
LiVESWidgetState  state 
)
void lives_widget_set_text_color ( LiVESWidget *  ,
LiVESWidgetState  state,
const LiVESWidgetColor *   
)
boolean lives_widget_set_vexpand ( LiVESWidget *  ,
boolean  state 
)
void lives_widget_unparent ( LiVESWidget *  )
void set_button_width ( LiVESWidget *  buttonbox,
LiVESWidget *  button,
int  width 
)
void set_child_colour ( GtkWidget *  widget,
gpointer  set_all 
)
char* text_view_get_text ( LiVESTextView *  )
void text_view_set_text ( LiVESTextView *  ,
const char *  text,
int  len 
)
void toggle_button_toggle ( LiVESToggleButton *  )
void unhide_cursor ( LiVESXWindow *  )
boolean widget_act_toggle ( LiVESWidget *  ,
LiVESToggleButton *   
)

Variable Documentation

const widget_opts_t def_widget_opts
widget_opts_t widget_opts