{"id":410,"date":"2011-02-28T10:18:45","date_gmt":"2011-02-28T09:18:45","guid":{"rendered":"http:\/\/gnome\/gtk-meego-handset-week4"},"modified":"2011-02-28T10:18:45","modified_gmt":"2011-02-28T09:18:45","slug":"gtkmeego-handset-integration-week-4","status":"publish","type":"post","link":"https:\/\/blogs.igalia.com\/carlosgc\/2011\/02\/28\/gtkmeego-handset-integration-week-4\/","title":{"rendered":"GTK+\/MeeGo Handset integration: Week 4"},"content":{"rendered":"<p><strong>GtkWidget::press-and-hold signal<\/strong><\/p>\n<p>Last week I submitted a <a href=\"https:\/\/bugzilla.gnome.org\/attachment.cgi?id=180968\">work in progress patch<\/a> just to show my idea of using a new style class to implement the animation instead of changing the cursor. This week I <a href=\"https:\/\/bugzilla.gnome.org\/show_bug.cgi?id=315645#c28\">completed the patch<\/a> creating a new style class GTK_STYLE_CLASS_PRESS_AND_HOLD and implementing the animation in the theming engine using a variation of the current spinner animation. Also fixed the animation to work when there&#8217;s no composite manager running. I haven&#8217;t plan to continue working on this <a href=\"https:\/\/bugzilla.gnome.org\/attachment.cgi?id=181694\">patch<\/a> unless it&#8217;s reviewed and it needs more work, of course. <a href=\"http:\/\/blogs.fedoraproject.org\/wp\/mclasen\/\">Matthias<\/a> already <a href=\"https:\/\/bugzilla.gnome.org\/show_bug.cgi?id=315645#c29\">commented about the general approach<\/a>.<\/p>\n<p><strong>GtkEntry:hint-text<\/strong><\/p>\n<p>I started to work on this <a href=\"https:\/\/bugzilla.gnome.org\/show_bug.cgi?id=440963\">bug<\/a> this week. Like with press-and-hold, this bug had a <a href=\"https:\/\/bugzilla.gnome.org\/attachment.cgi?id=172869\">working patch<\/a> attached, so I simply <a href=\"https:\/\/bugzilla.gnome.org\/attachment.cgi?id=181822\">ported it to GTK+3<\/a> and updated to apply to current git master. It requires some <a href=\"https:\/\/bugzilla.gnome.org\/show_bug.cgi?id=440963#c30\">more work<\/a> though.<\/p>\n<p><strong>GtkScrolledWindow<\/strong><\/p>\n<p>Submitted a <a href=\"https:\/\/bugzilla.gnome.org\/attachment.cgi?id=181458\">new patch<\/a> to add a new auto-hide-scrollbars style property, to hide the scrollbars after a timeout when kinetic scrolling mode is enabled.<\/p>\n<p><strong>GtkLiveSearch<\/strong><\/p>\n<p>With the idea of splitting it into a general purpose entry widget and an object for the search, I have started to write a new widget, based on EmpathyLiveSearch, GtkTreeView and Evince code, that shows a popup window with an entry when typing on a hook widget. I have nothing to show yet, but I plan to finish it during the following week with patches for GtkTreeView and Evince too. Regarding the search part, <a href=\"http:\/\/blogs.gnome.org\/otte\">Benjamin<\/a> has the idea to add a GtkSearchable interface.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GtkWidget::press-and-hold signal Last week I submitted a work in progress patch just to show my idea of using a new style class to implement the animation instead of changing the cursor. This week I completed the patch creating a new &hellip; <a href=\"https:\/\/blogs.igalia.com\/carlosgc\/2011\/02\/28\/gtkmeego-handset-integration-week-4\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,7],"tags":[15],"class_list":["post-410","post","type-post","status-publish","format-standard","hentry","category-gnome","category-igalia","tag-gtk"],"_links":{"self":[{"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/posts\/410","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/comments?post=410"}],"version-history":[{"count":0,"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/posts\/410\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/media?parent=410"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/categories?post=410"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/tags?post=410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}