Re: Could I control the window menu?

2008-04-10 Thread Magicloud Magiclouds
Hello, I meant the menu appears when I right click on the titlebar or taskbar. I know it is provided by the WM. Just wonder if there is some common way to control it. I want to make a program that only show a icon on taskbar, and I choosed to use a iconify window. But the window menu sol

Dragging a window without focus

2008-04-10 Thread natan yellin
Hello, I've been trying on and off for the past few weeks to use the function gdk_window_begin_move_drag on a window in my application. If I call the function in the callback for a button-press-event it works fine. However, if I attempt to call the function in response to a client-event (or anythin

Re: GtkWindow from X window id

2008-04-10 Thread Tristan Van Berkom
On Thu, Apr 10, 2008 at 3:15 PM, Brian J. Tarricone <[EMAIL PROTECTED]> wrote: > Xavier Toth wrote: > > Is it possible to retrieve a GtkWindow using the native X window id? > > Something like this might work: > > GdkWindow *window = gdk_window_lookup(xid); > GtkWidget *widget = gdk_window_get_u

Re: GtkWindow from X window id

2008-04-10 Thread Brian J. Tarricone
Xavier Toth wrote: > Is it possible to retrieve a GtkWindow using the native X window id? Something like this might work: GdkWindow *window = gdk_window_lookup(xid); GtkWidget *widget = gdk_window_get_user_data(window); Of course that only works if 'xid' corresponds to a GtkWindow that you your

Re: gtk/gdk equivalent of XGetWMName?

2008-04-10 Thread Brian J. Tarricone
Xavier Toth wrote: > Is there a Gtk/Gdk equivalent of XGetWMName? Yep: http://library.gnome.org/devel/gdk/stable/gdk-X-Window-System-Interaction.html#gdk-x11-screen-get-window-manager-name Not sure how reliable that is, though -- I was told once that it'll still return the old value (or just som

GtkTreeView Size Issue

2008-04-10 Thread Carlos Pereira
Hi, The working code below shows a two-column list, where the second title, "Pages", is partially overwritten by the scrolled window: http://www.gamgi.org/treeview.png When the scrolled window is inactive, or when gtk_widget_set_size_request is commented out, the title "Pages" looks fine. A simp

Questions about GtkUIManager

2008-04-10 Thread John M Collins
I've been struggling to find full documentation for GTKUIManager and would be grateful if some guru could answer two questions: 1. Is it possible to put a menu item (specifically "Help") on the far right of the menu bar? 2. Is it possible to specify icons instead of / as well as

GtkWindow from X window id

2008-04-10 Thread Xavier Toth
Is it possible to retrieve a GtkWindow using the native X window id? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: How can I find out what is the gtk development version?

2008-04-10 Thread ying lcs
On Thu, Apr 10, 2008 at 11:28 AM, Tomas Carnecky <[EMAIL PROTECTED]> wrote: > ying lcs wrote: > > > On Thu, Apr 10, 2008 at 11:12 AM, Kevin DeKorte <[EMAIL PROTECTED]> > wrote: > > > > > -BEGIN PGP SIGNED MESSAGE- > > > Hash: SHA1 > > > > > > > > > ying lcs wrote: > > > | Hi, > > > | >

Re: How can I find out what is the gtk development version?

2008-04-10 Thread Tomas Carnecky
ying lcs wrote: > On Thu, Apr 10, 2008 at 11:12 AM, Kevin DeKorte <[EMAIL PROTECTED]> wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> >> ying lcs wrote: >> | Hi, >> | >> | How can I find out what is the gtk development version that I am using >> on linux? >> >> >> ~ pkg-conf

Re: How can I find out what is the gtk development version?

2008-04-10 Thread Tomas Carnecky
ying lcs wrote: > On Thu, Apr 10, 2008 at 11:12 AM, Kevin DeKorte <[EMAIL PROTECTED]> wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> >> ying lcs wrote: >> | Hi, >> | >> | How can I find out what is the gtk development version that I am using >> on linux? >> >> >> ~ pkg-conf

Re: How can I find out what is the gtk development version?

2008-04-10 Thread ying lcs
On Thu, Apr 10, 2008 at 11:12 AM, Kevin DeKorte <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > ying lcs wrote: > | Hi, > | > | How can I find out what is the gtk development version that I am using > on linux? > > > ~ pkg-config --modversion gtk+-2.0 > > >

Re: How can I find out what is the gtk development version?

2008-04-10 Thread Kevin DeKorte
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ying lcs wrote: | Hi, | | How can I find out what is the gtk development version that I am using on linux? ~ pkg-config --modversion gtk+-2.0 Should give you the version Kevin - -- Get my public GnuPG key from http://pgp.mit.edu:11371/pks/lookup?

How can I find out what is the gtk development version?

2008-04-10 Thread ying lcs
Hi, How can I find out what is the gtk development version that I am using on linux? Thank you. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

gtk/gdk equivalent of XGetWMName?

2008-04-10 Thread Xavier Toth
Is there a Gtk/Gdk equivalent of XGetWMName? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Query about handling OS signals

2008-04-10 Thread G Hasse
On Thu, Apr 10, 2008 at 09:12:21AM +0100, John M Collins wrote: > I have spent most of a day looking at the various documents about > emitting signals and articles here without finding the answers to the > questions - sorry if they seem stupid as I'm a comparative newcomer to > GTK. > > I am conve

Re: Announcing Dolt, a drop-in Libtool replacement which cuts build times in half

2008-04-10 Thread Ralf Wildenhues
Hello Josh, can we limit followups to a subset of this impressive array of mailing lists? Say, to <[EMAIL PROTECTED]>? That would be readable at . Thanks. * Josh Triplett wrote on Wed, Apr 09, 2008 at 12:34:18PM CEST: > Libtool kn

Announcing Dolt, a drop-in Libtool replacement which cuts build times in half

2008-04-10 Thread Josh Triplett
Many packages use GNU autotools (automake and autoconf) to build, to the point that "./configure && make" represents one of the most common build procedures for Free Software packages. Libraries using autotools typically use GNU Libtool, partly because it works on almost any system and partly beca

Re: Query about handling OS signals

2008-04-10 Thread Andrew W. Nosenko
On Thu, Apr 10, 2008 at 2:51 PM, Andreas Stricker <[EMAIL PROTECTED]> wrote: > John M Collins schrieb: > > > The signals are sent by the daemon process to tell the receiving clients > > "you might want to refresh your display". It is for the receiving > > clients to worry about whether they do ne

Re: Query about handling OS signals

2008-04-10 Thread Andreas Stricker
John M Collins schrieb: > The signals are sent by the daemon process to tell the receiving clients > "you might want to refresh your display". It is for the receiving > clients to worry about whether they do need to refresh their displays > (the actual data is in shared memory). > > My first quest

Re: Could I control the window menu?

2008-04-10 Thread Tor Lillqvist
What do you mean with "the window menu"? --tml ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Could I control the window menu?

2008-04-10 Thread Magicloud Magiclouds
Hello, I mean add some entry or make it disappear. Thanks. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Query about handling OS signals

2008-04-10 Thread John M Collins
I have spent most of a day looking at the various documents about emitting signals and articles here without finding the answers to the questions - sorry if they seem stupid as I'm a comparative newcomer to GTK. I am converting an application to use GTK+ which receives messages from a daemon proce