IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1825.51 MB
Powered by
Channel Info
Network: freenodeChannel: #gtk |
Search in www.irclog.org
Log from #gtk at freenode 2006-05-26
Pages: 1
[21:42]<mjgrvjre>hi
[21:43]<mjgrvjre>can anyone tell me how to add a menu to a menu bar in gtk2?
[21:44]<mjgrvjre>I am using perl bindings and I have tried
[21:44]<mjgrvjre>to ->append() it but it did not work
[21:44]<zj22gz_2zzjg>http://personal.riverusers.com/~swilhelm/gtkperl-tutorial/menu.html
[21:45]<zj22gz_2zzjg>there is a good example at the end of that page that should help
[21:45]<mjgrvjre>thx, I'll read it now
[21:55]<mjgrvjre>thank you
[21:56]<mjgrvjre>I had been using an analogous tutorial
[21:56]<mjgrvjre>which had a lot missing
[21:56]<mjgrvjre>this one seems to be the same but way more complete
[22:03]<zj22gz_2zzjg>yeah the hardest aspect of programming is incomplete/missing documentation
[22:03]<zj22gz_2zzjg>a scourge of even the FOSS world
[22:28]<gfvgfygm>hi. I was wondering. Is it possible to embed a xterm in a gtk2 application. not vte or anything else but the real xterm (or aterm etc.) ?
[22:30]<edydf>elvelind: you can use gtk_socket and stuff
[22:30]<edydf>you can embed everytinh
[22:31]<gfvgfygm>elvelind: okey. thanks
[22:31]<edydf>for example konqueror: :-D
[22:31]<edydf>http://emiml.ath.cx/zrzuty-ekranu/embed2.gif
[22:41]<gfvgfygm>you dont happend to have the code for that one do you? :P
[22:43]<edydf>there is no big code for that
[22:43]<edydf>i just passed window_id to gtk_socket_steal and thats all
[22:45]<gfvgfygm>oh
[22:45]<zj22gz_2zzjg>is there documentation for gtk_socket?
[22:46]<-- dvxn|syzzzyus xzs>http://www.bagdadsoftware.de")
[22:48]<edydf>yea, sure
[22:53]<zj22gz_2zzjg> awesome, didn't know that existed
[22:56]<edydf>same as me. I found it few days ago :-D
[23:27]<mjgrvjre>Hi there
[23:27]<mjgrvjre>My radio buttons are taking far too much vertical space
[23:27]<mjgrvjre>how can I restrain it?
[23:27]<mjgrvjre>theyre insede a hbox
[23:27]<mjgrvjre>should I restrain the box's size?
[23:28]<mjgrvjre>*inside
[23:36]<dgvggg>how can you check if a gtk widget is currently visible (not hidden)
[23:41]<edydf>metzen: there is a macro GTK_WIDGET_VISIBLE()
[23:41]<edydf> Evaluates to TRUE if the widget is visible.
[23:45]<zyrym>how can one make a widget temporarily not receive/process any signals/callbacks?
[23:45]<zyrym>i found g_signal_block() but where should i get the signal_id from? i only know signal "clicked" ...
[23:46]<edydf>rigid: you should use gtk_widget_set_sensitive ()
[23:47]<zyrym>Emiml, i'll try that
[23:54]<zyrym>Emiml, it doesn't seem to work with gtk_spin_button_set_value() ... the changed-callback still get's called...
[23:56]<zyrym>Emiml, can't i just block all "changed" signals for a while?
[23:57]<edydf>I think that this is what set_senstive does
Pages: 1







