FileChooserButton set_filename doesn't work as expected

2012-01-17 Thread Oleg Ivanenko
Hi, all!

I have small gtk2-perl application where I try to change currently
selected file name of FileChooserButton widget.

Everything going fine, set_filename returns TRUE, until I have changed
file name manually opening dialog. Does'nt matter what I selecting in
dialog.  After that I can't change file name programmatically and
set_filename method always sets caption as '(None)',  returns FALSE
inspite of neccessary file exists and was successfully used for this
purpose before.

Can anybody help me with this issue? What I am doing wrong?

-- 
Truly yours, Oleg Ivanenko
[if it wasn't so sad, it would be funny]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Some questions about GtkTreeView

2011-12-23 Thread Oleg Ivanenko
Hi, all!

I trying to make small gtk-application with gtk2-perl(
http://bazaar.launchpad.net/~oivanenko/photostock-helper/db-gladeless/files)
and now I have some questions about GtkTreeView behavior:

1. How I can select range of arbitrary cells, but not rows in TreeView? Can
I even do this? What methods I should use for this?
2. How I can prevent changing TreeView cursor under some circumstances? I
know about 'cursor-changed' signal but it fires when cursor already
changed. I want make some things before.

Can somebody help me, please?

-- 
Truly yours, Oleg Ivanenko
[if it wasn't so sad, it would be funny]
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list