1. 20 Jan, 2011 1 commit
  2. 19 Jan, 2011 1 commit
    • Matthias Clasen's avatar
      Add gtk_text_view_get_cursor_locations · 2f724569
      Matthias Clasen authored
      In GTK 3.0 it's no longer possible to e.g. pop up something
      at a text view's cursor (this wasn't exactly possible before
      either without including gtktextlayout, but this is a quite
      special need anyway).
      2f724569
  3. 15 Jan, 2011 1 commit
  4. 11 Jan, 2011 1 commit
  5. 10 Jan, 2011 1 commit
  6. 05 Jan, 2011 2 commits
  7. 04 Jan, 2011 3 commits
  8. 28 Dec, 2010 1 commit
  9. 21 Dec, 2010 1 commit
  10. 15 Dec, 2010 2 commits
  11. 10 Dec, 2010 1 commit
  12. 08 Nov, 2010 1 commit
  13. 06 Nov, 2010 1 commit
  14. 30 Oct, 2010 3 commits
  15. 27 Oct, 2010 4 commits
  16. 26 Oct, 2010 1 commit
    • Tristan Van Berkom's avatar
      Added GtkScrollablePolicy property to scrollable interface · 3fe0fb4e
      Tristan Van Berkom authored
      This patch adds the GtkScrollablePolicy type property to GtkScrollable
      and implements it in all subclasses. GtkScrolledWindow observes this
      property to make a good guess about when to show/hide scrollbars for
      height-for-width content.
      
      Most scrollable children do not do height-for-width *yet* but
      most certainly will (toolpalette, treeview, iconview, textview
      widgets all TODO), for scrollable widgets that do have a minimum
      and natural size, it's important for them to observe the state
      of this property in order to properly drive the scroll adjustments
      according to the desired GtkScrollablePolicy. This patch makes
      GtkViewport do this.
      
      Patch also adds tests/testscrolledwindow.c to display the effects
      of this property.
      3fe0fb4e
  17. 22 Oct, 2010 3 commits
  18. 20 Oct, 2010 2 commits
    • Michael Natterer's avatar
      gtk: clean up GtkWidget signals · c2f29f2c
      Michael Natterer authored
      - add slots for damage-event, move-focus and keynav-failed
      - reorder signals a bit so related stuff is grouped together
      - some indentation fixes in the GtkWidgetClass
      - remove the move-focus compat hack from GtkTextView
      - turn the move-focus compat hack in GtkWindow into properly
        implementing GtkWidget::move-focus()
      c2f29f2c
    • Emmanuele Bassi's avatar
      Split off gtkprivate.h · 2cc059a0
      Emmanuele Bassi authored
      The gtkprivate.h header contains GtkWidget-specific private symbols that
      are not useful except in a handful of cases. Basically everything
      includes gtkprivate.h for the GTK_PARAM_* macros.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=632539
      2cc059a0
  19. 29 Sep, 2010 1 commit
  20. 28 Sep, 2010 1 commit
  21. 27 Sep, 2010 2 commits
  22. 26 Sep, 2010 6 commits
    • Benjamin Otte's avatar
      19d13774
    • Benjamin Otte's avatar
      Move GtkSizeRequest into GtkWidget · d9c92598
      Benjamin Otte authored
      It doesn't make sense to keep them separate as GtkSizeRequest requires a
      GtkWidget and GtkWidget implements GtkSizeRequest, so you can never have
      one without the other.
      It also makes the code a lot easier because no casts are required when
      calling functions.
      
      Also, the names would translate to gtk_widget_get_width() and people
      agreed that this would be a too generic name, so a "preferred" was added
      to the names.
      
      So this patch moves the functions:
      gtk_size_request_get_request_mode() => gtk_widget_get_request_mode()
      gtk_size_request_get_width() => gtk_widget_get_preferred_width()
      gtk_size_request_get_height() => gtk_widget_get_preferred_height()
      gtk_size_request_get_size() => gtk_widget_get_preferred_size()
      gtk_size_request_get_width_for_height() =>
        gtk_widget_get_preferred_width_for_height()
      gtk_size_request_get_height_for_width() =>
        gtk_widget_get_preferred_height_for_width()
      ... and moves the corresponding vfuncs to the GtkWidgetClass.
      
      The patch also renames the implementations of the vfuncs in widgets to
      include the word "preferrred".
      d9c92598
    • Benjamin Otte's avatar
      e10f5e9a
    • Benjamin Otte's avatar
      API: Rename gtk_cairo_paint_*() to gtk_paint_*() · 1d3f6b30
      Benjamin Otte authored
      Large patch, but just renaming.
      Indentation should still mostly be correct because I took care of
      keeping the indentation for this function name.
      1d3f6b30
    • Benjamin Otte's avatar
      textview: Port to draw vfunc · 00375c76
      Benjamin Otte authored
      00375c76
    • Benjamin Otte's avatar