summaryrefslogtreecommitdiff
path: root/gtk/gtkiconview.h
Commit message (Collapse)AuthorAgeFilesLines
* gtk: fix many callback annotations to include closure informationEvan Nemerson2014-05-271-1/+1
| | | | | | | | | Without this information introspection-based consumers don't realize they can include context information, but instead think that they receive an extra gpointer argument (which they don't know how to handle). https://bugzilla.gnome.org/show_bug.cgi?id=730745
* Add annotations to gtk headersMatthias Clasen2013-05-051-0/+62
| | | | Add annotations to all exported functions in GTK+ headers.
* Add optional single click activation mode for icon viewWilliam Jon McCann2013-01-201-0/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=345023
* Move single-include guards inside include guardsMatthias Clasen2012-12-281-3/+3
| | | | | | gcc has optimizations for include guards that only work if they are outermost in the the header. https://bugzilla.gnome.org/show_bug.cgi?id=689810
* Rename gtk_icon_view_get_cell_area to gtk_icon_view_get_cell_rectAlexander Larsson2012-06-251-1/+1
| | | | | get_cell_area was "conflicting" with the property named "cell-area" which is something different.
* Add gtk_icon_view_get_cell_areaAlexander Larsson2012-06-221-0/+5
| | | | | | | | | | This gets the current cell area of a particular item. Its similar to gtk_tree_view_get_cell_area(). The code is extracted from gtk_icon_view_set_tooltip_cell which now just calls the old code. https://bugzilla.gnome.org/show_bug.cgi?id=678418
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* Added gtk_icon_view_new_with_area()Tristan Van Berkom2011-01-061-0/+2
|
* Fix gtk-doc markup: /* <private> */ should be /*< private >*/Javier Jardón2010-10-301-1/+1
|
* Add GtkScrollable interfaceTadej Borovšak2010-10-221-5/+0
| | | | | | | | The GtkScrollable interface provides "hadjustment" and "vadjustment" properties that are used by GtkScrolledWindow. It replaces the ::set_scroll_adjustment signal. The scrollable interface also has ::min-display-width/height properties that can be used to control the minimally visible part inside a scrolled window.
* Add padding to class structsMatthias Clasen2010-10-191-0/+6
|
* API: make gtk_icon_view_create_drag_icon() return a cairo_surface_tBenjamin Otte2010-09-261-1/+1
| | | | GdkPixmap is going to die!
* Rename GtkIconView::orientation propertyMatthias Clasen2010-09-011-3/+3
| | | | | | Rename the ::orientation property of GtkIconView to item-orientation, which is both clearer and avoids the conflict with the orientation property of GtkOrientable implementations.
* GtkIconView: Unseal private pointerJavier Jardón2010-07-131-1/+2
|
* [docs] Added some GtkIconView missing documentationJavier Jardón2010-06-091-0/+20
| | | | | | Document GtkIconViewDropPosition and GtkIconViewForeachFunc. The docs was removed by error in commit e17b9f282fb6cfb413de598350e273a68031994b
* Improved icon view keynavMatthias Clasen2010-05-301-0/+4
| | | | | | | | Use ::keynav-failed for arrow navigation in icon views, so that it is possible to override error handling. Also add API to get the row/col of an item. With this, it is possible to make arrow keynav span adjacent icon views, which is desired in the new control-center shell. testiconview-keynav demonstrates this.
* Remove all traces of GDK_PIXBUF/GTK_DISABLE_SINGLE_INCLUDESMichael Natterer2010-05-031-1/+1
| | | | ...and disallow inclusion of individual files unconditionally.
* Add a GtkIconView::item-padding propertyMatthias Clasen2009-08-061-0/+3
| | | | | The property can be used to fine-tune who much space each column needs. See bug 586100.
* Seal priv pointer in GtkIconView.Tim Janik2008-06-201-1/+1
| | | | svn path=/trunk/; revision=20566
* gtk/gtkcellrendereraccel.h gtk/gtkiconview.h use G_TYPE macros instead ofMichael Natterer2008-06-161-6/+6
| | | | | | | | | | | | | | | 2008-06-16 Michael Natterer <mitch@imendio.com> * gtk/gtkcellrendereraccel.h * gtk/gtkiconview.h * gtk/gtkobject.h: use G_TYPE macros instead of the old GTK_CHECK macros for type checking. (gtk_object_get_type): change prototype to return GType instead of GtkType. svn path=/trunk/; revision=20403
* define __GTK_H_INSIDE__ around including all other headers.Michael Natterer2008-05-281-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-05-28 Michael Natterer <mitch@imendio.com> * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other headers. * gtk/gtktypebuiltins.h.template * gtk/gtkversion.h.in * gtk/gtk*.h: add single-include guards that #error out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is included individually. * gtk/gtkprintbackend.h * gtk/gtkprinter-private.h * gtk/gtktextlayout.h * gtk/gtktexttagprivate.h * gtk/gtktexttypes.h * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual headers in these private or semi-private headers. * gtk/gtkimmodule.h: also here because it's not in gtk.h. * gtk/gtkpagesetupunixdialog.h * gtk/gtkprinter.h * gtk/gtkprintjob.h * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers. * gtk/gtkclist.h * gtk/gtkcombo.h * gtk/gtkctree.h * gtk/gtkfilesel.h * gtk/gtkitemfactory.h * gtk/gtklist.h * gtk/gtklistitem.h * gtk/gtkoldeditable.h * gtk/gtkoptionmenu.h * gtk/gtkpixmap.h * gtk/gtkpreview.h * gtk/gtksignal.h * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h> instead of individual headers in these deprecated headers. They don't get included at all when GTK_DISABLE_DEPRECATED is defined, so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED and include them individually, which should continue to work. * gtk/gtkclist.c: include "gtkctree.h" because of the change above. svn path=/trunk/; revision=20221
* Add new convenience api for tooltips on icon viewsMatthias Clasen2007-07-191-0/+10
| | | | svn path=/trunk/; revision=18501
* Convenience functions to position tooltips on icon view items or cells.Matthias Clasen2007-07-161-0/+10
| | | | | | | | | | | | | | 2007-07-16 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkiconview.h: * gtk/gtkiconview.c (gtk_icon_view_set_tooltip_item): (gtk_icon_view_set_tooltip_cell): Convenience functions to position tooltips on icon view items or cells. svn path=/trunk/; revision=18473
* New function to convert widget coords to what is expected by the at_posMatthias Clasen2007-07-111-0/+6
| | | | | | | | | | | | | 2007-07-11 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkiconview.[hc] (gtk_icon_view_convert_widget_to_bin_window_coords): New function to convert widget coords to what is expected by the at_pos functions. (#455984) svn path=/trunk/; revision=18445
* Add a function to determine what parts of the model are visible. (#306726,Matthias Clasen2005-06-111-0/+3
| | | | | | | | | | 2005-06-11 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkiconview.h: * gtk/gtkiconview.c (gtk_icon_view_get_visible_range): Add a function to determine what parts of the model are visible. (#306726, Jonathan Blandford)
* New function to scroll to a path. (#306838, Jonathan Blandford)Matthias Clasen2005-06-091-0/+5
| | | | | | | | | 2005-06-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkiconview.h: * gtk/gtkiconview.c (gtk_icon_view_scroll_to_path): New function to scroll to a path. (#306838, Jonathan Blandford)
* Test DND.Matthias Clasen2005-05-061-0/+44
| | | | | | | | | | 2005-05-06 Matthias Clasen <mclasen@redhat.com> * tests/testiconview.c: Test DND. * gtk/gtk.symbols: * gtk/gtkiconview.[hc]: Add DND support similar to the DND support in the tree view. (#150270)
* Test cell renderers.Matthias Clasen2005-05-021-40/+55
| | | | | | | | | | | 2005-05-02 Matthias Clasen <mclasen@redhat.com> * tests/testiconview.c: Test cell renderers. * gtk/gtk.symbols: Add new functions. * gtk/gtkiconview.[hc]: Implement GtkCellLayout and use cell renderers for drawing and editing. (#148144, #160242)
* Add new symbols.Matthias Clasen2004-12-141-3/+21
| | | | | | | | | | | 2004-12-14 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: Add new symbols. * gtk/gtkiconview.[hc]: Make the icon view lay out its items in a grid, allocating multiple grid cells to oversized items. Also convert hardwired spacing constants into properties. (#152483)
* Mark as const.Matthias Clasen2004-11-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-23 Matthias Clasen <mclasen@redhat.com> * gtk/gtkuimanager.h (gtk_ui_manager_get_type): * gtk/gtktreeview.h (gtk_tree_view_get_type): * gtk/gtktreeviewcolumn.h (gtk_tree_view_column_get_type): * gtk/gtktreestore.h (gtk_tree_store_get_type): * gtk/gtktreeselection.h (gtk_tree_selection_get_type): * gtk/gtktreemodelfilter.h (gtk_tree_model_filter_get_type): * gtk/gtktreemodel.h (gtk_tree_iter_get_type): (gtk_tree_path_get_type): (gtk_tree_row_reference_get_type): * gtk/gtktoolitem.h (gtk_tool_item_get_type): * gtk/gtktoolbutton.h (gtk_tool_button_get_type): * gtk/gtktoggleaction.h (gtk_toggle_action_get_type): * gtk/gtkthemes.h (gtk_theme_engine_get_type): * gtk/gtktextiter.h (gtk_text_iter_get_type): * gtk/gtksettings.h (gtk_settings_get_type): * gtk/gtkselection.h (gtk_selection_data_get_type): * gtk/gtkradioaction.h (gtk_radio_action_get_type): * gtk/gtkmenutoolbutton.h (gtk_menu_tool_button_get_type): * gtk/gtkliststore.h (gtk_list_store_get_type): * gtk/gtkiconview.h (gtk_icon_view_get_type): * gtk/gtkicontheme.h (gtk_icon_info_get_type): * gtk/gtkiconfactory.h (gtk_icon_factory_get_type): (gtk_icon_set_get_type): (gtk_icon_source_get_type): * gtk/gtkfilesystemwin32.h (gtk_file_system_win32_get_type): * gtk/gtkfilesystemunix.h (gtk_file_system_unix_get_type): * gtk/gtkfilesystem.h (gtk_file_folder_get_type): (gtk_file_info_get_type, gtk_file_path_get_type): (gtk_file_system_get_type): * gtk/gtkfilefilter.h (gtk_file_filter_get_type): * gtk/gtkfilechooserwidget.h (gtk_file_chooser_widget_get_type): * gtk/gtkfilechooser.h (gtk_file_chooser_get_type): * gtk/gtkfilechooserdialog.h (gtk_file_chooser_dialog_get_type): * gtk/gtkexpander.h (gtk_expander_get_type): * gtk/gtkentrycompletion.h (gtk_entry_completion_get_type): * gtk/gtkcombobox.h (gtk_combo_box_get_type): * gtk/gtkcomboboxentry.h (gtk_combo_box_entry_get_type): * gtk/gtkclipboard.h (gtk_clipboard_get_type): * gtk/gtkcellview.h (gtk_cell_view_get_type): * gtk/gtkcellrenderertoggle.h (gtk_cell_renderer_toggle_get_type): * gtk/gtkcellrenderertext.h (gtk_cell_renderer_text_get_type): * gtk/gtkcellrendererprogress.h (gtk_cell_renderer_progress_get_type): * gtk/gtkcellrendererpixbuf.h (gtk_cell_renderer_pixbuf_get_type): * gtk/gtkcellrenderercombo.h (gtk_cell_renderer_combo_get_type): * gtk/gtkcelllayout.h (gtk_cell_layout_get_type): * gtk/gtkactiongroup.h (gtk_action_group_get_type): * gtk/gtkaction.h (gtk_action_get_type): * gtk/gtkaccessible.h (gtk_accessible_get_type): * gtk/gtkaccelmap.h (gtk_accel_map_get_type): * gtk/gtkaccelgroup.h (gtk_accel_group_get_type): * gtk/gtkmessagedialog.h (gtk_message_dialog_get_type): Mark as const. * gtk/gtkicontheme.h: Don't mark gtk_icon_theme_error_quark() as const, to be consistent with all the other error_quark functions. (technically they are const, but since these are called only in error paths, giving the compiler better optimization opportunities doesn't matter much) * gtk/gtk.symbols: * gdk/gdk.symbols: Add attribute annotations. * gtk/makegtkalias.pl: * gdk/makegdkalias.pl: Keep attribute annotations, but strip PRIVATE. * gtk/Makefile.am (gtk.def): * gdk/Makefile.am (gdk.def): Strip attribute annotations, but keep PRIVATE.
* Remove some erroneous declarations.Matthias Clasen2004-08-021-3/+0
| | | | | | 2004-08-02 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.h: Remove some erroneous declarations.
* Add a new :orientation property to determine whether text is positionedMatthias Clasen2004-07-181-0/+7
| | | | | | | | | | | | | Sat Jul 17 23:11:04 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkiconview.h: * gtk/gtkiconview.c (gtk_icon_view_class_init): * gtk/gtkiconview.c (gtk_icon_view_set_orientation): * gtk/gtkiconview.c (gtk_icon_view_get_orientation): * gtk/gtkiconview.c (gtk_icon_view_calculate_item_size): * gtk/gtkiconview.c (gtk_icon_view_layout_single_row): Add a new :orientation property to determine whether text is positioned below or beside icons. (#147463)
* Use gint, not int in gtk_icon_view_set_markup_column, (Paolo Maggi)Anders Carlsson2004-07-051-1/+1
| | | | | | | | | 2004-07-05 Anders Carlsson <andersca@gnome.org> * gtk/gtkiconview.c: (gtk_icon_view_set_markup_column): * gtk/gtkiconview.h: Use gint, not int in gtk_icon_view_set_markup_column, (Paolo Maggi)
* Add an "activate_cursor_item" action signal and bind it to the return key.Anders Carlsson2004-07-041-0/+1
| | | | | | | | | | | 2004-07-05 Anders Carlsson <andersca@gnome.org> * gtk/gtkiconview.c: (gtk_icon_view_class_init), (gtk_icon_view_real_select_cursor_item), (gtk_icon_view_real_activate_cursor_item): * gtk/gtkiconview.h: Add an "activate_cursor_item" action signal and bind it to the return key.
* gtk/gtkiconview.c Add GtkIconView to the build, remove debugging output.Anders Carlsson2004-07-041-52/+48
| | | | | | | | | 2004-07-04 Anders Carlsson <andersca@gnome.org> * gtk/Makefile.am: * gtk/gtkiconview.c * gtk/gtkiconview.h: Add GtkIconView to the build, remove debugging output.
* Fix the "selection_changed" signal to not get emitted twice in some cases.Anders Carlsson2004-07-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-04 Anders Carlsson <andersca@gnome.org> * configure.in: * libegg/iconlist/eggiconlist.c: (egg_icon_list_expose), (scroll_timeout), (egg_icon_list_motion), (egg_icon_list_button_press), (egg_icon_list_update_rubberband), (egg_icon_list_start_rubberbanding), (egg_icon_list_stop_rubberbanding), (egg_icon_list_unselect_all_internal), (egg_icon_list_real_select_all), (egg_icon_list_adjustment_changed), (egg_icon_list_item_free), (egg_icon_list_select_item), (verify_items), (egg_icon_list_row_changed), (egg_icon_list_row_inserted), (egg_icon_list_row_deleted), (egg_icon_list_rows_reordered), (egg_icon_list_select_all_between), (egg_icon_list_move_cursor_up_down), (egg_icon_list_move_cursor_page_up_down), (egg_icon_list_move_cursor_left_right), (egg_icon_list_move_cursor_start_end), (egg_icon_list_set_model), (egg_icon_list_get_selected_items), (egg_icon_list_select_all), (egg_icon_list_unselect_all): * libegg/iconlist/eggiconlist.h: * libegg/iconlist/testiconlist.c: (foreach_selected_remove): Fix the "selection_changed" signal to not get emitted twice in some cases. Also fix a bunch of issues reported by Jonathan.
* Document functions and fix a few bugs.Anders Carlsson2004-07-031-2/+4
| | | | | | | | | | | | | | | | | | | | | | | 2004-07-03 Anders Carlsson <andersca@gnome.org> * libegg/iconlist/eggiconlist.c: (egg_icon_list_add_move_binding), (egg_icon_list_real_move_cursor), (egg_icon_list_new), (egg_icon_list_new_with_model), (egg_icon_list_get_path_at_pos), (egg_icon_list_selected_foreach), (egg_icon_list_set_selection_mode), (egg_icon_list_get_selection_mode), (egg_icon_list_set_model), (egg_icon_list_get_model), (egg_icon_list_set_text_column), (egg_icon_list_get_text_column), (egg_icon_list_set_markup_column), (egg_icon_list_get_markup_column), (egg_icon_list_set_pixbuf_column), (egg_icon_list_get_pixbuf_column), (egg_icon_list_select_path), (egg_icon_list_unselect_path), (egg_icon_list_select_all), (egg_icon_list_unselect_all), (egg_icon_list_path_is_selected), (egg_icon_list_item_activated): * libegg/iconlist/eggiconlist.h: * libegg/iconlist/testiconlist.c: (foreach_selected_remove_func), (foreach_selected_remove), (selection_changed), (main): Document functions and fix a few bugs.
* Add markup column support.Anders Carlsson2004-07-021-0/+3
| | | | | | | | | | | | | | | | 2004-07-02 Anders Carlsson <andersca@gnome.org> * libegg/iconlist/eggiconlist.c: (egg_icon_list_class_init), (egg_icon_list_init), (egg_icon_list_set_property), (egg_icon_list_get_property), (egg_icon_list_calculate_item_size), (egg_icon_list_paint_item), (egg_icon_list_update_item_text), (egg_icon_list_get_text_column), (egg_icon_list_set_markup_column), (egg_icon_list_get_markup_column), (egg_icon_list_set_pixbuf_column), (egg_icon_list_get_pixbuf_column): * libegg/iconlist/eggiconlist.h: * libegg/iconlist/testiconlist.c: (fill_model), (create_model): Add markup column support.
* Update icon list to use the tree model instead.Anders Carlsson2004-07-021-84/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-02 Anders Carlsson <andersca@gnome.org> * libegg/iconlist/eggiconlist.c: (egg_icon_list_class_init), (egg_icon_list_init), (egg_icon_list_destroy), (egg_icon_list_finalize), (egg_icon_list_set_property), (egg_icon_list_get_property), (egg_icon_list_button_press), (egg_icon_list_select_first_matching_item), (egg_icon_list_maybe_begin_dragging_items), (egg_icon_list_real_toggle_cursor_item), (egg_icon_list_calculate_item_size), (egg_icon_list_invalidate_sizes), (egg_icon_list_paint_item), (egg_icon_list_item_new), (egg_icon_list_item_unref), (egg_icon_list_get_item_text), (egg_icon_list_get_item_icon), (egg_icon_list_get_item_at_pos), (egg_icon_list_get_path_at_pos), (egg_icon_list_selected_foreach), (egg_icon_list_select_path), (egg_icon_list_unselect_path), (egg_icon_list_path_is_selected), (egg_icon_list_item_activated), (egg_icon_list_get_items), (egg_icon_list_row_changed), (egg_icon_list_row_inserted), (egg_icon_list_row_deleted), (egg_icon_list_rows_reordered), (egg_icon_list_build_items), (egg_icon_list_set_model), (egg_icon_list_get_model), (egg_icon_list_set_text_column), (egg_icon_list_set_pixbuf_column): * libegg/iconlist/eggiconlist.h: * libegg/iconlist/testiconlist.c: (fill_model), (create_model), (foreach_selected_print), (item_removed), (remove_selected), (item_cb), (do_popup_menu), (main): * libegg/util/eggmarshalers.list: Update icon list to use the tree model instead.
* Forgotten files.Matthias Clasen2004-06-211-0/+3
|
* Changes, bug fixes etc.Anders Carlsson2002-07-291-3/+4
|
* Make this compile again.Anders Carlsson2002-05-181-1/+1
|
* Move the column chooser files to column-chooser/ (and fix a typo in the icon ↵Anders Carlsson2002-05-151-2/+2
| | | | list header file)
* Add thisAnders Carlsson2002-04-301-0/+150