gtk_object_sink in glade_palette_init

2006-11-27 Thread Philippe Bertin
Hello, This question could've gone to the glade list. But the explanation may help GTK programmers in general (I think), so I rather ask it here. In glade_palette_init, there's this piece of code : /* Add items tray (via a scrolled window) */ priv->tray = gtk_vbox_new (FALSE, 0); g_

RE: Suppressing command window

2006-11-27 Thread Sai Korada
Thanks for your suggestions Jim, getenv(), putenv() are returning success as such. But when the application is being loaded immediately it will through gtk error, and closes the application. The same command, prepending (./GTK/bin;) to the current path works fine and the application launches

Format text in columns

2006-11-27 Thread Donald Malcolm
I am populating a GtkListStore with text that has Pango attributes and markup. I would like to position the text at given distances from the left side, arranging it into columns. Is there a way to position the text as a Pango Attribute? Can the position information be encoded into each line of text

RE: Suppressing command window

2006-11-27 Thread Sai Korada
Thank you very much Daniel, it worked. At the moment I've chosen the first option to demonstrate to the customer and later I'll try with other options too. Thanks a lot Regards Sai Laxmi ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

TOP_LEVEL_WINDOWS order of the window messager

2006-11-27 Thread sunzysjzri
hi, how to change the TOP_LEVEL_WINDOWS order of the windows manager? I want reorder the windows stack of Xserver to reliase the function "window switch", i got the client list of window manager, but how to reorder it ? send an event or use Xlibs API ? sun zhiyong 2006-11-28 [EMAIL PROTECTED] _

Re: GtkTreeView having nodes with underlined text

2006-11-27 Thread Gian Mario Tagliaretti
2006/11/23, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Wow. Thanks, David, for your concise example. and for the pythonists: http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq13.047.htp thanks David cheers -- Gian Mario Tagliaretti http://www.parafernalia.org/pygtk/ ___

[ANNOUNCE] Browser search plugin for search GNOME developer documentation

2006-11-27 Thread jaap haitsma
Hi, Often I'm searching on the developer.gnome.org site for API description of a certain widget I want to use. So I made a search plugin for it, which I thought people on this list might like. You can install it from here if you like. http://www.searchplugins.net/pluginlist.aspx?q=gnome&mode=titl

Re: g_signal_connect_swapped

2006-11-27 Thread Philippe Bertin
Richard, I'm also, as you are, a rather inexperienced GTK programmer, but I hope to still help you by the following, without immediately digging into all kinds of technical details : whereever the _swapped variant is used, that is done to call a callback from within a widget, to a procedure tha

Re: Fullscreen window

2006-11-27 Thread Gabriele Greco
Gabriele Greco wrote: > I'd like to open my application with the window "expanded", so that it > covers all the visible part of the desktop except the kde/gnome/windows > taskbar(s). > > There is a portable way to do this? > > gtk_window_fullscreen does something similar but "removes" both the >

Re: GtkTreeview

2006-11-27 Thread Andrea Zagli
Il giorno lun, 27/11/2006 alle 12.03 +0800, sunzysjzri ha scritto: > a simple question, that which signal of GtkTreeView could i use to catch a > mouse clicked event? the GtkTreeSelection's "changed" signal for a single click; the GtkTreeView's "row-activated" for a double click _

Fullscreen window

2006-11-27 Thread Gabriele Greco
I'd like to open my application with the window "expanded", so that it covers all the visible part of the desktop except the kde/gnome/windows taskbar(s). There is a portable way to do this? gtk_window_fullscreen does something similar but "removes" both the titlebar and the taskbar, at least

Re: Suppressing command window

2006-11-27 Thread Daniel Atallah
On 11/27/06, Sai Korada <[EMAIL PROTECTED]> wrote: > I've packaged the application along with the required GTK dlls in a zip > file. > > Created a batch file, which, appends the current gtk\bin path to local > path and then launch the application. > > And the console window, which was opened by t

Re: g_signal_connect_swapped

2006-11-27 Thread Michael 'Mickey' Lauer
Richard Riley wrote: > "Matt Hoosier" <[EMAIL PROTECTED]> writes: >> On 11/25/06, Richard <[EMAIL PROTECTED]> wrote: >>> >>> Could someone explain the reason for this function >>> >>> "g_signal_connect_swapped" >>> >>> I have read the manual here: >>> >>> http://www.gtk.org/tutorial/x159.html >>>

Re: g_signal_connect_swapped

2006-11-27 Thread Richard Riley
"Matt Hoosier" <[EMAIL PROTECTED]> writes: > On 11/25/06, Richard <[EMAIL PROTECTED]> wrote: >> >> Could someone explain the reason for this function >> >> "g_signal_connect_swapped" >> >> I have read the manual here: >> >> http://www.gtk.org/tutorial/x159.html >> >> where it says: >> >> , >>

Re: Suppressing command window

2006-11-27 Thread Jim George
> I tried using getenv() and putenv(), but it is not working as expected. That would be the right way. Could you give some more details on why it doesn't work? Or how it fails? Does setenv return -1? What is errno set to? > I've packaged the application along with the required GTK dlls in a zip f

RE: Suppressing command window

2006-11-27 Thread Sai Korada
May be I was not clear in explaining my problem. I have used the -mwindows, which essentially suppresses all the debugging info(may be my printfs). But my requirement is different I've packaged the application along with the required GTK dlls in a zip file. Created a batch file, which, appends

Re: Libglade application distribution how-to?

2006-11-27 Thread cole-anstey
> - Although Glade can see and draw the pixmaps in "./pixmaps" > when I edit the interface files, I found out (after a project directory > change) that the pixmaps are not found in runtime. Maybe this is the > reason I get those "Failed to read a valid object file image from > memory"

drag and drop target style

2006-11-27 Thread Ferenc Gerlits
Hi, Is there a way of customizing the width and color of the drag and drop target marker in a Gtk::TreeView, without writing my own drag and drop functions? I was looking for a style or property which does this, but I could not find one. Ferenc ___

Re: Libglade application distribution how-to?

2006-11-27 Thread Fernando ApesteguĂ­a
On 11/27/06, Fabricio Rocha <[EMAIL PROTECTED]> wrote: > Dearest ones, > >I have a working set of .C and .H source files for my > application, a bunch of Glade files and their icons in a subdirectory > called "pixmaps", and I can get all this stuff compiled and functional > through Anjuta.