gtk_statusbar!

2006-06-28 Thread ferri_marllo
Hi everyone! I built a gtk_application with glade,it's a main window with menu.When i select a menu option, my program opens a new window with entries and buttons. In the entry i write the name of a file to open. This file has the structure: number1 (ex.25) number 2 (ex.34) operation (p

Re: File Selector Filter, directory only

2006-06-28 Thread Santhosh
http://developer.gnome.org/doc/API/2.0/gtk/GtkFileChooser.html#gtk-file-chooser-set-action http://developer.gnome.org/doc/API/2.0/gtk/GtkFileChooser.html#GtkFileChooserAction The above URLs would be helpful... Regards, Santhosh. ___ gtk-app-devel-list

Re: filechooserbutton and saving

2006-06-28 Thread Roland Koebler
hi, >>> In my opinion `save file chooser' is an entry plus a button >>> to browse the filesystem if one wishes to. that's what I used in one of my programs, because the GtkFileChooserButton didn't do what I wanted it to do (it abbreviated the filename in a very bad way). so, you can simple use an

Re: GValue won't init inside hidden functions

2006-06-28 Thread Philip Kovacs
John Cupitt wrote: > Did you remember to initialise the GValue to {0}? The following > program runs with no warnings for me. OK, I am guilty, as charged. I failed to zero-fill the GValue structure when I defined it (as a stack variable). The documentation for GValue states: "To create a undef

Re: writing my own widget or use gtk provided widget?

2006-06-28 Thread Tristan Van Berkom
Kathleen Yang wrote: >Hi experts, > >My group met a problem when writing our application. We'll implement 5 >windows in the application and each window will contain some normal gtk >widgets such as check buttons, textview, buttons, ... >Now, we have two solutions: >1. Implementing each window as a

The Archive 2006-June

2006-06-28 Thread Vallario Brigitte
Hallo, why the archive gtk-app-devel-list/2006-June doesn't work? Error: Not found The requested URL /archives/gtk-app-devel-list/2006-June/thread.html was not found on this server. Apache/2.0.46 (Red Hat) Server at mail.gnome.org Port 80 __

GtkTreeView with cells editable on entry

2006-06-28 Thread Alberto Mardegan
Hi all! I have a single-column GtkTreeView widget in which all cells are editable, and I must let the user edit them without having to click twice (in the standard GtkTreeView, one click selects a cell, and another is needed to begin editing). More clearly stated, there must never be cells which

writing my own widget or use gtk provided widget?

2006-06-28 Thread Kathleen Yang
Hi experts, My group met a problem when writing our application. We'll implement 5 windows in the application and each window will contain some normal gtk widgets such as check buttons, textview, buttons, ... Now, we have two solutions: 1. Implementing each window as a new gtk widget 2. Just codin

File Selector Filter, directory only

2006-06-28 Thread Peter Robinson
Hi GTKlers, thanks to help from many people on this list I have nearly finished my very first GTK app...as opposed to Swing, GTK is something I like more the more I use it...there is one more question I have not been able to answer using the online docs. I would like to open a file selector dia

Re: Now, about gtk_tree's

2006-06-28 Thread John Coppens
On Wed, 28 Jun 2006 17:26:12 +0200 "simon kendall" <[EMAIL PROTECTED]> wrote: > Hi, > So, following the advice of converting the lists to trees, I started > changing all the functions into tree-oriented ones. I have a book on > the subject, and I read the section on trees as there is no > document

Now, about gtk_tree's

2006-06-28 Thread simon kendall
Hi, So, following the advice of converting the lists to trees, I started changing all the functions into tree-oriented ones. I have a book on the subject, and I read the section on trees as there is no documentation on gtk.org. Now, for every tree-related function I write my compiler says it's unde

Re: WG:_Toolbarbutton_nach_erstem_Betätigen_ina ktiv

2006-06-28 Thread ensonic
hi, at first this list is english :) regarding the problme, can it be suses qt theme engine for gtk? what happens if you start a gnome desktop and start your app there. Stefan On 12:54:32 pm 27/06/2006 Vallario Brigitte <[EMAIL PROTECTED]> wrote: > > > > -Ursprüngliche Nachricht- > >

Deselecting a GtkTreeView cell text right after editing started

2006-06-28 Thread Mardy
Hi all! By default, when a text cell in a GtkTreeView enters editing mode the cell contents gets selected. In my application I want to disable this behaviour, i.e. I don't want the text to be selected on field entry. Hence, I connected to the "editing-started" signal which is emitted right after

Re: GValue won't init inside hidden functions

2006-06-28 Thread Yeti
On Tue, Jun 27, 2006 at 08:33:55PM -0400, Philip Kovacs wrote: > I am using glib 2.10.3 at the moment with gcc 3.4.6 and glibc 2.3.6. > > I have noticed that issuing a g_value_init() on a GValue produces the error: > > GLib-GObject-WARNING **: gvalue.c:89: cannot initialize GValue with type > `g

GtkTreeView with cells editable on entry

2006-06-28 Thread Alberto Mardegan
Hi all! I have a single-column GtkTreeView widget in which all cells are editable, and I must let the user edit them without having to click twice (in the standard GtkTreeView, one click selects a cell, and another is needed to begin editing). More clearly stated, there must never be cells which

Re: GValue won't init inside hidden functions

2006-06-28 Thread John Cupitt
On 6/28/06, Philip Kovacs <[EMAIL PROTECTED]> wrote: > I have noticed that issuing a g_value_init() on a GValue produces the error: > > GLib-GObject-WARNING **: gvalue.c:89: cannot initialize GValue with type > `gpointer', the value has already been initialized as `(null)' > > whenever the function

Re: gdk_draw_pixbuf

2006-06-28 Thread 3saul
Ok it's working for me...too a point..I'm segfaulting on the expose event. Here's some code GdkPixbuf **background_pixbuf = NULL; GtkWidget **link_drawable; int i = 0; int total_s = 4; gboolean expose_event_callback (GtkWidget *widget, GdkEventExpose *event, gpointer data) { gdk_draw_pix

GValue won't init inside hidden functions

2006-06-28 Thread Philip Kovacs
I am using glib 2.10.3 at the moment with gcc 3.4.6 and glibc 2.3.6. I have noticed that issuing a g_value_init() on a GValue produces the error: GLib-GObject-WARNING **: gvalue.c:89: cannot initialize GValue with type `gpointer', the value has already been initialized as `(null)' whenever the

Re: Simple On-Screen Keyboard: Docked like panel

2006-06-28 Thread Michael Torrie
On Tue, 2006-06-27 at 18:58 +0100, Chris Jones wrote: > Thankyou, this would appear to be tricky using python unfortunately. I don't believe the language has anything to do with it. The examples might by in python, but the X11 WM hints are still done the same way in C or any other language. Sin