[Glade-users] selected row



Hi all,=20

thanks for all the ideas, I ended up solving it by just setting a fixed si=
ze to the buttons that were giving me the error.  I found changing the XML=
 a bit to "aggressive" and having a different interfaces.c a bit too impro=
ductive, since I'm not yet near the end of the program....
Well diff programming styles i guess ;)

I got another doubt though.  I got a list (GtkStore), where I show some da=
ta.
I wanted to show the properties of a highlighted list item on the click of=
 a button.  To do that I need to get some reference to the highlighted row=
, but I can't find the right signal to it..  =20

row=5Factivated is only called when I double-lick the row, cursor=5Fchanged is=
 only activated when I change the row with the arrow keys, and couldn't fi=
gure out yet what toggle=5Fcursor=5Frow does..=20

spent some time in Gtk API looking for some "get=5Fselected=5Frow" without suc=
cess...  I think the answer might be on the Iterators, but couldn't yet fi=
nd it...

anyone got a shortcut=3F

tks,
G=FCnther.


John Coppens <john jcoppens com> schrieb am 28.08.03 00:23:04:
=20
On Wed, 27 Aug 2003 16:25:38 +0200
"G=FCnther Mittermayer" <g=5Fmitter web de> wrote:
=20
Hi all,
=20
I am getting the following message:
=20
Gtk-CRITICAL **: file gtkwidget.c: line 5140
(gtk=5Fwidget=5Fset=5Fsize=5Frequest): assertion 'height >=3D-1' failed
=20
looking on the web, it seems that that is a commo glade-2 problem (gla=
de
seems to place some sizes wrongly), but I'm not sure on how to fix it.=

Some talk about hard coding in interfaces.c, but that doesn't seem to
make any sense to me, since glade will overwrite it any way..
=20
any suggestions=3F
=20
It is a glade error. Edit interface.c (near the end of development,
because it gets rewritten after each change made with Glade), and change=

the -2's to -1. That should fix it.
=20
Someone mentioned he wrote a script to do this automatically.
=20
John
=20
=20
thanks,
=20
G=FCnther.
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F
=5F=5F=5F Die sicherste Form der Kommunikation: E-Mails verschluesseln,
Spam-Filter, Adressverifizierung, digitale Unterschrift:
http://freemail.web.de
=20
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
Glade-users maillist - Glade-users lists ximian com
http://lists.ximian.com/mailman/listinfo/glade-users
=20
=20
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
Glade-users maillist - Glade-users lists ximian com
http://lists.ximian.com/mailman/listinfo/glade-users


=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=

Die sicherste Form der Kommunikation: E-Mails verschluesseln, Spam-Filter,=

Adressverifizierung, digitale Unterschrift: http://freemail.web.de





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]