diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2013-09-19 11:16:27 -0700 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2013-09-19 11:16:27 -0700 |
commit | d0e2c752911915d0f168fc2e407799d999f35863 (patch) | |
tree | e10eed5ecbafee547bbb8c97e6901a4b9612940a /endless/eosflexygrid.h | |
parent | bee3cf2a182ac6f6fadd0dd5d24768e5a5837521 (diff) | |
parent | 114062bf62e805abf5e0a5ce16f7d77e94b90296 (diff) |
Merge pull request #309 from endlessm/issues/1015
Improvements to EosFlexyGrid
Diffstat (limited to 'endless/eosflexygrid.h')
-rw-r--r-- | endless/eosflexygrid.h | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/endless/eosflexygrid.h b/endless/eosflexygrid.h index 6a11f78..f1d9516 100644 --- a/endless/eosflexygrid.h +++ b/endless/eosflexygrid.h @@ -61,22 +61,30 @@ EOS_SDK_ALL_API_VERSIONS GType eos_flexy_grid_get_type (void) G_GNUC_CONST; EOS_SDK_ALL_API_VERSIONS -GtkWidget * eos_flexy_grid_new (void); +GtkWidget * eos_flexy_grid_new (void); EOS_SDK_ALL_API_VERSIONS -void eos_flexy_grid_set_cell_size (EosFlexyGrid *grid, - int size); +void eos_flexy_grid_set_cell_size (EosFlexyGrid *grid, + int size); EOS_SDK_ALL_API_VERSIONS -void eos_flexy_grid_set_cell_spacing (EosFlexyGrid *grid, - int spacing); +guint eos_flexy_grid_get_cell_size (EosFlexyGrid *grid); EOS_SDK_ALL_API_VERSIONS -void eos_flexy_grid_insert (EosFlexyGrid *grid, - GtkWidget *child, - int index_); +void eos_flexy_grid_set_cell_spacing (EosFlexyGrid *grid, + int spacing); EOS_SDK_ALL_API_VERSIONS -void eos_flexy_grid_set_sort_func (EosFlexyGrid *grid, - EosFlexyGridSortFunc sort_func, - gpointer data, - GDestroyNotify notify); +guint eos_flexy_grid_get_cell_spacing (EosFlexyGrid *grid); +EOS_SDK_ALL_API_VERSIONS +void eos_flexy_grid_insert (EosFlexyGrid *grid, + GtkWidget *child, + int index_); +EOS_SDK_ALL_API_VERSIONS +void eos_flexy_grid_set_sort_func (EosFlexyGrid *grid, + EosFlexyGridSortFunc sort_func, + gpointer data, + GDestroyNotify notify); +EOS_SDK_ALL_API_VERSIONS +EosFlexyGridCell * eos_flexy_grid_get_cell_at_coords (EosFlexyGrid *grid, + double x_pos, + double y_pos); struct _EosFlexyGridCell { |