César Leonardo Blum Silveira wrote:
Thanks for your answer!
So, as my app is a Glade app, I can use that lookup_widget() function
you mentioned? Otherwise I would use your function :-)
That's correct. For fully Glade-built UIs both functions are usable.
Mine is just a more generic version
hey eveyone,
This may sound really stupid.
but what is the easiest way to obtain the GtkTreeIter of a newly created
row?
I have a function which adds 2 or more rows but the second and subsequent rows
must be a child of the one before..
all the nodes are based on the path to a file..
ie /home
On Mon, 2005-10-24 at 22:53 +1300, Dennis Morgan wrote:
hey eveyone,
This may sound really stupid.
but what is the easiest way to obtain the GtkTreeIter of a newly created
row?
When you add a row with gtk_tree_store_append or cousins, the
GtkTreeIter is stored in the variable you pass to
hey eveyone,
This may sound really stupid.
but what is the easiest way to obtain the GtkTreeIter of a newly created
row?
When you add a row with gtk_tree_store_append or cousins, the
GtkTreeIter is stored in the variable you pass to it as second
parameter. It's a return value.
On Tue, 2005-10-25 at 00:06 +1300, Dennis Morgan wrote:
[snip]
I have a function which adds 2 or more rows but the second and subsequent
rows must be a child of the one before..
all the nodes are based on the path to a file..
ie /home / someuser/ whateva
^
Hi all,
I have a custom GtkFileFilter, some check buttons in the
GtkFileChooserDialog affect the filtering.
However, after one of the checkboxes have been changed, the
GtkFileChooser widget has to refilter (my custom filter func will return
a different value). How do I do that??
I've tried to
Hi,
I'm trying without success to implement cat /tmp/file.cpio | cpio -tv
with g_spawn family and giochannels. My code is to use
g_spawn_async_with_pipes with both input and output pipes the cpio
-tv command and then I open in read mode the binary cpio archive (I
don't spawn cat just use
Colossus wrote:
Hi,
I'm trying without success to implement cat /tmp/file.cpio | cpio -tv
with g_spawn family and giochannels. My code is to use
g_spawn_async_with_pipes with both input and output pipes the cpio
-tv command and then I open in read mode the binary cpio archive (I
don't
On Sat, 2005-10-22 at 11:49, César Leonardo Blum Silveira wrote:
Hello all,
I have a few doubts about the way I code my GTK applications. One of
them is: Is it ok to use many global variables for the widgets? For
example, in a glade app where callbacks are of the form
void
On Mon, 2005-10-24 at 15:20 +0200, Olivier Sessink wrote:
Hi all,
I have a custom GtkFileFilter, some check buttons in the
GtkFileChooserDialog affect the filtering.
However, after one of the checkboxes have been changed, the
GtkFileChooser widget has to refilter (my custom filter func
I've successfully used memprof for leak-checking my app in the past,
but on trying it recently something odd happens: memprof starts up
OK, and it also starts up the target program, but the target program
is not visible (doesn't appear on screen) and memprof records no
memory usage.
I tried
I know it is a silly question, but How can I know the number of rows are in
a treeview?
Thank you
Jorge Monsalvo
Argentina
___
1GB gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del
Jorge Monsalvo wrote:
I know it is a silly question, but How can I know the number of rows are in
a treeview?
Use gtk_tree_model_iter_n_children() passing NULL as the iter.
http://developer.gnome.org/doc/API/2.0/gtk/GtkTreeModel.html#gtk-tree-model-iter-n-children
--
I kissed my first girl
Allin Cottrell wrote:
I've successfully used memprof for leak-checking my app in the past,
but on trying it recently something odd happens: memprof starts up
OK, and it also starts up the target program, but the target program
is not visible (doesn't appear on screen) and memprof records
Tristan Van Berkom wrote:
Every widget callback comes with a user_data argument,
and you can pass the desired data through that argument
(which is just as fast as using a global variable and is
just as clean as using a lookup_widget type of routine).
Right. However, if you want your signal
Gus Koppel wrote:
Tristan Van Berkom wrote:
Every widget callback comes with a user_data argument,
and you can pass the desired data through that argument
(which is just as fast as using a global variable and is
just as clean as using a lookup_widget type of routine).
Right. However, if
On Mon, 24 Oct 2005, Gus Koppel wrote:
Allin Cottrell wrote:
I've successfully used memprof for leak-checking my app in the past,
but on trying it recently something odd happens: memprof starts up
OK, and it also starts up the target program, but the target program
is not visible (doesn't
On 10/17/05, Tristan Van Berkom [EMAIL PROTECTED] wrote:
Premsagar C wrote:
I am using gtk to develop a control interface. Am a bit new to this.
BAsically I am acquiring data using some library functions and
dispalying them in 6 text boxes . When i click on the bacq function
this
18 matches
Mail list logo