LiVES 2.4.6

- Main Page
- Namespaces
- Data Structures
- Files

- File List
- Globals

All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
widget-helper.h
Go to the documentation of this file.
1 // widget-helper.h
2 // LiVES
3 // (c) G. Finch 2012 - 2015 <salsaman@gmail.com>
4 // released under the GNU GPL 3 or later
5 // see file ../COPYING or www.gnu.org for licensing details
6
7 #ifndef HAS_LIVES_WIDGET_HELPER_H
8 #define HAS_LIVES_WIDGET_HELPER_H
9
10
11 #ifndef M_PI
12 #define M_PI 3.1415926536
13 #endif
14
15 #define LIVES_HAS_GRID_WIDGET 0
16 #define LIVES_HAS_IMAGE_MENU_ITEM 0
17 #define LIVES_HAS_DEVICE_MANAGER 0
18
19 typedef enum {
20 LIVES_DISPLAY_TYPE_UNKNOWN=0,
21 LIVES_DISPLAY_TYPE_X11,
22 LIVES_DISPLAY_TYPE_WIN32
23 } lives_display_t;
24
25
26 #define W_PACKING_WIDTH 10 // packing width for widgets with labels
27 #define W_PACKING_HEIGHT 10 // packing height for widgets
28 #define W_BORDER_WIDTH 10 // default border width
29
30 #define ulong_random() lives_random()
31
32 #if defined (GUI_GTK) || defined (PAINTER_CAIRO)
33 #include "widget-helper-gtk.h"
34 #endif
35
36 // basic functions (wrappers for Toolkit functions)
37
38 // lives_painter_functions
39
40 lives_painter_t *lives_painter_create(lives_painter_surface_t *target);
41 lives_painter_t *lives_painter_create_from_widget(LiVESWidget *);
42 boolean lives_painter_set_source_pixbuf(lives_painter_t *, const LiVESPixbuf *, double pixbuf_x, double pixbuf_y);
43 boolean lives_painter_set_source_surface(lives_painter_t *, lives_painter_surface_t *, double x, double y);
44 lives_painter_surface_t *lives_painter_image_surface_create(lives_painter_format_t format, int width, int height);
45 lives_painter_surface_t *lives_painter_image_surface_create_for_data(uint8_t *data, lives_painter_format_t,
46 int width, int height, int stride);
47 lives_painter_surface_t *lives_painter_surface_create_from_widget(LiVESWidget *, lives_painter_content_t,
48 int width, int height);
49 boolean lives_painter_surface_flush(lives_painter_surface_t *);
50
51 boolean lives_painter_destroy(lives_painter_t *);
52
53 boolean lives_painter_new_path(lives_painter_t *);
54
55 boolean lives_painter_paint(lives_painter_t *);
56 boolean lives_painter_fill(lives_painter_t *);
57 boolean lives_painter_stroke(lives_painter_t *);
58 boolean lives_painter_clip(lives_painter_t *);
59
60 boolean lives_painter_render_background(LiVESWidget *, lives_painter_t *, double x, double y, double width, double height);
61
62 boolean lives_painter_set_source_rgb(lives_painter_t *, double red, double green, double blue);
63 boolean lives_painter_set_source_rgba(lives_painter_t *, double red, double green, double blue, double alpha);
64
65 boolean lives_painter_set_line_width(lives_painter_t *, double width);
66
67 boolean lives_painter_translate(lives_painter_t *, double x, double y);
68
69 boolean lives_painter_rectangle(lives_painter_t *, double x, double y, double width, double height);
70 boolean lives_painter_arc(lives_painter_t *, double xc, double yc, double radius, double angle1, double angle2);
71 boolean lives_painter_line_to(lives_painter_t *, double x, double y);
72 boolean lives_painter_move_to(lives_painter_t *, double x, double y);
73
74 boolean lives_painter_set_operator(lives_painter_t *, lives_painter_operator_t);
75
76 boolean lives_painter_set_fill_rule(lives_painter_t *, lives_painter_fill_rule_t);
77
78
79 lives_painter_surface_t *lives_painter_get_target(lives_painter_t *);
80 int lives_painter_format_stride_for_width(lives_painter_format_t, int width);
81
82 uint8_t *lives_painter_image_surface_get_data(lives_painter_surface_t *);
83 int lives_painter_image_surface_get_width(lives_painter_surface_t *);
84 int lives_painter_image_surface_get_height(lives_painter_surface_t *);
85 int lives_painter_image_surface_get_stride(lives_painter_surface_t *);
86 lives_painter_format_t lives_painter_image_surface_get_format(lives_painter_surface_t *);
87
88
89
90
91 // utils
92
93 boolean widget_helper_init(void);
94
95 // object funcs.
96
97 livespointer lives_object_ref(livespointer);
98 boolean lives_object_unref(livespointer);
99
100 // remove any "floating" reference and add a new ref
101 #ifdef GUI_GTK
102 #if GTK_CHECK_VERSION(3,0,0)
103 livespointer lives_object_ref_sink(livespointer);
104 #else
105 void lives_object_ref_sink(livespointer);
106 #endif
107 #else
108 livespointer lives_object_ref_sink(livespointer);
109 #endif
110
111
112 // lives_pixbuf functions
113
114 int lives_pixbuf_get_width(const LiVESPixbuf *);
115 int lives_pixbuf_get_height(const LiVESPixbuf *);
116 boolean lives_pixbuf_get_has_alpha(const LiVESPixbuf *);
117 int lives_pixbuf_get_rowstride(const LiVESPixbuf *);
118 int lives_pixbuf_get_n_channels(const LiVESPixbuf *);
119 unsigned char *lives_pixbuf_get_pixels(const LiVESPixbuf *);
120 const unsigned char *lives_pixbuf_get_pixels_readonly(const LiVESPixbuf *);
121 LiVESPixbuf *lives_pixbuf_new(boolean has_alpha, int width, int height);
122 LiVESPixbuf *lives_pixbuf_new_from_data(const unsigned char *buf, boolean has_alpha, int width, int height,
123 int rowstride, LiVESPixbufDestroyNotify lives_free_buffer_fn,
124 livespointer destroy_fn_data);
125
126 LiVESPixbuf *lives_pixbuf_new_from_file(const char *filename, LiVESError **error);
127 LiVESWidget *lives_image_new_from_pixbuf(LiVESPixbuf *);
128 LiVESPixbuf *lives_pixbuf_new_from_file_at_scale(const char *filename, int width, int height, boolean preserve_aspect_ratio,
129 LiVESError **error);
130
131
132 LiVESPixbuf *lives_pixbuf_scale_simple(const LiVESPixbuf *src, int dest_width, int dest_height,
133 LiVESInterpType interp_type);
134
135 boolean lives_pixbuf_saturate_and_pixelate(const LiVESPixbuf *src, LiVESPixbuf *dest, float saturation, boolean pixilate);
136
137 // basic widget fns (TODO - amend all void to return boolean)
138
139 boolean lives_mem_set_vtable(LiVESMemVTable *alt_vtable);
140
141
142 #ifdef GUI_GTK
143
144 #define lives_signal_connect(instance, detailed_signal, c_handler, data) g_signal_connect(instance, detailed_signal, c_handler, data)
145 #define lives_signal_connect_after(instance, detailed_signal, c_handler, data) g_signal_connect_after(instance, detailed_signal, c_handler, data)
146 #define lives_signal_handlers_block_by_func(instance, func, data) g_signal_handlers_block_by_func(instance, func, data)
147 #define lives_signal_handlers_unblock_by_func(instance, func, data) g_signal_handlers_unblock_by_func(instance, func, data)
148 #else
149 ulong lives_signal_connect(LiVESWidget *widget, const char *signal_name, ulong funcptr, livespointer data);
150 boolean lives_signal_handlers_block_by_func(livespointer instance, livespointer func, livespointer data);
151 boolean lives_signal_handlers_unblock_by_func(livespointer instance, livespointer func, livespointer data);
152 #endif
153
154 boolean lives_signal_handler_block(livespointer instance, unsigned long handler_id);
155 boolean lives_signal_handler_unblock(livespointer instance, unsigned long handler_id);
156
157 boolean lives_signal_handler_disconnect(livespointer instance, unsigned long handler_id);
158 boolean lives_signal_stop_emission_by_name(livespointer instance, const char *detailed_signal);
159
160
161 boolean lives_widget_set_sensitive(LiVESWidget *, boolean state);
162 boolean lives_widget_get_sensitive(LiVESWidget *);
163
164 boolean lives_widget_show(LiVESWidget *);
165 boolean lives_widget_show_all(LiVESWidget *);
166 boolean lives_widget_hide(LiVESWidget *);
167 boolean lives_widget_destroy(LiVESWidget *);
168
169 boolean lives_widget_queue_draw(LiVESWidget *);
170 boolean lives_widget_queue_draw_area(LiVESWidget *, int x, int y, int width, int height);
171 boolean lives_widget_queue_resize(LiVESWidget *);
172 boolean lives_widget_set_size_request(LiVESWidget *, int width, int height);
173
174 boolean lives_widget_reparent(LiVESWidget *, LiVESWidget *new_parent);
175
176 boolean lives_widget_set_app_paintable(LiVESWidget *widget, boolean paintable);
177
178 LiVESWidget *lives_event_box_new(void);
179 boolean lives_event_box_set_above_child(LiVESEventBox *ebox, boolean set);
180
181 LiVESWidget *lives_label_new(const char *text);
182 LiVESWidget *lives_label_new_with_mnemonic(const char *text);
183
184 const char *lives_label_get_text(LiVESLabel *);
185 boolean lives_label_set_text(LiVESLabel *, const char *text);
186 boolean lives_label_set_text_with_mnemonic(LiVESLabel *, const char *text);
187
188 boolean lives_label_set_markup(LiVESLabel *, const char *markup);
189 boolean lives_label_set_markup_with_mnemonic(LiVESLabel *, const char *markup);
190
191 boolean lives_label_set_mnemonic_widget(LiVESLabel *, LiVESWidget *widget);
192 LiVESWidget *lives_label_get_mnemonic_widget(LiVESLabel *);
193
194 boolean lives_label_set_selectable(LiVESLabel *, boolean setting);
195
196
197 LiVESWidget *lives_button_new(void);
198 LiVESWidget *lives_button_new_from_stock(const char *stock_id, const char *label);
199 LiVESWidget *lives_button_new_with_label(const char *label);
200 LiVESWidget *lives_button_new_with_mnemonic(const char *label);
201
202 boolean lives_button_set_label(LiVESButton *, const char *label);
203
204 boolean lives_button_set_use_underline(LiVESButton *, boolean use);
205 boolean lives_button_set_relief(LiVESButton *, LiVESReliefStyle);
206 boolean lives_button_set_image(LiVESButton *, LiVESWidget *image);
207 boolean lives_button_set_focus_on_click(LiVESButton *, boolean focus);
208
209 LiVESWidget *lives_check_button_new(void);
210 LiVESWidget *lives_check_button_new_with_label(const char *label);
211
212 LiVESWidget *lives_radio_button_new(LiVESSList *group);
213
214 LiVESWidget *lives_spin_button_new(LiVESAdjustment *, double climb_rate, uint32_t digits);
215
216 LiVESResponseType lives_dialog_run(LiVESDialog *);
217 boolean lives_dialog_response(LiVESDialog *, int response);
218
219 boolean lives_widget_set_bg_color(LiVESWidget *, LiVESWidgetState state, const LiVESWidgetColor *);
220 boolean lives_widget_set_fg_color(LiVESWidget *, LiVESWidgetState state, const LiVESWidgetColor *);
221 boolean lives_widget_set_text_color(LiVESWidget *, LiVESWidgetState state, const LiVESWidgetColor *);
222 boolean lives_widget_set_base_color(LiVESWidget *, LiVESWidgetState state, const LiVESWidgetColor *);
223
224 boolean lives_widget_get_fg_state_color(LiVESWidget *, LiVESWidgetState state, LiVESWidgetColor *);
225 boolean lives_widget_get_bg_state_color(LiVESWidget *, LiVESWidgetState state, LiVESWidgetColor *);
226
227 boolean lives_color_parse(const char *spec, LiVESWidgetColor *);
228
229 LiVESWidgetColor *lives_widget_color_copy(LiVESWidgetColor *c1orNULL, const LiVESWidgetColor *c2);
230
231 LiVESWidget *lives_event_box_new(void);
232
233 LiVESWidget *lives_image_new(void);
234 LiVESWidget *lives_image_new_from_file(const char *filename);
235 LiVESWidget *lives_image_new_from_stock(const char *stock_id, LiVESIconSize size);
236
237 boolean lives_image_set_from_pixbuf(LiVESImage *, LiVESPixbuf *);
238 LiVESPixbuf *lives_image_get_pixbuf(LiVESImage *);
239
240 LiVESWidget *lives_dialog_get_content_area(LiVESDialog *);
241 LiVESWidget *lives_dialog_get_action_area(LiVESDialog *);
242
243 boolean lives_dialog_add_action_widget(LiVESDialog *, LiVESWidget *, int response_id);
244
245 LiVESWidget *lives_window_new(LiVESWindowType wintype);
246 boolean lives_window_set_title(LiVESWindow *, const char *title);
247 const char *lives_window_get_title(LiVESWindow *);
248 boolean lives_window_set_transient_for(LiVESWindow *, LiVESWindow *parent);
249
250 boolean lives_window_set_modal(LiVESWindow *, boolean modal);
251 boolean lives_window_set_deletable(LiVESWindow *, boolean deletable);
252 boolean lives_window_set_resizable(LiVESWindow *, boolean resizable);
253 boolean lives_window_set_keep_below(LiVESWindow *, boolean keep_below);
254 boolean lives_window_set_decorated(LiVESWindow *, boolean decorated);
255
256 boolean lives_window_set_default_size(LiVESWindow *, int width, int height);
257
258 boolean lives_window_set_screen(LiVESWindow *, LiVESXScreen *);
259
260 boolean lives_widget_get_position(LiVESWidget *, int *x, int *y);
261
262 boolean lives_window_move(LiVESWindow *, int x, int y);
263 boolean lives_window_get_position(LiVESWindow *, int *x, int *y);
264 boolean lives_window_set_position(LiVESWindow *, LiVESWindowPosition pos);
265 boolean lives_window_resize(LiVESWindow *, int width, int height);
266 boolean lives_window_present(LiVESWindow *);
267 boolean lives_window_fullscreen(LiVESWindow *);
268 boolean lives_window_unfullscreen(LiVESWindow *);
269 boolean lives_window_maximize(LiVESWindow *);
270 boolean lives_window_unmaximize(LiVESWindow *);
271 boolean lives_window_set_hide_titlebar_when_maximized(LiVESWindow *, boolean setting);
272
273 boolean lives_window_add_accel_group(LiVESWindow *, LiVESAccelGroup *group);
274 boolean lives_window_remove_accel_group(LiVESWindow *, LiVESAccelGroup *group);
275 boolean lives_menu_set_accel_group(LiVESMenu *, LiVESAccelGroup *group);
276
277 boolean lives_window_has_toplevel_focus(LiVESWindow *);
278
279 LiVESAdjustment *lives_adjustment_new(double value, double lower, double upper,
280 double step_increment, double page_increment, double page_size);
281
282 boolean lives_box_reorder_child(LiVESBox *, LiVESWidget *child, int pos);
283 boolean lives_box_set_homogeneous(LiVESBox *, boolean homogeneous);
284 boolean lives_box_set_spacing(LiVESBox *, int spacing);
285
286 boolean lives_box_pack_start(LiVESBox *, LiVESWidget *child, boolean expand, boolean fill, uint32_t padding);
287 boolean lives_box_pack_end(LiVESBox *, LiVESWidget *child, boolean expand, boolean fill, uint32_t padding);
288
289 LiVESWidget *lives_hbox_new(boolean homogeneous, int spacing);
290 LiVESWidget *lives_vbox_new(boolean homogeneous, int spacing);
291
292 LiVESWidget *lives_hseparator_new(void);
293 LiVESWidget *lives_vseparator_new(void);
294
295 LiVESWidget *lives_hbutton_box_new(void);
296 LiVESWidget *lives_vbutton_box_new(void);
297
298 boolean lives_button_box_set_layout(LiVESButtonBox *, LiVESButtonBoxStyle bstyle);
299 boolean lives_button_box_set_button_width(LiVESButtonBox *, LiVESWidget *button, int min_width);
300
301 LiVESWidget *lives_hscale_new(LiVESAdjustment *);
302 LiVESWidget *lives_vscale_new(LiVESAdjustment *);
303
304 LiVESWidget *lives_hpaned_new(void);
305 LiVESWidget *lives_vpaned_new(void);
306
307 boolean lives_paned_set_position(LiVESPaned *, int pos);
308 boolean lives_paned_pack(int where, LiVESPaned *, LiVESWidget *child, boolean resize, boolean shrink);
309
310 LiVESWidget *lives_hscrollbar_new(LiVESAdjustment *);
311 LiVESWidget *lives_vscrollbar_new(LiVESAdjustment *);
312
313 LiVESWidget *lives_arrow_new(LiVESArrowType, LiVESShadowType);
314
315 LiVESWidget *lives_alignment_new(float xalign, float yalign, float xscale, float yscale);
316 boolean lives_alignment_set(LiVESAlignment *, float xalign, float yalign, float xscale, float yscale);
317
318 LiVESWidget *lives_expander_new_with_mnemonic(const char *label);
319 LiVESWidget *lives_expander_new(const char *label);
320 LiVESWidget *lives_expander_get_label_widget(LiVESExpander *expander);
321
322 boolean lives_label_set_halignment(LiVESLabel *, float yalign);
323
324 LiVESWidget *lives_combo_new(void);
325 LiVESWidget *lives_combo_new_with_model(LiVESTreeModel *);
326 LiVESTreeModel *lives_combo_get_model(LiVESCombo *);
327
328 boolean lives_combo_append_text(LiVESCombo *, const char *text);
329 boolean lives_combo_set_entry_text_column(LiVESCombo *, int column);
330
331 char *lives_combo_get_active_text(LiVESCombo *) WARN_UNUSED;
332 boolean lives_combo_set_active_text(LiVESCombo *, const char *text);
333 boolean lives_combo_set_active_index(LiVESCombo *, int index);
334 int lives_combo_get_active(LiVESCombo *);
335 boolean lives_combo_get_active_iter(LiVESCombo *, LiVESTreeIter *);
336 boolean lives_combo_set_active_iter(LiVESCombo *, LiVESTreeIter *);
337 boolean lives_combo_set_active_string(LiVESCombo *, const char *active_str);
338
339 LiVESWidget *lives_combo_get_entry(LiVESCombo *);
340
341 boolean lives_combo_populate(LiVESCombo *, LiVESList *list);
342
343 LiVESWidget *lives_text_view_new(void);
344 LiVESWidget *lives_text_view_new_with_buffer(LiVESTextBuffer *);
345 LiVESTextBuffer *lives_text_view_get_buffer(LiVESTextView *);
346 boolean lives_text_view_set_editable(LiVESTextView *, boolean setting);
347 boolean lives_text_view_set_accepts_tab(LiVESTextView *, boolean setting);
348 boolean lives_text_view_set_cursor_visible(LiVESTextView *, boolean setting);
349 boolean lives_text_view_set_wrap_mode(LiVESTextView *, LiVESWrapMode wrapmode);
350 boolean lives_text_view_set_justification(LiVESTextView *, LiVESJustification justify);
351
352
353 boolean lives_text_view_scroll_mark_onscreen(LiVESTextView *, LiVESTextMark *mark);
354
355
356 LiVESTextBuffer *lives_text_buffer_new(void);
357 char *lives_text_buffer_get_text(LiVESTextBuffer *tbuff, LiVESTextIter *start, LiVESTextIter *end, boolean inc_hidden_chars);
358 boolean lives_text_buffer_set_text(LiVESTextBuffer *, const char *, int len);
359
360 boolean lives_text_buffer_insert(LiVESTextBuffer *, LiVESTextIter *, const char *, int len);
361 boolean lives_text_buffer_insert_at_cursor(LiVESTextBuffer *, const char *, int len);
362
363 boolean lives_text_buffer_get_start_iter(LiVESTextBuffer *, LiVESTextIter *);
364 boolean lives_text_buffer_get_end_iter(LiVESTextBuffer *, LiVESTextIter *);
365
366 boolean lives_text_buffer_place_cursor(LiVESTextBuffer *, LiVESTextIter *);
367
368 LiVESTextMark *lives_text_buffer_create_mark(LiVESTextBuffer *, const char *mark_name,
369 const LiVESTextIter *where, boolean left_gravity);
370 boolean lives_text_buffer_delete_mark(LiVESTextBuffer *, LiVESTextMark *);
371
372 boolean lives_text_buffer_delete(LiVESTextBuffer *, LiVESTextIter *start, LiVESTextIter *end);
373
374 boolean lives_text_buffer_get_iter_at_mark(LiVESTextBuffer *, LiVESTextIter *, LiVESTextMark *);
375
376
377 boolean lives_tree_model_get(LiVESTreeModel *, LiVESTreeIter *, ...);
378 boolean lives_tree_model_get_iter(LiVESTreeModel *, LiVESTreeIter *, LiVESTreePath *);
379 boolean lives_tree_model_get_iter_first(LiVESTreeModel *, LiVESTreeIter *);
380 LiVESTreePath *lives_tree_model_get_path(LiVESTreeModel *, LiVESTreeIter *);
381 boolean lives_tree_model_iter_children(LiVESTreeModel *, LiVESTreeIter *, LiVESTreeIter *parent);
382 int lives_tree_model_iter_n_children(LiVESTreeModel *, LiVESTreeIter *);
383 boolean lives_tree_model_iter_next(LiVESTreeModel *, LiVESTreeIter *);
384
385 boolean lives_tree_path_free(LiVESTreePath *);
386 LiVESTreePath *lives_tree_path_new_from_string(const char *path);
387 int lives_tree_path_get_depth(LiVESTreePath *);
388 int *lives_tree_path_get_indices(LiVESTreePath *);
389
390 LiVESTreeStore *lives_tree_store_new(int ncols, ...);
391 boolean lives_tree_store_append(LiVESTreeStore *, LiVESTreeIter *, LiVESTreeIter *parent);
392 boolean lives_tree_store_set(LiVESTreeStore *, LiVESTreeIter *, ...);
393
394 LiVESWidget *lives_tree_view_new(void);
395 LiVESWidget *lives_tree_view_new_with_model(LiVESTreeModel *);
396 boolean lives_tree_view_set_model(LiVESTreeView *, LiVESTreeModel *);
397 LiVESTreeModel *lives_tree_view_get_model(LiVESTreeView *);
398 int lives_tree_view_append_column(LiVESTreeView *, LiVESTreeViewColumn *);
399 boolean lives_tree_view_set_headers_visible(LiVESTreeView *, boolean vis);
400 LiVESAdjustment *lives_tree_view_get_hadjustment(LiVESTreeView *);
401 LiVESTreeSelection *lives_tree_view_get_selection(LiVESTreeView *);
402
403
404 LiVESTreeViewColumn *lives_tree_view_column_new_with_attributes(const char *title, LiVESCellRenderer *, ...);
405 boolean lives_tree_view_column_set_sizing(LiVESTreeViewColumn *, LiVESTreeViewColumnSizing type);
406 boolean lives_tree_view_column_set_fixed_width(LiVESTreeViewColumn *, int fwidth);
407
408 boolean lives_tree_selection_get_selected(LiVESTreeSelection *, LiVESTreeModel **, LiVESTreeIter *);
409 boolean lives_tree_selection_set_mode(LiVESTreeSelection *, LiVESSelectionMode);
410 boolean lives_tree_selection_select_iter(LiVESTreeSelection *, LiVESTreeIter *);
411
412 LiVESListStore *lives_list_store_new(int ncols, ...);
413 boolean lives_list_store_set(LiVESListStore *, LiVESTreeIter *, ...);
414 boolean lives_list_store_insert(LiVESListStore *, LiVESTreeIter *, int position);
415
416 LiVESCellRenderer *lives_cell_renderer_text_new(void);
417 LiVESCellRenderer *lives_cell_renderer_spin_new(void);
418 LiVESCellRenderer *lives_cell_renderer_toggle_new(void);
419 LiVESCellRenderer *lives_cell_renderer_pixbuf_new(void);
420
421 LiVESWidget *lives_drawing_area_new(void);
422
423 int lives_event_get_time(LiVESXEvent *);
424
425 boolean lives_toggle_button_get_active(LiVESToggleButton *);
426 boolean lives_toggle_button_set_active(LiVESToggleButton *, boolean active);
427 boolean lives_toggle_button_set_mode(LiVESToggleButton *, boolean drawind);
428
429 boolean lives_has_icon(const char *stock_id, LiVESIconSize size);
430
431 void lives_tooltips_set(LiVESWidget *, const char *tip_text);
432
433 LiVESSList *lives_radio_button_get_group(LiVESRadioButton *);
434 LiVESSList *lives_radio_menu_item_get_group(LiVESRadioMenuItem *);
435
436 LiVESWidget *lives_widget_get_parent(LiVESWidget *);
437 LiVESWidget *lives_widget_get_toplevel(LiVESWidget *);
438
439 LiVESXWindow *lives_widget_get_xwindow(LiVESWidget *);
440 boolean lives_xwindow_set_keep_above(LiVESXWindow *, boolean setting);
441
442 boolean lives_widget_set_can_focus(LiVESWidget *, boolean state);
443 boolean lives_widget_set_can_default(LiVESWidget *, boolean state);
444 boolean lives_widget_set_can_focus_and_default(LiVESWidget *);
445
446 boolean lives_widget_add_events(LiVESWidget *, int events);
447 boolean lives_widget_set_events(LiVESWidget *, int events);
448 boolean lives_widget_remove_accelerator(LiVESWidget *, LiVESAccelGroup *, uint32_t accel_key, LiVESXModifierType accel_mods);
449 boolean lives_widget_get_preferred_size(LiVESWidget *, LiVESRequisition *min_size, LiVESRequisition *nat_size);
450
451 boolean lives_container_remove(LiVESContainer *, LiVESWidget *);
452 boolean lives_container_add(LiVESContainer *, LiVESWidget *);
453 boolean lives_container_set_border_width(LiVESContainer *, uint32_t width);
454
455 boolean lives_container_foreach(LiVESContainer *, LiVESWidgetCallback callback, livespointer cb_data);
456 LiVESList *lives_container_get_children(LiVESContainer *);
457 boolean lives_container_set_focus_child(LiVESContainer *, LiVESWidget *child);
458
459 LiVESWidget *lives_progress_bar_new(void);
460 boolean lives_progress_bar_set_fraction(LiVESProgressBar *, double fraction);
461 boolean lives_progress_bar_set_pulse_step(LiVESProgressBar *, double fraction);
462 boolean lives_progress_bar_pulse(LiVESProgressBar *);
463
464 double lives_spin_button_get_value(LiVESSpinButton *);
465 int lives_spin_button_get_value_as_int(LiVESSpinButton *);
466
467 LiVESAdjustment *lives_spin_button_get_adjustment(LiVESSpinButton *);
468
469 boolean lives_spin_button_set_value(LiVESSpinButton *, double value);
470 boolean lives_spin_button_set_range(LiVESSpinButton *, double min, double max);
471
472 boolean lives_spin_button_set_wrap(LiVESSpinButton *, boolean wrap);
473
474 boolean lives_spin_button_set_digits(LiVESSpinButton *, uint32_t digits);
475
476 boolean lives_spin_button_update(LiVESSpinButton *);
477
478 LiVESWidget *lives_color_button_new_with_color(const LiVESWidgetColor *);
479 boolean lives_color_button_get_color(LiVESColorButton *, LiVESWidgetColor *);
480 boolean lives_color_button_set_color(LiVESColorButton *, const LiVESWidgetColor *);
481 boolean lives_color_button_set_title(LiVESColorButton *, const char *title);
482 boolean lives_color_button_set_use_alpha(LiVESColorButton *, boolean use_alpha);
483
484 LiVESToolItem *lives_tool_button_new(LiVESWidget *icon_widget, const char *label);
485 LiVESToolItem *lives_tool_item_new(void);
486 boolean lives_tool_button_set_icon_widget(LiVESToolButton *, LiVESWidget *icon);
487 boolean lives_tool_button_set_label_widget(LiVESToolButton *, LiVESWidget *label);
488 boolean lives_tool_button_set_use_underline(LiVESToolButton *, boolean use_underline);
489
490 LiVESWidget *lives_message_dialog_new(LiVESWindow *parent, LiVESDialogFlags flags, LiVESMessageType type, LiVESButtonsType buttons,
491 const char *msg_fmt, ...);
492
493 double lives_ruler_get_value(LiVESRuler *);
494 double lives_ruler_set_value(LiVESRuler *, double value);
495
496 void lives_ruler_set_range(LiVESRuler *, double lower, double upper, double position, double max_size);
497 double lives_ruler_set_upper(LiVESRuler *, double value);
498 double lives_ruler_set_lower(LiVESRuler *, double value);
499
500 LiVESWidget *lives_toolbar_new(void);
501 boolean lives_toolbar_insert(LiVESToolbar *, LiVESToolItem *, int pos);
502 boolean lives_toolbar_set_show_arrow(LiVESToolbar *, boolean show);
503 LiVESIconSize lives_toolbar_get_icon_size(LiVESToolbar *);
504 boolean lives_toolbar_set_icon_size(LiVESToolbar *, LiVESIconSize icon_size);
505 boolean lives_toolbar_set_style(LiVESToolbar *, LiVESToolbarStyle style);
506
507 int lives_widget_get_allocation_x(LiVESWidget *);
508 int lives_widget_get_allocation_y(LiVESWidget *);
509 int lives_widget_get_allocation_width(LiVESWidget *);
510 int lives_widget_get_allocation_height(LiVESWidget *);
511
512 boolean lives_widget_set_state(LiVESWidget *, LiVESWidgetState state);
513 LiVESWidgetState lives_widget_get_state(LiVESWidget *widget);
514
515 LiVESWidget *lives_bin_get_child(LiVESBin *);
516
517 boolean lives_widget_is_sensitive(LiVESWidget *);
518 boolean lives_widget_is_visible(LiVESWidget *);
519
520 boolean lives_widget_is_realized(LiVESWidget *);
521
522 double lives_adjustment_get_upper(LiVESAdjustment *);
523 double lives_adjustment_get_lower(LiVESAdjustment *);
524 double lives_adjustment_get_page_size(LiVESAdjustment *);
525 double lives_adjustment_get_value(LiVESAdjustment *);
526
527 boolean lives_adjustment_set_upper(LiVESAdjustment *, double upper);
528 boolean lives_adjustment_set_lower(LiVESAdjustment *, double lower);
529 boolean lives_adjustment_set_page_size(LiVESAdjustment *, double page_size);
530 boolean lives_adjustment_set_value(LiVESAdjustment *, double value);
531
532 boolean lives_adjustment_clamp_page(LiVESAdjustment *, double lower, double upper);
533
534 LiVESAdjustment *lives_range_get_adjustment(LiVESRange *);
535 boolean lives_range_set_value(LiVESRange *, double value);
536 boolean lives_range_set_range(LiVESRange *, double min, double max);
537 boolean lives_range_set_increments(LiVESRange *, double step, double page);
538 boolean lives_range_set_inverted(LiVESRange *, boolean invert);
539
540 double lives_range_get_value(LiVESRange *);
541
542 boolean lives_editable_set_editable(LiVESEditable *, boolean editable);
543 boolean lives_editable_select_region(LiVESEditable *, int start_pos, int end_pos);
544
545
546 LiVESWidget *lives_entry_new(void);
547 boolean lives_entry_set_editable(LiVESEntry *, boolean editable);
548 const char *lives_entry_get_text(LiVESEntry *);
549 boolean lives_entry_set_text(LiVESEntry *, const char *text);
550 boolean lives_entry_set_width_chars(LiVESEntry *, int nchars);
551 boolean lives_entry_set_max_length(LiVESEntry *, int len);
552 boolean lives_entry_set_activates_default(LiVESEntry *, boolean act);
553 boolean lives_entry_set_visibility(LiVESEntry *, boolean vis);
554 boolean lives_entry_set_has_frame(LiVESEntry *, boolean has);
555
556 double lives_scale_button_get_value(LiVESScaleButton *);
557 boolean lives_scale_button_set_value(LiVESScaleButton *, double value);
558
559 LiVESWidget *lives_table_new(uint32_t rows, uint32_t cols, boolean homogeneous);
560 boolean lives_table_set_row_spacings(LiVESTable *, uint32_t spacing);
561 boolean lives_table_set_col_spacings(LiVESTable *, uint32_t spacing);
562 boolean lives_table_resize(LiVESTable *, uint32_t rows, uint32_t cols);
563 boolean lives_table_attach(LiVESTable *, LiVESWidget *child, uint32_t left, uint32_t right,
564 uint32_t top, uint32_t bottom, LiVESAttachOptions xoptions, LiVESAttachOptions yoptions,
565 uint32_t xpad, uint32_t ypad);
566
567 boolean lives_table_set_column_homogeneous(LiVESTable *, boolean homogeneous);
568 boolean lives_table_set_row_homogeneous(LiVESTable *, boolean homogeneous);
569
570
571 #if LIVES_TABLE_IS_GRID
572 LiVESWidget *lives_grid_new(void);
573 boolean lives_grid_set_row_spacing(LiVESGrid *, uint32_t spacing);
574 boolean lives_grid_set_column_spacing(LiVESGrid *, uint32_t spacing);
575 boolean lives_grid_attach_next_to(LiVESGrid *, LiVESWidget *child, LiVESWidget *sibling,
576 LiVESPositionType side, int width, int height);
577
578 boolean lives_grid_insert_row(LiVESGrid *, int posn);
579 boolean lives_grid_remove_row(LiVESGrid *, int posn);
580 #endif
581
582 LiVESWidget *lives_frame_new(const char *label);
583 boolean lives_frame_set_label(LiVESFrame *, const char *label);
584 boolean lives_frame_set_label_widget(LiVESFrame *, LiVESWidget *);
585 LiVESWidget *lives_frame_get_label_widget(LiVESFrame *);
586 boolean lives_frame_set_shadow_type(LiVESFrame *, LiVESShadowType);
587
588 LiVESWidget *lives_notebook_new(void);
589 LiVESWidget *lives_notebook_get_nth_page(LiVESNotebook *, int pagenum);
590 int lives_notebook_get_current_page(LiVESNotebook *);
591 boolean lives_notebook_set_current_page(LiVESNotebook *, int pagenum);
592 boolean lives_notebook_set_tab_label(LiVESNotebook *, LiVESWidget *child, LiVESWidget *tablabel);
593
594 LiVESWidget *lives_menu_new(void);
595 LiVESWidget *lives_menu_bar_new(void);
596
597 boolean lives_menu_popup(LiVESMenu *, LiVESXEventButton *);
598
599 boolean lives_menu_reorder_child(LiVESMenu *, LiVESWidget *, int pos);
600 boolean lives_menu_detach(LiVESMenu *);
601
602 boolean lives_menu_shell_insert(LiVESMenuShell *, LiVESWidget *child, int pos);
603 boolean lives_menu_shell_prepend(LiVESMenuShell *, LiVESWidget *child);
604 boolean lives_menu_shell_append(LiVESMenuShell *, LiVESWidget *child);
605
606 LiVESWidget *lives_menu_item_new(void);
607 LiVESWidget *lives_menu_item_new_with_mnemonic(const char *label);
608 LiVESWidget *lives_menu_item_new_with_label(const char *label);
609
610 LiVESWidget *lives_check_menu_item_new_with_mnemonic(const char *label);
611 LiVESWidget *lives_check_menu_item_new_with_label(const char *label);
612 boolean lives_check_menu_item_set_draw_as_radio(LiVESCheckMenuItem *, boolean setting);
613
614 LiVESWidget *lives_radio_menu_item_new_with_label(LiVESSList *group, const char *label);
615 LiVESWidget *lives_image_menu_item_new_with_label(const char *label);
616 LiVESWidget *lives_image_menu_item_new_with_mnemonic(const char *label);
617 LiVESWidget *lives_image_menu_item_new_from_stock(const char *stock_id, LiVESAccelGroup *accel_group);
618
619 LiVESToolItem *lives_menu_tool_button_new(LiVESWidget *icon, const char *label);
620 boolean lives_menu_tool_button_set_menu(LiVESMenuToolButton *, LiVESWidget *menu);
621
622
623 #if !GTK_CHECK_VERSION(3,10,0)
624
625 boolean lives_image_menu_item_set_image(LiVESImageMenuItem *, LiVESWidget *image);
626
627 #endif
628
629 boolean lives_menu_item_set_submenu(LiVESMenuItem *, LiVESWidget *);
630
631 boolean lives_menu_item_activate(LiVESMenuItem *);
632
633 boolean lives_check_menu_item_set_active(LiVESCheckMenuItem *, boolean state);
634 boolean lives_check_menu_item_get_active(LiVESCheckMenuItem *);
635
636 boolean lives_menu_set_title(LiVESMenu *, const char *title);
637
638
639 int lives_display_get_n_screens(LiVESXDisplay *);
640
641
642 char *lives_file_chooser_get_filename(LiVESFileChooser *);
643 LiVESSList *lives_file_chooser_get_filenames(LiVESFileChooser *);
644
645 boolean lives_widget_grab_focus(LiVESWidget *);
646 boolean lives_widget_grab_default(LiVESWidget *);
647
648 boolean lives_widget_set_tooltip_text(LiVESWidget *, const char *text);
649
650 boolean lives_widget_process_updates(LiVESWidget *, boolean upd_children);
651 boolean lives_xwindow_process_all_updates(void);
652
653 LiVESAccelGroup *lives_accel_group_new(void);
654 boolean lives_accel_group_connect(LiVESAccelGroup *, uint32_t key, LiVESXModifierType mod, LiVESAccelFlags flags,
655 LiVESWidgetClosure *closure);
656 boolean lives_accel_group_disconnect(LiVESAccelGroup *, LiVESWidgetClosure *closure);
657 boolean lives_accel_groups_activate(LiVESObject *object, uint32_t key, LiVESXModifierType mod);
658
659 boolean lives_widget_add_accelerator(LiVESWidget *, const char *accel_signal, LiVESAccelGroup *accel_group,
660 uint32_t accel_key, LiVESXModifierType accel_mods, LiVESAccelFlags accel_flags);
661
662 boolean lives_widget_get_pointer(LiVESXDevice *, LiVESWidget *, int *x, int *y);
663 LiVESXWindow *lives_display_get_window_at_pointer(LiVESXDevice *, LiVESXDisplay *, int *win_x, int *win_y);
664 boolean lives_display_get_pointer(LiVESXDevice *, LiVESXDisplay *, LiVESXScreen **, int *x, int *y, LiVESXModifierType *mask);
665 boolean lives_display_warp_pointer(LiVESXDevice *, LiVESXDisplay *, LiVESXScreen *, int x, int y);
666
667 LiVESXDisplay *lives_widget_get_display(LiVESWidget *);
668 lives_display_t lives_widget_get_display_type(LiVESWidget *);
669
670 uint64_t lives_widget_get_xwinid(LiVESWidget *, const char *failure_msg);
671
672
673 LiVESWidget *lives_scrolled_window_new(LiVESAdjustment *hadj, LiVESAdjustment *vadj);
674 LiVESAdjustment *lives_scrolled_window_get_hadjustment(LiVESScrolledWindow *);
675 LiVESAdjustment *lives_scrolled_window_get_vadjustment(LiVESScrolledWindow *);
676
677 boolean lives_scrolled_window_set_policy(LiVESScrolledWindow *, LiVESPolicyType hpolicy, LiVESPolicyType vpolicy);
678 boolean lives_scrolled_window_add_with_viewport(LiVESScrolledWindow *, LiVESWidget *child);
679
680 boolean lives_xwindow_raise(LiVESXWindow *);
681 boolean lives_xwindow_set_cursor(LiVESXWindow *, LiVESXCursor *);
682
683 uint32_t lives_timer_add(uint32_t interval, LiVESWidgetSourceFunc function, livespointer data);
684 boolean lives_timer_remove(uint32_t timer);
685
686 boolean lives_source_remove(ulong handle);
687
688 uint32_t lives_accelerator_get_default_mod_mask();
689
690 int lives_screen_get_width(LiVESXScreen *);
691 int lives_screen_get_height(LiVESXScreen *);
692
693 boolean lives_scale_set_draw_value(LiVESScale *, boolean draw_value);
694 boolean lives_scale_set_value_pos(LiVESScale *, LiVESPositionType ptype);
695 boolean lives_scale_set_digits(LiVESScale *, int digits);
696
697 // optional (return TRUE if implemented)
698
699 boolean lives_dialog_set_has_separator(LiVESDialog *, boolean has);
700 boolean lives_widget_set_hexpand(LiVESWidget *, boolean state);
701 boolean lives_widget_set_vexpand(LiVESWidget *, boolean state);
702 boolean lives_image_menu_item_set_always_show_image(LiVESImageMenuItem *, boolean show);
703 boolean lives_scale_button_set_orientation(LiVESScaleButton *, LiVESOrientation orientation);
704 boolean lives_window_set_auto_startup_notification(boolean set);
705
706
707
708
709 // compound functions (composed of basic functions)
710
711 LiVESWidget *lives_standard_label_new(const char *text);
712 LiVESWidget *lives_standard_label_new_with_mnemonic(const char *text, LiVESWidget *mnemonic_widget);
713
714 LiVESWidget *lives_standard_check_button_new(const char *labeltext, boolean use_mnemonic, LiVESBox *box, const char *tooltip);
715 LiVESWidget *lives_standard_radio_button_new(const char *labeltext, boolean use_mnemonic, LiVESSList *rbgroup,
716 LiVESBox *, const char *tooltip);
717 LiVESWidget *lives_standard_spin_button_new(const char *labeltext, boolean use_mnemonic, double val, double min,
718 double max, double step, double page, int dp, LiVESBox *,
719 const char *tooltip);
720 LiVESWidget *lives_standard_combo_new(const char *labeltext, boolean use_mnemonic, LiVESList *list, LiVESBox *,
721 const char *tooltip);
722
723 LiVESWidget *lives_standard_entry_new(const char *labeltext, boolean use_mnemonic, const char *txt, int dispwidth, int maxchars, LiVESBox *,
724 const char *tooltip);
725
726 LiVESWidget *lives_standard_dialog_new(const char *title, boolean add_std_buttons, int width, int height);
727
728 LiVESWidget *lives_standard_hruler_new(void);
729
730 LiVESWidget *lives_standard_scrolled_window_new(int width, int height, LiVESWidget *child);
731
732 LiVESWidget *lives_standard_expander_new(const char *label, boolean use_mnemonic, LiVESBox *parent, LiVESWidget *child);
733
734 LiVESWidget *lives_volume_button_new(LiVESOrientation orientation, LiVESAdjustment *, double volume);
735
736 LiVESWidget *lives_standard_file_button_new(boolean is_dir, const char *def_dir);
737
738 LiVESXCursor *lives_cursor_new_from_pixbuf(LiVESXDisplay *, LiVESPixbuf *, int x, int y);
739
740 // util functions
741
742 void lives_widget_apply_theme(LiVESWidget *, LiVESWidgetState state); // normal theme colours
743 void lives_widget_apply_theme2(LiVESWidget *, LiVESWidgetState state); // menu and bars colours (bg only...)
744
745 void lives_cursor_unref(LiVESXCursor *cursor);
746
747 boolean lives_widget_context_update(void);
748
749 LiVESWidget *lives_menu_add_separator(LiVESMenu *menu);
750
751 void lives_widget_get_fg_color(LiVESWidget *, LiVESWidgetColor *);
752
753 void lives_window_center(LiVESWindow *);
754
755 boolean lives_entry_set_completion_from_list(LiVESEntry *, LiVESList *);
756
757 void lives_widget_unparent(LiVESWidget *);
758
759 void lives_tooltips_copy(LiVESWidget *dest, LiVESWidget *source);
760
761 char *lives_text_view_get_text(LiVESTextView *);
762 boolean lives_text_view_set_text(LiVESTextView *, const char *text, int len);
763
764
765 boolean lives_text_buffer_insert_at_end(LiVESTextBuffer *, const char *text);
766 boolean lives_text_view_scroll_onscreen(LiVESTextView *);
767
768
769
770
771 void lives_general_button_clicked(LiVESButton *, livespointer data_to_free);
772
773 void lives_spin_button_configure(LiVESSpinButton *, double value, double lower, double upper,
774 double step_increment, double page_increment);
775
776
777
778 size_t calc_spin_button_width(double min, double max, int dp);
779
780 int get_box_child_index(LiVESBox *, LiVESWidget *child);
781
782 boolean label_act_toggle(LiVESWidget *, LiVESXEventButton *, LiVESToggleButton *);
783 boolean widget_act_toggle(LiVESWidget *, LiVESToggleButton *);
784
785 void toggle_button_toggle(LiVESToggleButton *);
786
787 // must retain this fn prototype as a callback
788 void set_child_colour(LiVESWidget *widget, livespointer set_all);
789
790 void funkify_dialog(LiVESWidget *dialog);
791
792 void unhide_cursor(LiVESXWindow *);
793 void hide_cursor(LiVESXWindow *);
794
795 void get_border_size(LiVESWidget *win, int *bx, int *by);
796
797 LiVESWidget *add_hsep_to_box(LiVESBox *);
798 LiVESWidget *add_vsep_to_box(LiVESBox *);
799
800 LiVESWidget *add_fill_to_box(LiVESBox *);
801
802 #endif // cplusplus
803
804 #define LIVES_JUSTIFY_DEFAULT (widget_opts.default_justify)
805
806 #define W_MAX_FILLER_LEN 65535
807
808
809 typedef enum {
810 LIVES_CURSOR_NORMAL=0,
811 LIVES_CURSOR_BUSY,
812 LIVES_CURSOR_CENTER_PTR,
813 LIVES_CURSOR_HAND2,
814 LIVES_CURSOR_SB_H_DOUBLE_ARROW,
815 LIVES_CURSOR_CROSSHAIR,
816 LIVES_CURSOR_TOP_LEFT_CORNER,
817 LIVES_CURSOR_BOTTOM_RIGHT_CORNER,
818
820 LIVES_CURSOR_BLOCK,
821 LIVES_CURSOR_AUDIO_BLOCK,
822 LIVES_CURSOR_VIDEO_BLOCK,
823 LIVES_CURSOR_FX_BLOCK
824 } lives_cursor_t;
825
826 void lives_set_cursor_style(lives_cursor_t cstyle, LiVESWidget *);
827
828 typedef enum {
829 LIVES_EXPAND_DEFAULT,
830 LIVES_EXPAND_NONE,
831 LIVES_EXPAND_EXTRA
832 } lives_expand_t;
833
834
835 typedef struct {
836 boolean no_gui; // show nothing !
837 boolean swap_label; // swap label/widget position
838 boolean pack_end;
839 boolean line_wrap; // line wrapping for labels
840 boolean non_modal; // non-modal for dialogs
841 boolean expand; // whether spin,check,radio buttons should expand
842 boolean apply_theme; // whether to apply theming to widget
843 double scale; // scale factor for all sizes
844 int packing_width; // default should be W_PACKING_WIDTH
845 int packing_height; // default should be W_PACKING_HEIGHT
846 int border_width; // default should be W_BORDER_WIDTH
847 int filler_len; // length of extra "fill" between widgets
848 LiVESWidget *last_label; // label widget of last standard widget (spin,radio,check,entry,combo) [readonly]
849 LiVESJustification justify; // justify for labels
850 LiVESJustification default_justify;
851 } widget_opts_t;
852
853
854 widget_opts_t widget_opts;
855
856 #ifdef NEED_DEF_WIDGET_OPTS
857
858 const widget_opts_t def_widget_opts = {
859 FALSE, // no_gui
860 FALSE, // swap_label
861 FALSE, //pack_end
862 FALSE, // line_wrap
863 FALSE, // non_modal
864 LIVES_EXPAND_DEFAULT, // default expand
865 FALSE, // no themeing
866 1.0, // default scale
867 W_PACKING_WIDTH, // def packing width
868 W_PACKING_HEIGHT, // def packing height
869 W_BORDER_WIDTH, // def border width
870 8, // def fill width (in chars)
871 NULL, // last_label
872 LIVES_JUSTIFY_LEFT, // justify
873 LIVES_JUSTIFY_LEFT // default justify
874 };
875
876 #else
877
878 extern const widget_opts_t def_widget_opts;
879
880 //#endif
881
882 #endif
883
lives_widget_queue_draw
LIVES_INLINE boolean lives_widget_queue_draw(LiVESWidget *widget)
Definition: widget-helper.c:767
lives_pixbuf_get_height
LIVES_INLINE int lives_pixbuf_get_height(const LiVESPixbuf *pixbuf)
Definition: widget-helper.c:2058
lives_screen_get_width
LIVES_INLINE int lives_screen_get_width(LiVESXScreen *screen)
Definition: widget-helper.c:7252
lives_menu_item_set_submenu
LIVES_INLINE boolean lives_menu_item_set_submenu(LiVESMenuItem *menuitem, LiVESWidget *menu)
Definition: widget-helper.c:6232
lives_widget_color_copy
LIVES_INLINE LiVESWidgetColor * lives_widget_color_copy(LiVESWidgetColor *c1, const LiVESWidgetColor *c2)
Definition: widget-helper.c:1145
lives_text_buffer_get_iter_at_mark
LIVES_INLINE boolean lives_text_buffer_get_iter_at_mark(LiVESTextBuffer *tbuff, LiVESTextIter *iter, LiVESTextMark *mark)
Definition: widget-helper.c:3132
lives_window_unfullscreen
LIVES_INLINE boolean lives_window_unfullscreen(LiVESWindow *window)
Definition: widget-helper.c:1742
lives_painter_image_surface_create_for_data
LIVES_INLINE lives_painter_surface_t * lives_painter_image_surface_create_for_data(uint8_t *data, lives_painter_format_t format, int width, int height, int stride)
Definition: widget-helper.c:370
lives_scrolled_window_get_vadjustment
LIVES_INLINE LiVESAdjustment * lives_scrolled_window_get_vadjustment(LiVESScrolledWindow *swindow)
Definition: widget-helper.c:5821
widget_opts_t::justify
LiVESJustification justify
Definition: widget-helper.h:849
lives_spin_button_get_value_as_int
LIVES_INLINE int lives_spin_button_get_value_as_int(LiVESSpinButton *button)
Definition: widget-helper.c:4140
lives_object_ref
LIVES_INLINE livespointer lives_object_ref(livespointer object)
increase refcount by one
Definition: widget-helper.c:539
lives_container_get_children
LIVES_INLINE LiVESList * lives_container_get_children(LiVESContainer *cont)
Definition: widget-helper.c:4023
lives_image_new_from_stock
LIVES_INLINE LiVESWidget * lives_image_new_from_stock(const char *stock_id, LiVESIconSize size)
Definition: widget-helper.c:1221
lives_painter_create
LIVES_INLINE lives_painter_t * lives_painter_create(lives_painter_surface_t *target)
Definition: widget-helper.c:21
lives_pixbuf_scale_simple
LIVES_INLINE LiVESPixbuf * lives_pixbuf_scale_simple(const LiVESPixbuf *src, int dest_width, int dest_height, LiVESInterpType interp_type)
Definition: widget-helper.c:2116
lives_widget_set_can_focus_and_default
boolean lives_widget_set_can_focus_and_default(LiVESWidget *widget)
Definition: widget-helper.c:8589
lives_painter_surface_flush
LIVES_INLINE boolean lives_painter_surface_flush(lives_painter_surface_t *surf)
Definition: widget-helper.c:357
lives_widget_set_hexpand
LIVES_INLINE boolean lives_widget_set_hexpand(LiVESWidget *widget, boolean state)
Definition: widget-helper.c:5914
lives_toolbar_get_icon_size
LIVES_INLINE LiVESIconSize lives_toolbar_get_icon_size(LiVESToolbar *toolbar)
Definition: widget-helper.c:4488
lives_window_set_keep_below
LIVES_INLINE boolean lives_window_set_keep_below(LiVESWindow *window, boolean set)
Definition: widget-helper.c:1515
lives_grid_set_column_spacing
LIVES_INLINE boolean lives_grid_set_column_spacing(LiVESGrid *grid, uint32_t spacing)
Definition: widget-helper.c:6584
lives_container_add
LIVES_INLINE boolean lives_container_add(LiVESContainer *container, LiVESWidget *widget)
Definition: widget-helper.c:3817
lives_hbox_new
LIVES_INLINE LiVESWidget * lives_hbox_new(boolean homogeneous, int spacing)
Definition: widget-helper.c:2221
lives_menu_item_new_with_label
LIVES_INLINE LiVESWidget * lives_menu_item_new_with_label(const char *label)
Definition: widget-helper.c:6008
lives_image_get_pixbuf
LIVES_INLINE LiVESPixbuf * lives_image_get_pixbuf(LiVESImage *image)
Definition: widget-helper.c:1309
LIVES_CURSOR_CROSSHAIR
Definition: widget-helper.h:815
lives_color_button_get_color
LIVES_INLINE boolean lives_color_button_get_color(LiVESColorButton *button, LiVESWidgetColor *color)
Definition: widget-helper.c:6963
lives_spin_button_set_range
LIVES_INLINE boolean lives_spin_button_set_range(LiVESSpinButton *button, double min, double max)
Definition: widget-helper.c:4176
lives_widget_set_events
LIVES_INLINE boolean lives_widget_set_events(LiVESWidget *widget, int events)
Definition: widget-helper.c:3732
add_hsep_to_box
LiVESWidget * add_hsep_to_box(LiVESBox *box)
Definition: widget-helper.c:8605
lives_tree_model_get_iter_first
LIVES_INLINE boolean lives_tree_model_get_iter_first(LiVESTreeModel *tmod, LiVESTreeIter *titer)
Definition: widget-helper.c:4946
lives_window_present
LIVES_INLINE boolean lives_window_present(LiVESWindow *window)
Definition: widget-helper.c:1711
lives_drawing_area_new
LIVES_INLINE LiVESWidget * lives_drawing_area_new(void)
Definition: widget-helper.c:3423
lives_painter_destroy
LIVES_INLINE boolean lives_painter_destroy(lives_painter_t *cr)
Definition: widget-helper.c:137
lives_painter_new_path
LIVES_INLINE boolean lives_painter_new_path(lives_painter_t *cr)
Definition: widget-helper.c:198
lives_signal_handler_block
LIVES_INLINE boolean lives_signal_handler_block(livespointer instance, unsigned long handler_id)
Definition: widget-helper.c:588
lives_widget_hide
LIVES_INLINE boolean lives_widget_hide(LiVESWidget *widget)
Definition: widget-helper.c:728
lives_painter_paint
LIVES_INLINE boolean lives_painter_paint(lives_painter_t *cr)
Definition: widget-helper.c:83
lives_widget_is_visible
LIVES_INLINE boolean lives_widget_is_visible(LiVESWidget *widget)
Definition: widget-helper.c:3788
lives_paned_pack
LIVES_INLINE boolean lives_paned_pack(int where, LiVESPaned *paned, LiVESWidget *child, boolean resize, boolean shrink)
Definition: widget-helper.c:3408
lives_tree_model_iter_children
LIVES_INLINE boolean lives_tree_model_iter_children(LiVESTreeModel *tmod, LiVESTreeIter *titer, LiVESTreeIter *parent)
Definition: widget-helper.c:4988
get_border_size
void get_border_size(LiVESWidget *win, int *bx, int *by)
Definition: widget-helper.c:8556
lives_painter_render_background
LIVES_INLINE boolean lives_painter_render_background(LiVESWidget *widget, lives_painter_t *cr, double x, double y, double width, double height)
Definition: widget-helper.c:155
widget_opts_t::packing_width
int packing_width
Definition: widget-helper.h:844
lives_alignment_new
LIVES_INLINE LiVESWidget * lives_alignment_new(float xalign, float yalign, float xscale, float yscale)
Definition: widget-helper.c:2562
lives_signal_connect
ulong lives_signal_connect(LiVESWidget *widget, const char *signal_name, ulong funcptr, livespointer data)
lives_widget_get_allocation_width
LIVES_INLINE int lives_widget_get_allocation_width(LiVESWidget *widget)
Definition: widget-helper.c:4569
lives_set_cursor_style
void lives_set_cursor_style(lives_cursor_t cstyle, LiVESWidget *widget)
Definition: widget-helper.c:8365
lives_has_icon
boolean lives_has_icon(const char *stock_id, LiVESIconSize size)
Definition: widget-helper.c:8051
lives_pixbuf_new_from_file
LIVES_INLINE LiVESPixbuf * lives_pixbuf_new_from_file(const char *filename, LiVESError **error)
Definition: widget-helper.c:1970
lives_text_buffer_get_text
LIVES_INLINE char * lives_text_buffer_get_text(LiVESTextBuffer *tbuff, LiVESTextIter *start, LiVESTextIter *end, boolean inc_hidden_chars)
Definition: widget-helper.c:3031
lives_scrolled_window_new
LIVES_INLINE LiVESWidget * lives_scrolled_window_new(LiVESAdjustment *hadj, LiVESAdjustment *vadj)
Definition: widget-helper.c:5797
lives_text_view_set_justification
LIVES_INLINE boolean lives_text_view_set_justification(LiVESTextView *tview, LiVESJustification justify)
Definition: widget-helper.c:2947
lives_tree_store_append
LIVES_INLINE boolean lives_tree_store_append(LiVESTreeStore *tstore, LiVESTreeIter *titer, LiVESTreeIter *parent)
Definition: widget-helper.c:5134
lives_combo_new
LIVES_INLINE LiVESWidget * lives_combo_new(void)
Definition: widget-helper.c:2662
lives_dialog_add_action_widget
LIVES_INLINE boolean lives_dialog_add_action_widget(LiVESDialog *dialog, LiVESWidget *widget, int response)
Definition: widget-helper.c:1381
lives_adjustment_set_upper
LIVES_INLINE boolean lives_adjustment_set_upper(LiVESAdjustment *adj, double upper)
Definition: widget-helper.c:4723
def_widget_opts
const widget_opts_t def_widget_opts
lives_pixbuf_get_pixels_readonly
LIVES_INLINE const unsigned char * lives_pixbuf_get_pixels_readonly(const LiVESPixbuf *pixbuf)
Definition: widget-helper.c:2092
lives_text_buffer_new
LIVES_INLINE LiVESTextBuffer * lives_text_buffer_new(void)
Definition: widget-helper.c:2975
lives_widget_get_sensitive
LIVES_INLINE boolean lives_widget_get_sensitive(LiVESWidget *widget)
Definition: widget-helper.c:696
lives_combo_get_active
LIVES_INLINE int lives_combo_get_active(LiVESCombo *combo)
Definition: widget-helper.c:2841
lives_accel_group_connect
LIVES_INLINE boolean lives_accel_group_connect(LiVESAccelGroup *group, uint32_t key, LiVESXModifierType mod, LiVESAccelFlags flags, LiVESWidgetClosure *closure)
Definition: widget-helper.c:1807
lives_range_set_range
LIVES_INLINE boolean lives_range_set_range(LiVESRange *range, double min, double max)
Definition: widget-helper.c:4825
lives_tree_model_get
LIVES_INLINE boolean lives_tree_model_get(LiVESTreeModel *tmod, LiVESTreeIter *titer,...)
Definition: widget-helper.c:4888
lives_button_new_with_label
LIVES_INLINE LiVESWidget * lives_button_new_with_label(const char *label)
Definition: widget-helper.c:3185
lives_widget_get_preferred_size
boolean lives_widget_get_preferred_size(LiVESWidget *widget, LiVESRequisition *min_size, LiVESRequisition *nat_size)
Definition: widget-helper.c:3757
lives_widget_show_all
LIVES_INLINE boolean lives_widget_show_all(LiVESWidget *widget)
Definition: widget-helper.c:741
lives_menu_set_title
LIVES_INLINE boolean lives_menu_set_title(LiVESMenu *menu, const char *title)
Definition: widget-helper.c:6314
lives_widget_get_fg_state_color
LIVES_INLINE boolean lives_widget_get_fg_state_color(LiVESWidget *widget, LiVESWidgetState state, LiVESWidgetColor *color)
Definition: widget-helper.c:1109
lives_range_set_value
LIVES_INLINE boolean lives_range_set_value(LiVESRange *range, double value)
Definition: widget-helper.c:4816
lives_spin_button_set_wrap
LIVES_INLINE boolean lives_spin_button_set_wrap(LiVESSpinButton *button, boolean wrap)
Definition: widget-helper.c:4198
lives_event_box_set_above_child
LIVES_INLINE boolean lives_event_box_set_above_child(LiVESEventBox *ebox, boolean set)
Definition: widget-helper.c:1195
lives_button_new
LIVES_INLINE LiVESWidget * lives_button_new(void)
Definition: widget-helper.c:3157
lives_object_ref_sink
LIVES_INLINE void lives_object_ref_sink(livespointer object)
Definition: widget-helper.c:570
lives_text_buffer_set_text
LIVES_INLINE boolean lives_text_buffer_set_text(LiVESTextBuffer *tbuff, const char *text, int len)
Definition: widget-helper.c:3018
lives_tree_view_append_column
LIVES_INLINE int lives_tree_view_append_column(LiVESTreeView *tview, LiVESTreeViewColumn *tvcol)
Definition: widget-helper.c:5271
lives_accelerator_get_default_mod_mask
LIVES_INLINE uint32_t lives_accelerator_get_default_mod_mask()
Definition: widget-helper.c:7241
lives_tree_path_free
LIVES_INLINE boolean lives_tree_path_free(LiVESTreePath *tpath)
Definition: widget-helper.c:5049
lives_list_store_set
LIVES_INLINE boolean lives_list_store_set(LiVESListStore *lstore, LiVESTreeIter *titer,...)
Definition: widget-helper.c:5464
LIVES_CURSOR_SB_H_DOUBLE_ARROW
Definition: widget-helper.h:814
lives_text_view_scroll_mark_onscreen
LIVES_INLINE boolean lives_text_view_scroll_mark_onscreen(LiVESTextView *tview, LiVESTextMark *mark)
Definition: widget-helper.c:2960
lives_button_box_set_layout
LIVES_INLINE boolean lives_button_box_set_layout(LiVESButtonBox *bbox, LiVESButtonBoxStyle bstyle)
Definition: widget-helper.c:2383
set_child_colour
void set_child_colour(LiVESWidget *widget, livespointer set_allx)
Definition: widget-helper.c:8178
lives_image_new_from_pixbuf
LIVES_INLINE LiVESWidget * lives_image_new_from_pixbuf(LiVESPixbuf *pixbuf)
Definition: widget-helper.c:1283
lives_button_set_label
LIVES_INLINE boolean lives_button_set_label(LiVESButton *button, const char *label)
Definition: widget-helper.c:3296
lives_event_get_time
LIVES_INLINE int lives_event_get_time(LiVESXEvent *event)
Definition: widget-helper.c:3436
lives_widget_set_size_request
LIVES_INLINE boolean lives_widget_set_size_request(LiVESWidget *widget, int width, int height)
Definition: widget-helper.c:810
lives_frame_new
LIVES_INLINE LiVESWidget * lives_frame_new(const char *label)
Definition: widget-helper.c:6631
lives_bin_get_child
LIVES_INLINE LiVESWidget * lives_bin_get_child(LiVESBin *bin)
Definition: widget-helper.c:4646
lives_widget_remove_accelerator
LIVES_INLINE boolean lives_widget_remove_accelerator(LiVESWidget *widget, LiVESAccelGroup *acgroup, uint32_t accel_key, LiVESXModifierType accel_mods)
Definition: widget-helper.c:3745
lives_window_set_title
LIVES_INLINE boolean lives_window_set_title(LiVESWindow *window, const char *title)
Definition: widget-helper.c:1413
lives_painter_image_surface_get_data
uint8_t * lives_painter_image_surface_get_data(lives_painter_surface_t *surf)
Definition: widget-helper.c:446
lives_image_new_from_file
LIVES_INLINE LiVESWidget * lives_image_new_from_file(const char *filename)
Definition: widget-helper.c:1263
lives_spin_button_configure
void lives_spin_button_configure(LiVESSpinButton *spinbutton, double value, double lower, double upper, double step_increment, double page_increment)
Definition: widget-helper.c:8256
lives_adjustment_set_lower
LIVES_INLINE boolean lives_adjustment_set_lower(LiVESAdjustment *adj, double lower)
Definition: widget-helper.c:4740
lives_painter_arc
LIVES_INLINE boolean lives_painter_arc(lives_painter_t *cr, double xc, double yc, double radius, double angle1, double angle2)
Definition: widget-helper.c:280
lives_alignment_set
LIVES_INLINE boolean lives_alignment_set(LiVESAlignment *alignment, float xalign, float yalign, float xscale, float yscale)
Definition: widget-helper.c:2585
lives_widget_set_base_color
LIVES_INLINE boolean lives_widget_set_base_color(LiVESWidget *widget, LiVESWidgetState state, const LiVESWidgetColor *color)
Definition: widget-helper.c:1091
lives_window_set_hide_titlebar_when_maximized
LIVES_INLINE boolean lives_window_set_hide_titlebar_when_maximized(LiVESWindow *window, boolean setting)
Definition: widget-helper.c:1687
lives_menu_tool_button_set_menu
LIVES_INLINE boolean lives_menu_tool_button_set_menu(LiVESMenuToolButton *toolbutton, LiVESWidget *menu)
Definition: widget-helper.c:6218
lives_color_button_set_color
LIVES_INLINE boolean lives_color_button_set_color(LiVESColorButton *button, const LiVESWidgetColor *color)
Definition: widget-helper.c:6983
lives_window_maximize
LIVES_INLINE boolean lives_window_maximize(LiVESWindow *window)
Definition: widget-helper.c:1760
lives_window_remove_accel_group
LIVES_INLINE boolean lives_window_remove_accel_group(LiVESWindow *window, LiVESAccelGroup *group)
Definition: widget-helper.c:1866
add_fill_to_box
LiVESWidget * add_fill_to_box(LiVESBox *box)
Definition: widget-helper.c:8632
lives_table_attach
LIVES_INLINE boolean lives_table_attach(LiVESTable *table, LiVESWidget *child, uint32_t left, uint32_t right, uint32_t top, uint32_t bottom, LiVESAttachOptions xoptions, LiVESAttachOptions yoptions, uint32_t xpad, uint32_t ypad)
Definition: widget-helper.c:6886
lives_list_store_insert
LIVES_INLINE boolean lives_list_store_insert(LiVESListStore *lstore, LiVESTreeIter *titer, int position)
Definition: widget-helper.c:5502
widget_opts_t::default_justify
LiVESJustification default_justify
Definition: widget-helper.h:850
lives_check_menu_item_new_with_mnemonic
LIVES_INLINE LiVESWidget * lives_check_menu_item_new_with_mnemonic(const char *label)
Definition: widget-helper.c:6131
lives_timer_remove
LIVES_INLINE boolean lives_timer_remove(uint32_t timer)
Definition: widget-helper.c:7212
lives_cursor_t
lives_cursor_t
Definition: widget-helper.h:809
lives_label_set_text
LIVES_INLINE boolean lives_label_set_text(LiVESLabel *label, const char *text)
Definition: widget-helper.c:5529
lives_text_view_set_cursor_visible
LIVES_INLINE boolean lives_text_view_set_cursor_visible(LiVESTextView *tview, boolean setting)
Definition: widget-helper.c:2917
lives_standard_expander_new
LiVESWidget * lives_standard_expander_new(const char *ltext, boolean use_mnemonic, LiVESBox *parent, LiVESWidget *child)
Definition: widget-helper.c:7951
lives_progress_bar_pulse
LIVES_INLINE boolean lives_progress_bar_pulse(LiVESProgressBar *pbar)
Definition: widget-helper.c:4101
lives_display_get_pointer
LIVES_INLINE boolean lives_display_get_pointer(LiVESXDevice *device, LiVESXDisplay *display, LiVESXScreen **screen, int *x, int *y, LiVESXModifierType *mask)
Definition: widget-helper.c:7109
lives_text_buffer_create_mark
LIVES_INLINE LiVESTextMark * lives_text_buffer_create_mark(LiVESTextBuffer *tbuff, const char *mark_name, const LiVESTextIter *where, boolean left_gravity)
Definition: widget-helper.c:3087
resize
void resize(double scale)
Definition: main.c:7341
lives_label_get_text
LIVES_INLINE const char * lives_label_get_text(LiVESLabel *label)
Definition: widget-helper.c:5518
lives_tool_button_set_icon_widget
LIVES_INLINE boolean lives_tool_button_set_icon_widget(LiVESToolButton *button, LiVESWidget *icon)
Definition: widget-helper.c:4261
lives_cell_renderer_toggle_new
LIVES_INLINE LiVESCellRenderer * lives_cell_renderer_toggle_new(void)
Definition: widget-helper.c:4417
lives_check_menu_item_get_active
LIVES_INLINE boolean lives_check_menu_item_get_active(LiVESCheckMenuItem *item)
Definition: widget-helper.c:6281
widget_act_toggle
boolean widget_act_toggle(LiVESWidget *widget, LiVESToggleButton *togglebutton)
Definition: widget-helper.c:8166
lives_painter_image_surface_get_stride
int lives_painter_image_surface_get_stride(lives_painter_surface_t *surf)
Definition: widget-helper.c:482
lives_notebook_get_nth_page
LIVES_INLINE LiVESWidget * lives_notebook_get_nth_page(LiVESNotebook *nbook, int pagenum)
Definition: widget-helper.c:6711
lives_entry_new
LIVES_INLINE LiVESWidget * lives_entry_new(void)
Definition: widget-helper.c:5682
lives_window_set_decorated
LIVES_INLINE boolean lives_window_set_decorated(LiVESWindow *window, boolean set)
Definition: widget-helper.c:1539
lives_window_set_screen
LIVES_INLINE boolean lives_window_set_screen(LiVESWindow *window, LiVESXScreen *screen)
Definition: widget-helper.c:1577
lives_toolbar_set_style
LIVES_INLINE boolean lives_toolbar_set_style(LiVESToolbar *toolbar, LiVESToolbarStyle style)
Definition: widget-helper.c:4513
lives_combo_populate
boolean lives_combo_populate(LiVESCombo *combo, LiVESList *list)
Definition: widget-helper.c:7312
lives_pixbuf_get_width
LIVES_INLINE int lives_pixbuf_get_width(const LiVESPixbuf *pixbuf)
Definition: widget-helper.c:2047
lives_tree_view_get_model
LIVES_INLINE LiVESTreeModel * lives_tree_view_get_model(LiVESTreeView *tview)
Definition: widget-helper.c:5245
lives_dialog_set_has_separator
LIVES_INLINE boolean lives_dialog_set_has_separator(LiVESDialog *dialog, boolean has)
Definition: widget-helper.c:5897
lives_toggle_button_set_active
LIVES_INLINE boolean lives_toggle_button_set_active(LiVESToggleButton *button, boolean active)
Definition: widget-helper.c:3460
lives_widget_get_allocation_height
LIVES_INLINE int lives_widget_get_allocation_height(LiVESWidget *widget)
Definition: widget-helper.c:4587
lives_painter_set_fill_rule
LIVES_INLINE boolean lives_painter_set_fill_rule(lives_painter_t *cr, lives_painter_fill_rule_t fill_rule)
Definition: widget-helper.c:344
widget_opts_t::swap_label
boolean swap_label
Definition: widget-helper.h:837
lives_image_new
LIVES_INLINE LiVESWidget * lives_image_new(void)
Definition: widget-helper.c:1208
lives_image_menu_item_set_image
LIVES_INLINE boolean lives_image_menu_item_set_image(LiVESImageMenuItem *item, LiVESWidget *image)
Definition: widget-helper.c:6294
lives_text_view_scroll_onscreen
boolean lives_text_view_scroll_onscreen(LiVESTextView *tview)
Definition: widget-helper.c:8225
lives_progress_bar_set_pulse_step
LIVES_INLINE boolean lives_progress_bar_set_pulse_step(LiVESProgressBar *pbar, double fraction)
Definition: widget-helper.c:4088
lives_window_move
LIVES_INLINE boolean lives_window_move(LiVESWindow *window, int x, int y)
Definition: widget-helper.c:1620
lives_signal_handler_disconnect
LIVES_INLINE boolean lives_signal_handler_disconnect(livespointer instance, unsigned long handler_id)
Definition: widget-helper.c:639
lives_painter_set_source_surface
LIVES_INLINE boolean lives_painter_set_source_surface(lives_painter_t *cr, lives_painter_surface_t *surface, double x, double y)
Definition: widget-helper.c:68
lives_xwindow_set_cursor
LIVES_INLINE boolean lives_xwindow_set_cursor(LiVESXWindow *xwin, LiVESXCursor *cursor)
Definition: widget-helper.c:5881
lives_label_set_markup_with_mnemonic
LIVES_INLINE boolean lives_label_set_markup_with_mnemonic(LiVESLabel *label, const char *markup)
Definition: widget-helper.c:5574
lives_tree_selection_get_selected
LIVES_INLINE boolean lives_tree_selection_get_selected(LiVESTreeSelection *tsel, LiVESTreeModel **tmod, LiVESTreeIter *titer)
Definition: widget-helper.c:5385
lives_source_remove
boolean lives_source_remove(ulong handle)
Definition: widget-helper.c:7227
LIVES_EXPAND_EXTRA
Definition: widget-helper.h:831
lives_spin_button_update
LIVES_INLINE boolean lives_spin_button_update(LiVESSpinButton *button)
Definition: widget-helper.c:4224
lives_signal_handlers_unblock_by_func
boolean lives_signal_handlers_unblock_by_func(livespointer instance, livespointer func, livespointer data)
lives_editable_set_editable
LIVES_INLINE boolean lives_editable_set_editable(LiVESEditable *editable, boolean is_editable)
Definition: widget-helper.c:5640
lives_toolbar_set_icon_size
LIVES_INLINE boolean lives_toolbar_set_icon_size(LiVESToolbar *toolbar, LiVESIconSize icon_size)
Definition: widget-helper.c:4500
lives_widget_add_events
LIVES_INLINE boolean lives_widget_add_events(LiVESWidget *widget, int events)
Definition: widget-helper.c:3718
lives_grid_insert_row
LIVES_INLINE boolean lives_grid_insert_row(LiVESGrid *grid, int posn)
Definition: widget-helper.c:6607
lives_cell_renderer_pixbuf_new
LIVES_INLINE LiVESCellRenderer * lives_cell_renderer_pixbuf_new(void)
Definition: widget-helper.c:4430
lives_label_set_text_with_mnemonic
LIVES_INLINE boolean lives_label_set_text_with_mnemonic(LiVESLabel *label, const char *text)
Definition: widget-helper.c:5544
lives_menu_shell_append
LIVES_INLINE boolean lives_menu_shell_append(LiVESMenuShell *menushell, LiVESWidget *child)
Definition: widget-helper.c:6372
lives_cell_renderer_text_new
LIVES_INLINE LiVESCellRenderer * lives_cell_renderer_text_new(void)
Definition: widget-helper.c:4393
lives_toggle_button_get_active
LIVES_INLINE boolean lives_toggle_button_get_active(LiVESToggleButton *button)
Definition: widget-helper.c:3449
lives_widget_set_vexpand
LIVES_INLINE boolean lives_widget_set_vexpand(LiVESWidget *widget, boolean state)
Definition: widget-helper.c:5930
lives_standard_hruler_new
LiVESWidget * lives_standard_hruler_new(void)
Definition: widget-helper.c:7859
lives_dialog_get_action_area
LIVES_INLINE LiVESWidget * lives_dialog_get_action_area(LiVESDialog *dialog)
Definition: widget-helper.c:1363
lives_widget_set_can_default
LIVES_INLINE boolean lives_widget_set_can_default(LiVESWidget *widget, boolean state)
Definition: widget-helper.c:3694
lives_window_center
void lives_window_center(LiVESWindow *window)
Definition: widget-helper.c:8135
lives_image_set_from_pixbuf
LIVES_INLINE boolean lives_image_set_from_pixbuf(LiVESImage *image, LiVESPixbuf *pixbuf)
Definition: widget-helper.c:1296
lives_widget_set_sensitive
LIVES_INLINE boolean lives_widget_set_sensitive(LiVESWidget *widget, boolean state)
Definition: widget-helper.c:669
lives_image_menu_item_new_with_mnemonic
LIVES_INLINE LiVESWidget * lives_image_menu_item_new_with_mnemonic(const char *label)
Definition: widget-helper.c:6048
lives_widget_is_sensitive
LIVES_INLINE boolean lives_widget_is_sensitive(LiVESWidget *widget)
Definition: widget-helper.c:3773
lives_mem_set_vtable
LIVES_INLINE boolean lives_mem_set_vtable(LiVESMemVTable *alt_vtable)
Definition: widget-helper.c:508
lives_widget_set_text_color
LIVES_INLINE boolean lives_widget_set_text_color(LiVESWidget *widget, LiVESWidgetState state, const LiVESWidgetColor *color)
Definition: widget-helper.c:1074
LIVES_DISPLAY_TYPE_WIN32
Definition: widget-helper.h:22
lives_widget_get_xwinid
LIVES_INLINE uint64_t lives_widget_get_xwinid(LiVESWidget *widget, const char *msg)
Definition: widget-helper.c:7171
lives_hseparator_new
LIVES_INLINE LiVESWidget * lives_hseparator_new(void)
Definition: widget-helper.c:2318
lives_expander_new
LIVES_INLINE LiVESWidget * lives_expander_new(const char *label)
Definition: widget-helper.c:2620
lives_table_set_row_homogeneous
LIVES_INLINE boolean lives_table_set_row_homogeneous(LiVESTable *table, boolean homogeneous)
Definition: widget-helper.c:6835
lives_range_set_inverted
LIVES_INLINE boolean lives_range_set_inverted(LiVESRange *range, boolean invert)
Definition: widget-helper.c:4859
lives_painter_line_to
LIVES_INLINE boolean lives_painter_line_to(lives_painter_t *cr, double x, double y)
Definition: widget-helper.c:254
lives_text_buffer_get_end_iter
LIVES_INLINE boolean lives_text_buffer_get_end_iter(LiVESTextBuffer *tbuff, LiVESTextIter *iter)
Definition: widget-helper.c:3058
lives_pixbuf_saturate_and_pixelate
LIVES_INLINE boolean lives_pixbuf_saturate_and_pixelate(const LiVESPixbuf *src, LiVESPixbuf *dest, float saturation, boolean pixilate)
Definition: widget-helper.c:2137
lives_table_set_row_spacings
LIVES_INLINE boolean lives_table_set_row_spacings(LiVESTable *table, uint32_t spacing)
Definition: widget-helper.c:6800
lives_adjustment_get_upper
LIVES_INLINE double lives_adjustment_get_upper(LiVESAdjustment *adj)
Definition: widget-helper.c:4663
lives_expander_new_with_mnemonic
LIVES_INLINE LiVESWidget * lives_expander_new_with_mnemonic(const char *label)
Definition: widget-helper.c:2607
lives_box_pack_start
LIVES_INLINE boolean lives_box_pack_start(LiVESBox *box, LiVESWidget *child, boolean expand, boolean fill, uint32_t padding)
Definition: widget-helper.c:2260
lives_tool_button_new
LIVES_INLINE LiVESToolItem * lives_tool_button_new(LiVESWidget *icon_widget, const char *label)
Definition: widget-helper.c:4237
widget_opts_t::last_label
LiVESWidget * last_label
Definition: widget-helper.h:848
lives_standard_dialog_new
LiVESWidget * lives_standard_dialog_new(const char *title, boolean add_std_buttons, int width, int height)
Definition: widget-helper.c:7783
lives_scale_button_get_value
LIVES_INLINE double lives_scale_button_get_value(LiVESScaleButton *scale)
Definition: widget-helper.c:6502
lives_standard_label_new_with_mnemonic
LiVESWidget * lives_standard_label_new_with_mnemonic(const char *text, LiVESWidget *mnemonic_widget)
Definition: widget-helper.c:7371
lives_container_set_focus_child
LIVES_INLINE boolean lives_container_set_focus_child(LiVESContainer *cont, LiVESWidget *child)
Definition: widget-helper.c:4037
lives_tree_model_iter_n_children
LIVES_INLINE int lives_tree_model_iter_n_children(LiVESTreeModel *tmod, LiVESTreeIter *titer)
Definition: widget-helper.c:5007
label_act_toggle
boolean label_act_toggle(LiVESWidget *widget, LiVESXEventButton *event, LiVESToggleButton *togglebutton)
Definition: widget-helper.c:8160
lives_tool_button_set_use_underline
LIVES_INLINE boolean lives_tool_button_set_use_underline(LiVESToolButton *button, boolean use_underline)
Definition: widget-helper.c:4286
lives_standard_entry_new
LiVESWidget * lives_standard_entry_new(const char *labeltext, boolean use_mnemonic, const char *txt, int dispwidth, int maxchars, LiVESBox *box, const char *tooltip)
Definition: widget-helper.c:7715
widget_opts_t::border_width
int border_width
Definition: widget-helper.h:846
lives_scale_button_set_orientation
LIVES_INLINE boolean lives_scale_button_set_orientation(LiVESScaleButton *scale, LiVESOrientation orientation)
Definition: widget-helper.c:6481
lives_text_buffer_insert_at_cursor
LIVES_INLINE boolean lives_text_buffer_insert_at_cursor(LiVESTextBuffer *tbuff, const char *text, int len)
Definition: widget-helper.c:3003
widget_opts_t::apply_theme
boolean apply_theme
Definition: widget-helper.h:842
lives_combo_set_active_string
boolean lives_combo_set_active_string(LiVESCombo *combo, const char *active_str)
Definition: widget-helper.c:8580
lives_range_get_value
LIVES_INLINE double lives_range_get_value(LiVESRange *range)
Definition: widget-helper.c:4876
lives_expand_t
lives_expand_t
Definition: widget-helper.h:828
lives_window_get_title
LIVES_INLINE const char * lives_window_get_title(LiVESWindow *window)
Definition: widget-helper.c:1609
lives_painter_image_surface_create
LIVES_INLINE lives_painter_surface_t * lives_painter_image_surface_create(lives_painter_format_t format, int width, int height)
Definition: widget-helper.c:405
lives_tree_view_get_selection
LIVES_INLINE LiVESTreeSelection * lives_tree_view_get_selection(LiVESTreeView *tview)
Definition: widget-helper.c:5258
lives_text_view_new_with_buffer
LIVES_INLINE LiVESWidget * lives_text_view_new_with_buffer(LiVESTextBuffer *tbuff)
Definition: widget-helper.c:2866
lives_painter_translate
LIVES_INLINE boolean lives_painter_translate(lives_painter_t *cr, double x, double y)
Definition: widget-helper.c:212
lives_widget_queue_resize
LIVES_INLINE boolean lives_widget_queue_resize(LiVESWidget *widget)
Definition: widget-helper.c:796
widget_opts_t::packing_height
int packing_height
Definition: widget-helper.h:845
lives_accel_groups_activate
LIVES_INLINE boolean lives_accel_groups_activate(LiVESObject *object, uint32_t key, LiVESXModifierType mod)
Definition: widget-helper.c:1892
lives_vbutton_box_new
LIVES_INLINE LiVESWidget * lives_vbutton_box_new(void)
Definition: widget-helper.c:2366
widget-helper-gtk.h
lives_editable_select_region
LIVES_INLINE boolean lives_editable_select_region(LiVESEditable *editable, int start_pos, int end_pos)
Definition: widget-helper.c:5665
lives_grid_new
LIVES_INLINE LiVESWidget * lives_grid_new(void)
Definition: widget-helper.c:6562
lives_window_has_toplevel_focus
LIVES_INLINE boolean lives_window_has_toplevel_focus(LiVESWindow *window)
Definition: widget-helper.c:1907
lives_combo_new_with_model
LIVES_INLINE LiVESWidget * lives_combo_new_with_model(LiVESTreeModel *model)
Definition: widget-helper.c:2678
lives_button_set_use_underline
LIVES_INLINE boolean lives_button_set_use_underline(LiVESButton *button, boolean use)
Definition: widget-helper.c:3315
lives_painter_rectangle
LIVES_INLINE boolean lives_painter_rectangle(lives_painter_t *cr, double x, double y, double width, double height)
Definition: widget-helper.c:267
lives_arrow_new
LIVES_INLINE LiVESWidget * lives_arrow_new(LiVESArrowType arrow_type, LiVESShadowType shadow_type)
Definition: widget-helper.c:2520
widget_opts_t::pack_end
boolean pack_end
Definition: widget-helper.h:838
lives_general_button_clicked
void lives_general_button_clicked(LiVESButton *button, livespointer data_to_free)
Definition: widget-helper.c:8596
calc_spin_button_width
size_t calc_spin_button_width(double min, double max, int dp)
Definition: widget-helper.c:7530
lives_entry_set_editable
LIVES_INLINE boolean lives_entry_set_editable(LiVESEntry *entry, boolean editable)
Definition: widget-helper.c:7277
lives_dialog_get_content_area
LIVES_INLINE LiVESWidget * lives_dialog_get_content_area(LiVESDialog *dialog)
Definition: widget-helper.c:1346
lives_button_set_relief
LIVES_INLINE boolean lives_button_set_relief(LiVESButton *button, LiVESReliefStyle rstyle)
Definition: widget-helper.c:3328
lives_accel_group_disconnect
LIVES_INLINE boolean lives_accel_group_disconnect(LiVESAccelGroup *group, LiVESWidgetClosure *closure)
Definition: widget-helper.c:1822
lives_painter_create_from_widget
LIVES_INLINE lives_painter_t * lives_painter_create_from_widget(LiVESWidget *widget)
Definition: widget-helper.c:33
lives_progress_bar_set_fraction
LIVES_INLINE boolean lives_progress_bar_set_fraction(LiVESProgressBar *pbar, double fraction)
Definition: widget-helper.c:4073
lives_tree_view_new_with_model
LIVES_INLINE LiVESWidget * lives_tree_view_new_with_model(LiVESTreeModel *tmod)
Definition: widget-helper.c:5201
lives_text_view_set_wrap_mode
LIVES_INLINE boolean lives_text_view_set_wrap_mode(LiVESTextView *tview, LiVESWrapMode wrapmode)
Definition: widget-helper.c:2932
lives_widget_reparent
LIVES_INLINE boolean lives_widget_reparent(LiVESWidget *widget, LiVESWidget *new_parent)
Definition: widget-helper.c:853
lives_radio_menu_item_get_group
LIVES_INLINE LiVESSList * lives_radio_menu_item_get_group(LiVESRadioMenuItem *rmenuitem)
Definition: widget-helper.c:6101
lives_painter_clip
LIVES_INLINE boolean lives_painter_clip(lives_painter_t *cr)
Definition: widget-helper.c:123
lives_scale_set_draw_value
LIVES_INLINE boolean lives_scale_set_draw_value(LiVESScale *scale, boolean draw_value)
Definition: widget-helper.c:6440
lives_painter_image_surface_get_format
lives_painter_format_t lives_painter_image_surface_get_format(lives_painter_surface_t *surf)
Definition: widget-helper.c:494
lives_toolbar_set_show_arrow
LIVES_INLINE boolean lives_toolbar_set_show_arrow(LiVESToolbar *toolbar, boolean show)
Definition: widget-helper.c:4479
lives_standard_combo_new
LiVESWidget * lives_standard_combo_new(const char *labeltext, boolean use_mnemonic, LiVESList *list, LiVESBox *box, const char *tooltip)
Definition: widget-helper.c:7632
lives_cursor_new_from_pixbuf
LIVES_INLINE LiVESXCursor * lives_cursor_new_from_pixbuf(LiVESXDisplay *disp, LiVESPixbuf *pixbuf, int x, int y)
Definition: widget-helper.c:7995
lives_tree_view_set_model
LIVES_INLINE boolean lives_tree_view_set_model(LiVESTreeView *tview, LiVESTreeModel *tmod)
Definition: widget-helper.c:5231
lives_window_get_position
LIVES_INLINE boolean lives_window_get_position(LiVESWindow *window, int *x, int *y)
Definition: widget-helper.c:1656
lives_widget_set_app_paintable
LIVES_INLINE boolean lives_widget_set_app_paintable(LiVESWidget *widget, boolean paintable)
Definition: widget-helper.c:877
lives_text_view_set_accepts_tab
LIVES_INLINE boolean lives_text_view_set_accepts_tab(LiVESTextView *tview, boolean setting)
Definition: widget-helper.c:2904
lives_hpaned_new
LIVES_INLINE LiVESWidget * lives_hpaned_new(void)
Definition: widget-helper.c:2433
lives_adjustment_get_value
LIVES_INLINE double lives_adjustment_get_value(LiVESAdjustment *adj)
Definition: widget-helper.c:4711
lives_button_new_with_mnemonic
LIVES_INLINE LiVESWidget * lives_button_new_with_mnemonic(const char *label)
Definition: widget-helper.c:3170
lives_range_set_increments
LIVES_INLINE boolean lives_range_set_increments(LiVESRange *range, double step, double page)
Definition: widget-helper.c:4844
lives_widget_get_fg_color
void lives_widget_get_fg_color(LiVESWidget *widget, LiVESWidgetColor *color)
Definition: widget-helper.c:8152
lives_volume_button_new
LiVESWidget * lives_volume_button_new(LiVESOrientation orientation, LiVESAdjustment *adj, double volume)
Definition: widget-helper.c:7332
lives_xwindow_raise
LIVES_INLINE boolean lives_xwindow_raise(LiVESXWindow *xwin)
Definition: widget-helper.c:5868
lives_text_buffer_place_cursor
LIVES_INLINE boolean lives_text_buffer_place_cursor(LiVESTextBuffer *tbuff, LiVESTextIter *iter)
Definition: widget-helper.c:3072
lives_standard_check_button_new
LiVESWidget * lives_standard_check_button_new(const char *labeltext, boolean use_mnemonic, LiVESBox *box, const char *tooltip)
Definition: widget-helper.c:7387
lives_window_add_accel_group
LIVES_INLINE boolean lives_window_add_accel_group(LiVESWindow *window, LiVESAccelGroup *group)
Definition: widget-helper.c:1853
lives_notebook_set_current_page
LIVES_INLINE boolean lives_notebook_set_current_page(LiVESNotebook *nbook, int pagenum)
Definition: widget-helper.c:6741
lives_tree_store_set
LIVES_INLINE boolean lives_tree_store_set(LiVESTreeStore *tstore, LiVESTreeIter *titer,...)
Definition: widget-helper.c:5162
lives_menu_item_activate
LIVES_INLINE boolean lives_menu_item_activate(LiVESMenuItem *menuitem)
Definition: widget-helper.c:6254
lives_painter_set_source_pixbuf
LIVES_INLINE boolean lives_painter_set_source_pixbuf(lives_painter_t *cr, const LiVESPixbuf *pixbuf, double pixbuf_x, double pixbuf_y)
Definition: widget-helper.c:51
lives_tree_path_get_indices
LIVES_INLINE int * lives_tree_path_get_indices(LiVESTreePath *tpath)
Definition: widget-helper.c:5087
lives_button_set_image
LIVES_INLINE boolean lives_button_set_image(LiVESButton *button, LiVESWidget *image)
Definition: widget-helper.c:3342
lives_painter_get_target
lives_painter_surface_t * lives_painter_get_target(lives_painter_t *cr)
Definition: widget-helper.c:420
lives_text_view_new
LIVES_INLINE LiVESWidget * lives_text_view_new(void)
Definition: widget-helper.c:2853
lives_painter_set_line_width
LIVES_INLINE boolean lives_painter_set_line_width(lives_painter_t *cr, double width)
Definition: widget-helper.c:228
lives_label_set_markup
LIVES_INLINE boolean lives_label_set_markup(LiVESLabel *label, const char *markup)
Definition: widget-helper.c:5559
lives_table_set_column_homogeneous
LIVES_INLINE boolean lives_table_set_column_homogeneous(LiVESTable *table, boolean homogeneous)
Definition: widget-helper.c:6846
lives_widget_get_pointer
LIVES_INLINE boolean lives_widget_get_pointer(LiVESXDevice *device, LiVESWidget *widget, int *x, int *y)
Definition: widget-helper.c:7044
lives_notebook_get_current_page
LIVES_INLINE int lives_notebook_get_current_page(LiVESNotebook *nbook)
Definition: widget-helper.c:6728
lives_menu_shell_prepend
LIVES_INLINE boolean lives_menu_shell_prepend(LiVESMenuShell *menushell, LiVESWidget *child)
Definition: widget-helper.c:6408
lives_tree_selection_select_iter
LIVES_INLINE boolean lives_tree_selection_select_iter(LiVESTreeSelection *tsel, LiVESTreeIter *titer)
Definition: widget-helper.c:5417
lives_check_menu_item_new_with_label
LIVES_INLINE LiVESWidget * lives_check_menu_item_new_with_label(const char *label)
Definition: widget-helper.c:6113
lives_list_store_new
LIVES_INLINE LiVESListStore * lives_list_store_new(int ncols,...)
Definition: widget-helper.c:5430
lives_toolbar_insert
LIVES_INLINE boolean lives_toolbar_insert(LiVESToolbar *toolbar, LiVESToolItem *item, int pos)
Definition: widget-helper.c:4457
lives_tree_view_get_hadjustment
LIVES_INLINE LiVESAdjustment * lives_tree_view_get_hadjustment(LiVESTreeView *tview)
Definition: widget-helper.c:5300
lives_entry_set_text
LIVES_INLINE boolean lives_entry_set_text(LiVESEntry *entry, const char *text)
Definition: widget-helper.c:5767
lives_label_set_selectable
LIVES_INLINE boolean lives_label_set_selectable(LiVESLabel *label, boolean setting)
Definition: widget-helper.c:5617
hide_cursor
void hide_cursor(LiVESXWindow *window)
Definition: widget-helper.c:8475
LIVES_CURSOR_CENTER_PTR
Definition: widget-helper.h:812
widget_opts_t::non_modal
boolean non_modal
Definition: widget-helper.h:840
LIVES_DISPLAY_TYPE_UNKNOWN
Definition: widget-helper.h:20
lives_label_get_mnemonic_widget
LIVES_INLINE LiVESWidget * lives_label_get_mnemonic_widget(LiVESLabel *label)
Definition: widget-helper.c:5604
lives_frame_set_label
LIVES_INLINE boolean lives_frame_set_label(LiVESFrame *frame, const char *label)
Definition: widget-helper.c:6644
lives_menu_popup
LIVES_INLINE boolean lives_menu_popup(LiVESMenu *menu, LiVESXEventButton *event)
Definition: widget-helper.c:6330
lives_button_set_focus_on_click
LIVES_INLINE boolean lives_button_set_focus_on_click(LiVESButton *button, boolean focus)
Definition: widget-helper.c:3368
lives_painter_move_to
LIVES_INLINE boolean lives_painter_move_to(lives_painter_t *cr, double x, double y)
Definition: widget-helper.c:241
lives_combo_append_text
LIVES_INLINE boolean lives_combo_append_text(LiVESCombo *combo, const char *text)
Definition: widget-helper.c:2719
lives_adjustment_clamp_page
LIVES_INLINE boolean lives_adjustment_clamp_page(LiVESAdjustment *adj, double lower, double upper)
Definition: widget-helper.c:4787
lives_window_fullscreen
LIVES_INLINE boolean lives_window_fullscreen(LiVESWindow *window)
Definition: widget-helper.c:1724
LIVES_EXPAND_NONE
Definition: widget-helper.h:830
lives_widget_get_xwindow
LIVES_INLINE LiVESXWindow * lives_widget_get_xwindow(LiVESWidget *widget)
Definition: widget-helper.c:3631
lives_text_buffer_delete_mark
LIVES_INLINE boolean lives_text_buffer_delete_mark(LiVESTextBuffer *tbuff, LiVESTextMark *mark)
Definition: widget-helper.c:3101
LIVES_CURSOR_FX_BLOCK
Definition: widget-helper.h:823
lives_widget_apply_theme2
void lives_widget_apply_theme2(LiVESWidget *widget, LiVESWidgetState state)
Definition: widget-helper.c:8089
lives_table_new
LIVES_INLINE LiVESWidget * lives_table_new(uint32_t rows, uint32_t cols, boolean homogeneous)
Definition: widget-helper.c:6769
lives_menu_bar_new
LIVES_INLINE LiVESWidget * lives_menu_bar_new(void)
Definition: widget-helper.c:5958
lives_tree_model_get_path
LIVES_INLINE LiVESTreePath * lives_tree_model_get_path(LiVESTreeModel *tmod, LiVESTreeIter *titer)
Definition: widget-helper.c:4960
LIVES_CURSOR_BOTTOM_RIGHT_CORNER
Definition: widget-helper.h:817
lives_check_button_new
LIVES_INLINE LiVESWidget * lives_check_button_new(void)
Definition: widget-helper.c:3512
lives_combo_set_active_index
LIVES_INLINE boolean lives_combo_set_active_index(LiVESCombo *combo, int index)
Definition: widget-helper.c:2791
lives_spin_button_get_adjustment
LIVES_INLINE LiVESAdjustment * lives_spin_button_get_adjustment(LiVESSpinButton *button)
Definition: widget-helper.c:4151
widget_opts_t
Definition: widget-helper.h:835
lives_image_menu_item_new_from_stock
LIVES_INLINE LiVESWidget * lives_image_menu_item_new_from_stock(const char *stock_id, LiVESAccelGroup *accel_group)
Definition: widget-helper.c:6159
lives_widget_set_bg_color
LIVES_INLINE boolean lives_widget_set_bg_color(LiVESWidget *widget, LiVESWidgetState state, const LiVESWidgetColor *color)
Definition: widget-helper.c:933
lives_scrolled_window_get_hadjustment
LIVES_INLINE LiVESAdjustment * lives_scrolled_window_get_hadjustment(LiVESScrolledWindow *swindow)
Definition: widget-helper.c:5809
lives_adjustment_set_value
LIVES_INLINE boolean lives_adjustment_set_value(LiVESAdjustment *adj, double value)
Definition: widget-helper.c:4774
lives_window_set_position
LIVES_INLINE boolean lives_window_set_position(LiVESWindow *window, LiVESWindowPosition pos)
Definition: widget-helper.c:1674
lives_cell_renderer_spin_new
LIVES_INLINE LiVESCellRenderer * lives_cell_renderer_spin_new(void)
Definition: widget-helper.c:4405
lives_widget_get_allocation_x
LIVES_INLINE int lives_widget_get_allocation_x(LiVESWidget *widget)
Definition: widget-helper.c:4529
lives_grid_attach_next_to
LIVES_INLINE boolean lives_grid_attach_next_to(LiVESGrid *grid, LiVESWidget *child, LiVESWidget *sibling, LiVESPositionType side, int width, int height)
Definition: widget-helper.c:6618
lives_accel_group_new
LIVES_INLINE LiVESAccelGroup * lives_accel_group_new(void)
Definition: widget-helper.c:1794
lives_range_get_adjustment
LIVES_INLINE LiVESAdjustment * lives_range_get_adjustment(LiVESRange *range)
Definition: widget-helper.c:4804
lives_ruler_set_upper
LIVES_INLINE double lives_ruler_set_upper(LiVESRuler *ruler, double value)
Definition: widget-helper.c:4363
LIVES_CURSOR_VIDEO_BLOCK
Definition: widget-helper.h:822
lives_adjustment_get_page_size
LIVES_INLINE double lives_adjustment_get_page_size(LiVESAdjustment *adj)
Definition: widget-helper.c:4695
lives_entry_set_max_length
LIVES_INLINE boolean lives_entry_set_max_length(LiVESEntry *entry, int len)
Definition: widget-helper.c:5696
lives_window_set_auto_startup_notification
LIVES_INLINE boolean lives_window_set_auto_startup_notification(boolean set)
Definition: widget-helper.c:1563
lives_display_get_n_screens
LIVES_INLINE int lives_display_get_n_screens(LiVESXDisplay *disp)
Definition: widget-helper.c:8350
lives_tooltips_copy
void lives_tooltips_copy(LiVESWidget *dest, LiVESWidget *source)
Definition: widget-helper.c:7294
lives_file_chooser_get_filenames
LIVES_INLINE LiVESSList * lives_file_chooser_get_filenames(LiVESFileChooser *chooser)
Definition: widget-helper.c:6547
lives_frame_set_shadow_type
LIVES_INLINE boolean lives_frame_set_shadow_type(LiVESFrame *frame, LiVESShadowType stype)
Definition: widget-helper.c:6685
lives_paned_set_position
LIVES_INLINE boolean lives_paned_set_position(LiVESPaned *paned, int pos)
Definition: widget-helper.c:3385
unhide_cursor
void unhide_cursor(LiVESXWindow *window)
Definition: widget-helper.c:8516
lives_window_new
LIVES_INLINE LiVESWidget * lives_window_new(LiVESWindowType wintype)
Definition: widget-helper.c:1396
lives_ruler_set_lower
LIVES_INLINE double lives_ruler_set_lower(LiVESRuler *ruler, double value)
Definition: widget-helper.c:4378
lives_message_dialog_new
LIVES_INLINE LiVESWidget * lives_message_dialog_new(LiVESWindow *parent, LiVESDialogFlags flags, LiVESMessageType type, LiVESButtonsType buttons, const char *msg_fmt,...)
Definition: widget-helper.c:4318
lives_text_view_get_buffer
LIVES_INLINE LiVESTextBuffer * lives_text_view_get_buffer(LiVESTextView *tview)
Definition: widget-helper.c:2878
lives_pixbuf_get_n_channels
LIVES_INLINE int lives_pixbuf_get_n_channels(const LiVESPixbuf *pixbuf)
Definition: widget-helper.c:2069
lives_widget_get_state
LIVES_INLINE LiVESWidgetState lives_widget_get_state(LiVESWidget *widget)
Definition: widget-helper.c:4622
lives_painter_surface_create_from_widget
LIVES_INLINE lives_painter_surface_t * lives_painter_surface_create_from_widget(LiVESWidget *widget, lives_painter_content_t content, int width, int height)
Definition: widget-helper.c:383
lives_widget_get_display_type
LIVES_INLINE lives_display_t lives_widget_get_display_type(LiVESWidget *widget)
Definition: widget-helper.c:7151
lives_widget_grab_focus
LIVES_INLINE boolean lives_widget_grab_focus(LiVESWidget *widget)
Definition: widget-helper.c:3562
lives_standard_label_new
LiVESWidget * lives_standard_label_new(const char *text)
Definition: widget-helper.c:7358
lives_toolbar_new
LIVES_INLINE LiVESWidget * lives_toolbar_new(void)
Definition: widget-helper.c:4444
lives_entry_set_width_chars
LIVES_INLINE boolean lives_entry_set_width_chars(LiVESEntry *entry, int nchars)
Definition: widget-helper.c:5781
lives_table_set_col_spacings
LIVES_INLINE boolean lives_table_set_col_spacings(LiVESTable *table, uint32_t spacing)
Definition: widget-helper.c:6818
lives_text_buffer_get_start_iter
LIVES_INLINE boolean lives_text_buffer_get_start_iter(LiVESTextBuffer *tbuff, LiVESTextIter *iter)
Definition: widget-helper.c:3045
lives_label_new
LIVES_INLINE LiVESWidget * lives_label_new(const char *text)
Definition: widget-helper.c:2501
lives_widget_add_accelerator
LIVES_INLINE boolean lives_widget_add_accelerator(LiVESWidget *widget, const char *accel_signal, LiVESAccelGroup *accel_group, uint32_t accel_key, LiVESXModifierType accel_mods, LiVESAccelFlags accel_flags)
Definition: widget-helper.c:1838
lives_widget_queue_draw_area
LIVES_INLINE boolean lives_widget_queue_draw_area(LiVESWidget *widget, int x, int y, int width, int height)
Definition: widget-helper.c:780
lives_dialog_run
LIVES_INLINE LiVESResponseType lives_dialog_run(LiVESDialog *dialog)
Definition: widget-helper.c:892
ulong
#define ulong
Definition: main.h:148
lives_window_resize
LIVES_INLINE boolean lives_window_resize(LiVESWindow *window, int width, int height)
Definition: widget-helper.c:1701
lives_widget_apply_theme
void lives_widget_apply_theme(LiVESWidget *widget, LiVESWidgetState state)
Definition: widget-helper.c:8081
lives_tree_path_new_from_string
LIVES_INLINE LiVESTreePath * lives_tree_path_new_from_string(const char *path)
Definition: widget-helper.c:5061
LIVES_CURSOR_BLOCK
non-standard cursors
Definition: widget-helper.h:820
lives_widget_get_position
LIVES_INLINE boolean lives_widget_get_position(LiVESWidget *widget, int *x, int *y)
Definition: widget-helper.c:1638
widget_opts
widget_opts_t widget_opts
Definition: widget-helper.h:854
W_BORDER_WIDTH
#define W_BORDER_WIDTH
Definition: widget-helper.h:28
lives_painter_set_source_rgba
LIVES_INLINE boolean lives_painter_set_source_rgba(lives_painter_t *cr, double red, double green, double blue, double alpha)
Definition: widget-helper.c:329
lives_tooltips_set
void lives_tooltips_set(LiVESWidget *, const char *tip_text)
lives_toggle_button_set_mode
LIVES_INLINE boolean lives_toggle_button_set_mode(LiVESToggleButton *button, boolean drawind)
Definition: widget-helper.c:3473
lives_grid_set_row_spacing
LIVES_INLINE boolean lives_grid_set_row_spacing(LiVESGrid *grid, uint32_t spacing)
Definition: widget-helper.c:6573
W_PACKING_WIDTH
#define W_PACKING_WIDTH
Definition: widget-helper.h:26
widget_opts_t::scale
double scale
Definition: widget-helper.h:843
lives_widget_set_tooltip_text
LIVES_INLINE boolean lives_widget_set_tooltip_text(LiVESWidget *widget, const char *tip_text)
Definition: widget-helper.c:3542
lives_xwindow_set_keep_above
LIVES_INLINE boolean lives_xwindow_set_keep_above(LiVESXWindow *xwin, boolean setting)
Definition: widget-helper.c:3648
lives_tool_button_set_label_widget
LIVES_INLINE boolean lives_tool_button_set_label_widget(LiVESToolButton *button, LiVESWidget *label)
Definition: widget-helper.c:4273
lives_window_set_deletable
LIVES_INLINE boolean lives_window_set_deletable(LiVESWindow *window, boolean deletable)
Definition: widget-helper.c:1463
lives_table_resize
LIVES_INLINE boolean lives_table_resize(LiVESTable *table, uint32_t rows, uint32_t cols)
Definition: widget-helper.c:6858
lives_text_view_set_text
boolean lives_text_view_set_text(LiVESTextView *textview, const char *text, int len)
Definition: widget-helper.c:8207
lives_widget_get_display
LIVES_INLINE LiVESXDisplay * lives_widget_get_display(LiVESWidget *widget)
Definition: widget-helper.c:7072
lives_radio_button_new
LIVES_INLINE LiVESWidget * lives_radio_button_new(LiVESSList *group)
Definition: widget-helper.c:3488
lives_painter_fill
LIVES_INLINE boolean lives_painter_fill(lives_painter_t *cr)
Definition: widget-helper.c:95
lives_button_box_set_button_width
LIVES_INLINE boolean lives_button_box_set_button_width(LiVESButtonBox *bbox, LiVESWidget *button, int min_width)
Definition: widget-helper.c:8666
lives_adjustment_new
LIVES_INLINE LiVESAdjustment * lives_adjustment_new(double value, double lower, double upper, double step_increment, double page_increment, double page_size)
Definition: widget-helper.c:2152
lives_scale_button_set_value
LIVES_INLINE boolean lives_scale_button_set_value(LiVESScaleButton *scale, double value)
Definition: widget-helper.c:6517
lives_expander_get_label_widget
LIVES_INLINE LiVESWidget * lives_expander_get_label_widget(LiVESExpander *expander)
Definition: widget-helper.c:2633
lives_dialog_response
LIVES_INLINE boolean lives_dialog_response(LiVESDialog *dialog, int response)
Definition: widget-helper.c:905
lives_spin_button_new
LIVES_INLINE LiVESWidget * lives_spin_button_new(LiVESAdjustment *adj, double climb_rate, uint32_t digits)
Definition: widget-helper.c:4117
lives_entry_set_completion_from_list
boolean lives_entry_set_completion_from_list(LiVESEntry *entry, LiVESList *xlist)
Definition: widget-helper.c:8098
lives_tree_model_get_iter
LIVES_INLINE boolean lives_tree_model_get_iter(LiVESTreeModel *tmod, LiVESTreeIter *titer, LiVESTreePath *tpath)
Definition: widget-helper.c:4926
lives_object_unref
LIVES_INLINE boolean lives_object_unref(livespointer object)
decrease refcount by one: if refcount==0, object is destroyed
Definition: widget-helper.c:550
LIVES_EXPAND_DEFAULT
Definition: widget-helper.h:829
lives_tool_item_new
LIVES_INLINE LiVESToolItem * lives_tool_item_new(void)
Definition: widget-helper.c:4249
lives_window_set_modal
LIVES_INLINE boolean lives_window_set_modal(LiVESWindow *window, boolean modal)
Definition: widget-helper.c:1446
lives_spin_button_set_digits
LIVES_INLINE boolean lives_spin_button_set_digits(LiVESSpinButton *button, uint32_t digits)
Definition: widget-helper.c:4211
lives_standard_file_button_new
LIVES_INLINE LiVESWidget * lives_standard_file_button_new(boolean is_dir, const char *def_dir)
Definition: widget-helper.c:7984
get_box_child_index
int get_box_child_index(LiVESBox *box, LiVESWidget *tchild)
Definition: widget-helper.c:8245
lives_menu_reorder_child
LIVES_INLINE boolean lives_menu_reorder_child(LiVESMenu *menu, LiVESWidget *child, int pos)
Definition: widget-helper.c:6343
lives_window_set_default_size
LIVES_INLINE boolean lives_window_set_default_size(LiVESWindow *window, int width, int height)
Definition: widget-helper.c:1594
lives_widget_show
LIVES_INLINE boolean lives_widget_show(LiVESWidget *widget)
Definition: widget-helper.c:707
lives_vscrollbar_new
LIVES_INLINE LiVESWidget * lives_vscrollbar_new(LiVESAdjustment *adj)
Definition: widget-helper.c:2485
lives_tree_store_new
LIVES_INLINE LiVESTreeStore * lives_tree_store_new(int ncols,...)
Definition: widget-helper.c:5100
lives_adjustment_get_lower
LIVES_INLINE double lives_adjustment_get_lower(LiVESAdjustment *adj)
Definition: widget-helper.c:4679
lives_cursor_unref
LIVES_INLINE void lives_cursor_unref(LiVESXCursor *cursor)
Definition: widget-helper.c:8067
lives_signal_stop_emission_by_name
LIVES_INLINE boolean lives_signal_stop_emission_by_name(livespointer instance, const char *detailed_signal)
Definition: widget-helper.c:653
lives_display_warp_pointer
LIVES_INLINE boolean lives_display_warp_pointer(LiVESXDevice *device, LiVESXDisplay *display, LiVESXScreen *screen, int x, int y)
Definition: widget-helper.c:7131
lives_radio_menu_item_new_with_label
LIVES_INLINE LiVESWidget * lives_radio_menu_item_new_with_label(LiVESSList *group, const char *label)
Definition: widget-helper.c:6070
LIVES_CURSOR_HAND2
Definition: widget-helper.h:813
lives_spin_button_set_value
LIVES_INLINE boolean lives_spin_button_set_value(LiVESSpinButton *button, double value)
Definition: widget-helper.c:4163
lives_grid_remove_row
LIVES_INLINE boolean lives_grid_remove_row(LiVESGrid *grid, int posn)
Definition: widget-helper.c:6595
lives_display_get_window_at_pointer
LIVES_INLINE LiVESXWindow * lives_display_get_window_at_pointer(LiVESXDevice *device, LiVESXDisplay *display, int *win_x, int *win_y)
Definition: widget-helper.c:7088
lives_widget_destroy
LIVES_INLINE boolean lives_widget_destroy(LiVESWidget *widget)
Definition: widget-helper.c:754
lives_frame_get_label_widget
LIVES_INLINE LiVESWidget * lives_frame_get_label_widget(LiVESFrame *frame)
Definition: widget-helper.c:6672
lives_image_menu_item_new_with_label
LIVES_INLINE LiVESWidget * lives_image_menu_item_new_with_label(const char *label)
Definition: widget-helper.c:6026
lives_vbox_new
LIVES_INLINE LiVESWidget * lives_vbox_new(boolean homogeneous, int spacing)
Definition: widget-helper.c:2240
lives_spin_button_get_value
LIVES_INLINE double lives_spin_button_get_value(LiVESSpinButton *button)
Definition: widget-helper.c:4129
lives_notebook_new
LIVES_INLINE LiVESWidget * lives_notebook_new(void)
Definition: widget-helper.c:6698
lives_scale_set_digits
LIVES_INLINE boolean lives_scale_set_digits(LiVESScale *scale, int digits)
Definition: widget-helper.c:6466
lives_painter_image_surface_get_height
int lives_painter_image_surface_get_height(lives_painter_surface_t *surf)
Definition: widget-helper.c:470
lives_widget_set_fg_color
LIVES_INLINE boolean lives_widget_set_fg_color(LiVESWidget *widget, LiVESWidgetState state, const LiVESWidgetColor *color)
Definition: widget-helper.c:1015
lives_ruler_set_value
LIVES_INLINE double lives_ruler_set_value(LiVESRuler *ruler, double value)
Definition: widget-helper.c:4348
lives_ruler_get_value
LIVES_INLINE double lives_ruler_get_value(LiVESRuler *ruler)
Definition: widget-helper.c:4333
lives_entry_set_has_frame
LIVES_INLINE boolean lives_entry_set_has_frame(LiVESEntry *entry, boolean has)
Definition: widget-helper.c:5742
lives_scale_set_value_pos
LIVES_INLINE boolean lives_scale_set_value_pos(LiVESScale *scale, LiVESPositionType ptype)
Definition: widget-helper.c:6452
lives_tree_view_set_headers_visible
LIVES_INLINE boolean lives_tree_view_set_headers_visible(LiVESTreeView *tview, boolean vis)
Definition: widget-helper.c:5285
add_vsep_to_box
LiVESWidget * add_vsep_to_box(LiVESBox *box)
Definition: widget-helper.c:8617
lives_box_set_spacing
LIVES_INLINE boolean lives_box_set_spacing(LiVESBox *box, int spacing)
Definition: widget-helper.c:2202
lives_standard_spin_button_new
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 *box, const char *tooltip)
Definition: widget-helper.c:7542
funkify_dialog
void funkify_dialog(LiVESWidget *dialog)
Definition: widget-helper.c:8521
lives_xwindow_process_all_updates
LIVES_INLINE boolean lives_xwindow_process_all_updates()
Definition: widget-helper.c:840
lives_painter_set_source_rgb
LIVES_INLINE boolean lives_painter_set_source_rgb(lives_painter_t *cr, double red, double green, double blue)
Definition: widget-helper.c:314
lives_text_buffer_delete
LIVES_INLINE boolean lives_text_buffer_delete(LiVESTextBuffer *tbuff, LiVESTextIter *start, LiVESTextIter *end)
Definition: widget-helper.c:3115
LIVES_CURSOR_BUSY
Definition: widget-helper.h:811
lives_menu_add_separator
LiVESWidget * lives_menu_add_separator(LiVESMenu *menu)
Definition: widget-helper.c:8340
lives_signal_handler_unblock
LIVES_INLINE boolean lives_signal_handler_unblock(livespointer instance, unsigned long handler_id)
Definition: widget-helper.c:612
lives_window_set_transient_for
LIVES_INLINE boolean lives_window_set_transient_for(LiVESWindow *window, LiVESWindow *parent)
Definition: widget-helper.c:1427
lives_combo_get_active_iter
LIVES_INLINE boolean lives_combo_get_active_iter(LiVESCombo *combo, LiVESTreeIter *iter)
Definition: widget-helper.c:2822
lives_widget_get_parent
LIVES_INLINE LiVESWidget * lives_widget_get_parent(LiVESWidget *widget)
Definition: widget-helper.c:3603
lives_painter_format_stride_for_width
int lives_painter_format_stride_for_width(lives_painter_format_t form, int width)
Definition: widget-helper.c:434
lives_container_set_border_width
LIVES_INLINE boolean lives_container_set_border_width(LiVESContainer *container, uint32_t width)
Definition: widget-helper.c:3963
lives_menu_shell_insert
LIVES_INLINE boolean lives_menu_shell_insert(LiVESMenuShell *menushell, LiVESWidget *child, int pos)
Definition: widget-helper.c:6393
lives_screen_get_height
LIVES_INLINE int lives_screen_get_height(LiVESXScreen *screen)
Definition: widget-helper.c:7262
lives_tree_selection_set_mode
LIVES_INLINE boolean lives_tree_selection_set_mode(LiVESTreeSelection *tsel, LiVESSelectionMode tselmod)
Definition: widget-helper.c:5403
lives_widget_get_allocation_y
LIVES_INLINE int lives_widget_get_allocation_y(LiVESWidget *widget)
Definition: widget-helper.c:4549
lives_container_foreach
LIVES_INLINE boolean lives_container_foreach(LiVESContainer *cont, LiVESWidgetCallback callback, livespointer cb_data)
Definition: widget-helper.c:3983
lives_standard_scrolled_window_new
LiVESWidget * lives_standard_scrolled_window_new(int width, int height, LiVESWidget *child)
Definition: widget-helper.c:7881
lives_hbutton_box_new
LIVES_INLINE LiVESWidget * lives_hbutton_box_new(void)
Definition: widget-helper.c:2350
toggle_button_toggle
LIVES_INLINE void toggle_button_toggle(LiVESToggleButton *tbutton)
Definition: widget-helper.c:8172
lives_check_menu_item_set_active
LIVES_INLINE boolean lives_check_menu_item_set_active(LiVESCheckMenuItem *item, boolean state)
Definition: widget-helper.c:6268
lives_scrolled_window_set_policy
LIVES_INLINE boolean lives_scrolled_window_set_policy(LiVESScrolledWindow *scrolledwindow, LiVESPolicyType hpolicy, LiVESPolicyType vpolicy)
Definition: widget-helper.c:5833
lives_progress_bar_new
LIVES_INLINE LiVESWidget * lives_progress_bar_new(void)
Definition: widget-helper.c:4061
lives_check_menu_item_set_draw_as_radio
LIVES_INLINE boolean lives_check_menu_item_set_draw_as_radio(LiVESCheckMenuItem *item, boolean setting)
Definition: widget-helper.c:6150
LIVES_CURSOR_AUDIO_BLOCK
Definition: widget-helper.h:821
lives_pixbuf_get_has_alpha
LIVES_INLINE boolean lives_pixbuf_get_has_alpha(const LiVESPixbuf *pixbuf)
Definition: widget-helper.c:2105
lives_tree_view_new
LIVES_INLINE LiVESWidget * lives_tree_view_new(void)
Definition: widget-helper.c:5216
lives_menu_set_accel_group
LIVES_INLINE boolean lives_menu_set_accel_group(LiVESMenu *menu, LiVESAccelGroup *group)
Definition: widget-helper.c:1879
lives_text_buffer_insert
LIVES_INLINE boolean lives_text_buffer_insert(LiVESTextBuffer *tbuff, LiVESTextIter *iter, const char *text, int len)
Definition: widget-helper.c:2988
lives_tree_view_column_new_with_attributes
LIVES_INLINE LiVESTreeViewColumn * lives_tree_view_column_new_with_attributes(const char *title, LiVESCellRenderer *crend,...)
Definition: widget-helper.c:5318
lives_check_button_new_with_label
LIVES_INLINE LiVESWidget * lives_check_button_new_with_label(const char *label)
Definition: widget-helper.c:3524
lives_combo_set_entry_text_column
LIVES_INLINE boolean lives_combo_set_entry_text_column(LiVESCombo *combo, int column)
Definition: widget-helper.c:2758
lives_label_set_halignment
LIVES_INLINE boolean lives_label_set_halignment(LiVESLabel *label, float yalign)
Definition: widget-helper.c:2644
lives_color_button_set_use_alpha
LIVES_INLINE boolean lives_color_button_set_use_alpha(LiVESColorButton *button, boolean use_alpha)
Definition: widget-helper.c:7019
lives_hscrollbar_new
LIVES_INLINE LiVESWidget * lives_hscrollbar_new(LiVESAdjustment *adj)
Definition: widget-helper.c:2469
lives_combo_get_entry
LiVESWidget * lives_combo_get_entry(LiVESCombo *widget)
Definition: widget-helper.c:8584
lives_pixbuf_get_pixels
LIVES_INLINE unsigned char * lives_pixbuf_get_pixels(const LiVESPixbuf *pixbuf)
Definition: widget-helper.c:2081
lives_timer_add
LIVES_INLINE uint32_t lives_timer_add(uint32_t interval, LiVESWidgetSourceFunc function, livespointer data)
Definition: widget-helper.c:7195
lives_painter_image_surface_get_width
int lives_painter_image_surface_get_width(lives_painter_surface_t *surf)
Definition: widget-helper.c:458
lives_painter_set_operator
LIVES_INLINE boolean lives_painter_set_operator(lives_painter_t *cr, lives_painter_operator_t op)
Definition: widget-helper.c:298
LIVES_CURSOR_NORMAL
must be zero
Definition: widget-helper.h:810
W_PACKING_HEIGHT
#define W_PACKING_HEIGHT
Definition: widget-helper.h:27
lives_image_menu_item_set_always_show_image
LIVES_INLINE boolean lives_image_menu_item_set_always_show_image(LiVESImageMenuItem *item, boolean show)
Definition: widget-helper.c:6422
lives_menu_item_new_with_mnemonic
LIVES_INLINE LiVESWidget * lives_menu_item_new_with_mnemonic(const char *label)
Definition: widget-helper.c:5989
lives_pixbuf_new_from_file_at_scale
LIVES_INLINE LiVESPixbuf * lives_pixbuf_new_from_file_at_scale(const char *filename, int width, int height, boolean preserve_aspect_ratio, LiVESError **error)
Definition: widget-helper.c:1992
lives_widget_get_bg_state_color
LIVES_INLINE boolean lives_widget_get_bg_state_color(LiVESWidget *widget, LiVESWidgetState state, LiVESWidgetColor *color)
Definition: widget-helper.c:1126
lives_box_pack_end
LIVES_INLINE boolean lives_box_pack_end(LiVESBox *box, LiVESWidget *child, boolean expand, boolean fill, uint32_t padding)
Definition: widget-helper.c:2294
lives_standard_radio_button_new
LiVESWidget * lives_standard_radio_button_new(const char *labeltext, boolean use_mnemonic, LiVESSList *rbgroup, LiVESBox *box, const char *tooltip)
Definition: widget-helper.c:7460
lives_widget_unparent
void lives_widget_unparent(LiVESWidget *widget)
Definition: widget-helper.c:8156
lives_entry_get_text
LIVES_INLINE const char * lives_entry_get_text(LiVESEntry *entry)
Definition: widget-helper.c:5756
lives_tree_model_iter_next
LIVES_INLINE boolean lives_tree_model_iter_next(LiVESTreeModel *tmod, LiVESTreeIter *titer)
Definition: widget-helper.c:5022
lives_label_set_mnemonic_widget
LIVES_INLINE boolean lives_label_set_mnemonic_widget(LiVESLabel *label, LiVESWidget *widget)
Definition: widget-helper.c:5589
lives_combo_get_model
LIVES_INLINE LiVESTreeModel * lives_combo_get_model(LiVESCombo *combo)
Definition: widget-helper.c:2699
lives_painter_stroke
LIVES_INLINE boolean lives_painter_stroke(lives_painter_t *cr)
Definition: widget-helper.c:109
lives_text_view_set_editable
LIVES_INLINE boolean lives_text_view_set_editable(LiVESTextView *tview, boolean setting)
Definition: widget-helper.c:2890
lives_tree_view_column_set_fixed_width
LIVES_INLINE boolean lives_tree_view_column_set_fixed_width(LiVESTreeViewColumn *tvcol, int fwidth)
Definition: widget-helper.c:5371
lives_display_t
lives_display_t
Definition: widget-helper.h:19
lives_vseparator_new
LIVES_INLINE LiVESWidget * lives_vseparator_new(void)
Definition: widget-helper.c:2334
lives_box_set_homogeneous
LIVES_INLINE boolean lives_box_set_homogeneous(LiVESBox *box, boolean homogenous)
Definition: widget-helper.c:2169
lives_color_parse
LIVES_INLINE boolean lives_color_parse(const char *spec, LiVESWidgetColor *color)
Definition: widget-helper.c:1322
lives_ruler_set_range
LIVES_INLINE void lives_ruler_set_range(LiVESRuler *ruler, double lower, double upper, double position, double max_size)
Definition: widget-helper.c:4300
lives_vpaned_new
LIVES_INLINE LiVESWidget * lives_vpaned_new(void)
Definition: widget-helper.c:2451
widget_opts_t::expand
boolean expand
Definition: widget-helper.h:841
lives_label_new_with_mnemonic
LiVESWidget * lives_label_new_with_mnemonic(const char *text)
lives_combo_set_active_iter
LIVES_INLINE boolean lives_combo_set_active_iter(LiVESCombo *combo, LiVESTreeIter *iter)
Definition: widget-helper.c:2804
lives_color_button_new_with_color
LIVES_INLINE LiVESWidget * lives_color_button_new_with_color(const LiVESWidgetColor *color)
Definition: widget-helper.c:6947
lives_widget_get_toplevel
LIVES_INLINE LiVESWidget * lives_widget_get_toplevel(LiVESWidget *widget)
Definition: widget-helper.c:3615
lives_widget_grab_default
LIVES_INLINE boolean lives_widget_grab_default(LiVESWidget *widget)
Definition: widget-helper.c:3574
widget_opts_t::filler_len
int filler_len
Definition: widget-helper.h:847
lives_text_buffer_insert_at_end
boolean lives_text_buffer_insert_at_end(LiVESTextBuffer *tbuff, const char *text)
Definition: widget-helper.c:8216
lives_box_reorder_child
LIVES_INLINE boolean lives_box_reorder_child(LiVESBox *box, LiVESWidget *child, int pos)
Definition: widget-helper.c:2181
lives_pixbuf_new_from_data
LIVES_INLINE LiVESPixbuf * lives_pixbuf_new_from_data(const unsigned char *buf, boolean has_alpha, int width, int height, int rowstride, LiVESPixbufDestroyNotify lives_free_buffer_fn, livespointer destroy_fn_data)
Definition: widget-helper.c:1944
lives_signal_handlers_block_by_func
boolean lives_signal_handlers_block_by_func(livespointer instance, livespointer func, livespointer data)
lives_widget_context_update
boolean lives_widget_context_update(void)
Definition: widget-helper.c:8293
lives_pixbuf_get_rowstride
LIVES_INLINE int lives_pixbuf_get_rowstride(const LiVESPixbuf *pixbuf)
Definition: widget-helper.c:2036
lives_notebook_set_tab_label
LIVES_INLINE boolean lives_notebook_set_tab_label(LiVESNotebook *nbook, LiVESWidget *child, LiVESWidget *tablabel)
Definition: widget-helper.c:6755
LIVES_DISPLAY_TYPE_X11
Definition: widget-helper.h:21
lives_menu_tool_button_new
LIVES_INLINE LiVESToolItem * lives_menu_tool_button_new(LiVESWidget *icon, const char *label)
Definition: widget-helper.c:6205
lives_container_remove
LIVES_INLINE boolean lives_container_remove(LiVESContainer *container, LiVESWidget *widget)
Definition: widget-helper.c:3896
lives_pixbuf_new
LIVES_INLINE LiVESPixbuf * lives_pixbuf_new(boolean has_alpha, int width, int height)
Definition: widget-helper.c:1922
widget_opts_t::no_gui
boolean no_gui
Definition: widget-helper.h:836
lives_file_chooser_get_filename
LIVES_INLINE char * lives_file_chooser_get_filename(LiVESFileChooser *chooser)
Definition: widget-helper.c:6534
lives_entry_set_visibility
LIVES_INLINE boolean lives_entry_set_visibility(LiVESEntry *entry, boolean vis)
Definition: widget-helper.c:5724
widget_helper_init
boolean widget_helper_init(void)
Definition: widget-helper.c:8012
lives_menu_item_new
LIVES_INLINE LiVESWidget * lives_menu_item_new(void)
Definition: widget-helper.c:5970
lives_entry_set_activates_default
LIVES_INLINE boolean lives_entry_set_activates_default(LiVESEntry *entry, boolean act)
Definition: widget-helper.c:5710
WARN_UNUSED
#define WARN_UNUSED
Definition: main.h:271
lives_widget_set_state
LIVES_INLINE boolean lives_widget_set_state(LiVESWidget *widget, LiVESWidgetState state)
Definition: widget-helper.c:4605
lives_widget_process_updates
LIVES_INLINE boolean lives_widget_process_updates(LiVESWidget *widget, boolean upd_children)
Definition: widget-helper.c:825
lives_hscale_new
LIVES_INLINE LiVESWidget * lives_hscale_new(LiVESAdjustment *adj)
Definition: widget-helper.c:2401
lives_window_unmaximize
LIVES_INLINE boolean lives_window_unmaximize(LiVESWindow *window)
Definition: widget-helper.c:1777
lives_frame_set_label_widget
LIVES_INLINE boolean lives_frame_set_label_widget(LiVESFrame *frame, LiVESWidget *widget)
Definition: widget-helper.c:6658
lives_vscale_new
LIVES_INLINE LiVESWidget * lives_vscale_new(LiVESAdjustment *adj)
Definition: widget-helper.c:2417
lives_color_button_set_title
LIVES_INLINE boolean lives_color_button_set_title(LiVESColorButton *button, const char *title)
Definition: widget-helper.c:7004
lives_widget_is_realized
LIVES_INLINE boolean lives_widget_is_realized(LiVESWidget *widget)
Definition: widget-helper.c:3803
lives_tree_view_column_set_sizing
LIVES_INLINE boolean lives_tree_view_column_set_sizing(LiVESTreeViewColumn *tvcol, LiVESTreeViewColumnSizing type)
Definition: widget-helper.c:5357
lives_adjustment_set_page_size
LIVES_INLINE boolean lives_adjustment_set_page_size(LiVESAdjustment *adj, double page_size)
Definition: widget-helper.c:4757
FALSE
#define FALSE
Definition: videoplugin.h:56
lives_scrolled_window_add_with_viewport
LIVES_INLINE boolean lives_scrolled_window_add_with_viewport(LiVESScrolledWindow *scrolledwindow, LiVESWidget *child)
Definition: widget-helper.c:5849
lives_window_set_resizable
LIVES_INLINE boolean lives_window_set_resizable(LiVESWindow *window, boolean resizable)
Definition: widget-helper.c:1490
lives_button_new_from_stock
LIVES_INLINE LiVESWidget * lives_button_new_from_stock(const char *stock_id, const char *label)
Definition: widget-helper.c:3198
lives_menu_detach
LIVES_INLINE boolean lives_menu_detach(LiVESMenu *menu)
Definition: widget-helper.c:6357
lives_combo_get_active_text
LIVES_INLINE char * lives_combo_get_active_text(LiVESCombo *combo)
Definition: widget-helper.c:2775
widget_opts_t::line_wrap
boolean line_wrap
Definition: widget-helper.h:839
lives_tree_path_get_depth
LIVES_INLINE int lives_tree_path_get_depth(LiVESTreePath *tpath)
Definition: widget-helper.c:5074
lives_text_view_get_text
char * lives_text_view_get_text(LiVESTextView *textview)
Definition: widget-helper.c:8197
LIVES_CURSOR_TOP_LEFT_CORNER
Definition: widget-helper.h:816
lives_widget_set_can_focus
LIVES_INLINE boolean lives_widget_set_can_focus(LiVESWidget *widget, boolean state)
Definition: widget-helper.c:3672
lives_menu_new
LIVES_INLINE LiVESWidget * lives_menu_new(void)
Definition: widget-helper.c:5946
lives_radio_button_get_group
LIVES_INLINE LiVESSList * lives_radio_button_get_group(LiVESRadioButton *rbutton)
Definition: widget-helper.c:3591
lives_event_box_new
LIVES_INLINE LiVESWidget * lives_event_box_new(void)
Definition: widget-helper.c:1183
lives_combo_set_active_text
boolean lives_combo_set_active_text(LiVESCombo *, const char *text)