Efficiency curiosity...

2005-05-11 Thread Freddie Unpenstein
I'm just wondering if anyone can shed some light on a small question I've been asking myself for quite a while... When manually building a window (or part thereof), with all its containers and widgets, I generally create the window, then create and add the containers and widgets as I go along.

Re: gtk themes

2005-05-11 Thread Dov Grobgeld
Just do: gtk_rc_parse_string("include \"/usr/share/themes/Bumblebee\"\n") and you will use the Bumblebee theme. Regards, Dov On Wed, May 11, 2005 at 07:41:52AM +0100, abhi rocks wrote: > hi > > Well i couldnt change my gtk theme using the .gtkrc > file in my home directory. Is there anyway

Re: Tutorial for GtkUIManager ?

2005-05-11 Thread Claudio Saavedra V.
On Wed, 2005-05-11 at 19:41 +0200, Daniel Pekelharing wrote: > Hi all, > > Can anyone recommend a tutorial on using GtkUIManager? > I've been using GtkItemFactory up till now, but I noticed that > it's been deprecated. http://developer.gnome.org/doc/API/2.0/gtk/gtk-migrating-GtkAction.html This

Tutorial for GtkUIManager ?

2005-05-11 Thread Daniel Pekelharing
Hi all, Can anyone recommend a tutorial on using GtkUIManager? I've been using GtkItemFactory up till now, but I noticed that it's been deprecated. Thanks! -- Daniel Pekelharing ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://m

Re: gtk_tree_model_get() --> when to free results???

2005-05-11 Thread Olivier Sessink
Stefan Kost wrote: > Hi Olivier, > > I've just browsed over the docs from glib, gobject and gtk. I though > these rules are somwhere in there, but I didn't found them. I've also > looked at > http://developer.gnome.org/doc/guides/ > http://developer.gnome.org/doc/tutorials/ > > Now the question i

Re: An iconifiable gtk_dialog_window ?

2005-05-11 Thread Afonso Costa
Hi Olivier, I think that you can try to use these methods: http://developer.gnome.org/doc/API/2.0/gtk/GtkWindow.html#gtk-window-deiconify http://developer.gnome.org/doc/API/2.0/gtk/GtkWindow.html#gtk-window-set-transient-for BR, Afonso On 5/11/05, Olivier <[EMAIL PROTECTED]> wrote: > Dear all,

Re: GtkTextView horizontal seperators...

2005-05-11 Thread Stephen Kennedy
> > On Tue, 2005-05-10 at 18:38 -0400, Freddie Unpenstein wrote: > > > > > I was wondering if anyone knows how I could draw a horizontal red > > > > > line across a GtkTextView buffer. > > > > The best solution I found was to just draw directly onto the view > > > > through the expose-event using d

An iconifiable gtk_dialog_window ?

2005-05-11 Thread Olivier
Dear all, I use dialog_Parametres = gtk_dialog_new_with_buttons ("Solitaire : Parametres", GTK_WINDOW(SolitaireGraphique), GTK_DIALOG_DESTROY_WITH_PARENT, NULL); to create a window where my us

Re: gtk_tree_model_get() --> when to free results???

2005-05-11 Thread Stefan Kost
Hi Olivier, I've just browsed over the docs from glib, gobject and gtk. I though these rules are somwhere in there, but I didn't found them. I've also looked at http://developer.gnome.org/doc/guides/ http://developer.gnome.org/doc/tutorials/ Now the question is where do the belong? I fancy the id

Re: GtkTextView horizontal seperators...

2005-05-11 Thread Stephen Kennedy
On Tue, 2005-05-10 at 18:38 -0400, Freddie Unpenstein wrote: > > > I was wondering if anyone knows how I could draw a horizontal red > > > line across a GtkTextView buffer. > > The best solution I found was to just draw directly onto the view > > through the expose-event using drawable.draw_line et

Re: help with UTF8

2005-05-11 Thread Raj
setval=g_locale_to_utf8((gchar*)enckeyval, (gssize)strlen(string1), gs1,gs2,NULL); As per the API at http://developer.gimp.org/api/2.0/glib/glib-Character-Set-Conversion.html#g-locale-to-utf8 gs1 and gs2 should be locations where the api can store the number of bytes read and written. So

help with UTF8

2005-05-11 Thread poonam chokshi
hello folks, I am having a strange problem, I am encrypting the a sting using the tripledes algorithm now when i try to set the encrypted value obtained to a text entry it gives me error as WARNING **: Invalid UTF8 string passed to pango_layout_set_text() Now i got to know from s

gtk path selection

2005-05-11 Thread srinivas
hi how to get the path of file and display it in list view widget, when selected using file chooser widget. when file chooser widget button pressed file chooser menu will open, and i want to display the selected file path in to the list view widget up on pressing ok button on file chooser widget