Re: Sending GdkEvents to Gtk Widget

2010-07-12 Thread Andy Stewart
Hi Bharathwaaj, I'm a developer of gtk2hs (Haskell binding to gtk+). I have fix same problem (WebKit widget and GdkEvent) at Haskell side. (https://patch-tag.com/r/AndyStewart/gtk-serialized-event/snapshot/current/content/pretty/Graphics/UI/Gtk/Gdk/SerializedEvent.hsc) This is screenshot : http:

Re: signal apparently missing on gtkcalendar

2010-07-12 Thread Robert Pearce
Hi John, On Sun, 11 Jul 2010 22:55:15 -0300 you wrote: > > I am reading the documentation of GtkCalendar, more precisely at the > signals. There are the month-changed and day-selected signal, but why > not a signal to represent the year changing? Presumably because it displays a whole month at

Text cursor movement on Windows

2010-07-12 Thread Fredrik Corneliusson
Hi, The GTK cursor movement convention used to move the cursor one word forward (CTRL+Right) differs from what is normal in MS Windows (Wimp-theme does not solve this). The normal behavior in MS Windows is to move to the start of the next word (include the space) and on GTK it only moves to the en

Doubts about creating a new widget

2010-07-12 Thread CaStarCo
Hello, my name is Andreu and i'm new in this list. I have a doubt about if I should create a new widget or if there is a widget that could supply my needs. I'll describe what I need: I want to make a left column in the window with "flat" toggle buttons (with the 100% of the column width) that, wh

Re: Text cursor movement on Windows

2010-07-12 Thread Fredrik Corneliusson
Replying to myself. I found a "semi" working solution here: http://ubuntuforums.org/showpost.php?p=9202312&postcount=6 It changes the key binding for forward word using the gtkrc file so that it generates two "move-cursor" events: bind "Right" { "move-cursor" (words, 2, 0) "move-cursor" (words,

Re: Sending GdkEvents to Gtk Widget

2010-07-12 Thread Bharathwaaj Srinivasan
Hi Andy, I couldn't understand the meaning of serializeEvent. But still I simply tried the following in the socket source callback from GLib. GdkEvent event; memset(&event, 0, sizeof(GdkEvent)); event.key.type = GDK_KEY_PRESS; event.key.keyval = GD

GTK+ 2.90.5 released

2010-07-12 Thread Matthias Clasen
GTK+ 2.90.5 is now available for download at: ftp://ftp.gtk.org/pub/gtk/2.90/ http://download.gnome.org/sources/gtk+/2.90/ 8c3c2b461c5a9e0c07dcc320d6362728284e8294f2cd77428d51694c15681264 gtk +-2.90.5.tar.bz2 e04066adad9f4544d5d0d4f9f467b14581adfae2d1487072c0baca9ddd4bc06e gtk +-2.90.5.tar.g

Re: Doubts about creating a new widget

2010-07-12 Thread Nicola Fontana
Il giorno Mon, 12 Jul 2010 14:19:12 +0200 CaStarCo ha scritto: > Hello, my name is Andreu and i'm new in this list. > > I have a doubt about if I should create a new widget or if there is a widget > that could supply my needs. > > I'll describe what I need: I want to make a left column in the w

GTK+ 2.21.5 released

2010-07-12 Thread Matthias Clasen
GTK+ 2.21.5 is now available for download at: ftp://ftp.gtk.org/pub/gtk/2.21/ http://download.gnome.org/sources/gtk+/2.21/ 6b8927e4906deea9a848445ea42a3fb4eb8767b410711e0bf826698cd11ab51b gtk +-2.21.5.tar.bz2 350fb48ec5033dc3728d3c0701b7c5ceaafa692557d3c1d620c47956f8382a14 gtk +-2.21.5.tar.gz

Re: Doubts about creating a new widget

2010-07-12 Thread CaStarCo
Thanks Nicola :D , i haven't found any screenshot of GtkExpander widget, there is any screenshot in any place? 2010/7/12 Nicola Fontana > Il giorno Mon, 12 Jul 2010 14:19:12 +0200 > CaStarCo ha scritto: > > > Hello, my name is Andreu and i'm new in this list. > > > > I have a doubt about if I

RE: Doubts about creating a new widget

2010-07-12 Thread Jeff Hallock
Hmmm…. I able to find one immediately by googling “gtk expander screenshot”. Who’d a thought… You can also always give it a try yourself… From: gtk-list-boun...@gnome.org [mailto:gtk-list-boun...@gnome.org] On Behalf Of CaStarCo Sent: Monday, July 12, 2010 2:46 PM To: gtk-list@gnome.org Subjec

Re: Doubts about creating a new widget

2010-07-12 Thread CaStarCo
U_U Thanks, i made a bad search before. 2010/7/12 Jeff Hallock > Hmmm…. I able to find one immediately by googling “gtk expander > screenshot”. Who’d a thought… > > > > You can also always give it a try yourself… > > > > > > *From:* gtk-list-boun...@gnome.org [mailto:gtk-list-boun...@gnome.org]

Re: RE: Doubts about creating a new widget

2010-07-12 Thread american . communist . party
On Jul 12, 2010 11:51am, Jeff Hallock wrote: Hmmm…. I able to find one immediately by googling “gtk expander screenshot”. Who'da thought… I monitor this list because I know I'll eventually learn something new, I am far from complete in my knowledge of "stuff". For giggles I decided to take

Re: Sending GdkEvents to Gtk Widget

2010-07-12 Thread Bharathwaaj Srinivasan
Hi Andy, Thank you very much for your patient reply. I had actually filled the GdkWindow field. But while copy pasting line by line, it somehow got missed. :P Now it is solved. The problem was, I was blocking the callback function without returning it to GLib! Since mine was kinda minimal test

Re: RE: Doubts about creating a new widget

2010-07-12 Thread CaStarCo
Yes, it's the web i've found too, it's interesting :) . Now I have question about GtkExpander, I've searched in the documentation page: http://library.gnome.org/devel/gtk/stable/GtkExpander.html How can I remove or hide the left icon (a

Re: RE: Doubts about creating a new widget

2010-07-12 Thread CaStarCo
I'm programming in Vala, and I've wrote this (for testing the class): >> menu_entry2.add_with_properties (new ToggleButton.with_label ("JAJAJA"), "expander-size", 0); because (in "theory", the expander-size property is the size of the left triangle..), but in the practice the code is equivalent