Set text on GtkImageMenuItem

2007-01-30 Thread Felipe Weckx
Hi everyone,

I create a GtkImageMenuItem with gtk_image_menu_item_new_with_label and
then add the image later. The problem is: I have to change the text and
image during execution time, the image is easily changeable with
gtk_image_menu_item_set_image, but I don't see anything similar to
change the text on the label. Is it possible or I've to create a new
GtkImageMenuItem and replace the old one?

[]'s

Felipe Weckx

___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Set pane position on application startup

2006-06-28 Thread Felipe Weckx
Hi everyone,

I've an application that saves the pane gutter position when it
finishes, so when it is started it can set the position where it was
previously. However, when I start the application the gutter doesn't go
where I want to... but, if I call the procedure after the app is
running, it goes to the right place, I've tried running this function
through g_idle_add on the main program, but it doesn't work either...
any ideas?


-- 
[]'s

Felipe Weckx

___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: GtkList

2004-03-22 Thread Felipe Weckx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
You should use GtkTreeView combined with GtkListStore or GtkTreeStore

[]'s

Felipe Weckx

Luiz Rafael Culik Guimaraes wrote:
| Dear Friends
|
| on gtk 2 the GtkList is not suggested to use on new code
| what i should use on it place
|
| Regards
| Luiz
|
| ___
| gtk-list mailing list
| [EMAIL PROTECTED]
| http://mail.gnome.org/mailman/listinfo/gtk-list
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iQCVAwUBQF92087MM0dz1fNPAQKKyQP/X6pXn4zewe5vhNGlG3OgrfJ2vPMC9/B5
hw/bcxSmRYOmAddZrpO2+B8iv1ULrj4vO2wsCR5ks6BMGu5QH7cPKJaNzPB5Nkzf
IAzo0BTZ36ODtIGxCpRHH/JuZbpX91ExgqSE22lCawUc8dhxBVsXITzQ2gLM4D/5
XCkFsNx7MSU=
=Fhy4
-END PGP SIGNATURE-
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Scroll to the end of a TextView

2004-03-04 Thread Felipe Weckx
Hi everyone,

Here's the deal: the program receives a string and show it on a TextView 
, that's OK, but I have to scroll the view to end of the text, I tried 
using gtk_text_buffer_get_end_iter and gtk_text_view_scroll_to_iter, but 
 it only scrolls to beginning of the text I've just inserted, so if it 
has more than one line, it doesn't scrolls to the end.

Does anyone knows how to scroll to the end of the text?

--

[]'s

Felipe Weckx
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list