java-gnome-developer Mailing List for The java-gnome language bindings project (Page 31)
Brought to you by:
afcowie
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(37) |
Dec
(14) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(2) |
Feb
(20) |
Mar
(20) |
Apr
(8) |
May
|
Jun
(1) |
Jul
(6) |
Aug
(39) |
Sep
(37) |
Oct
(34) |
Nov
(50) |
Dec
(22) |
2002 |
Jan
(7) |
Feb
(13) |
Mar
(32) |
Apr
(16) |
May
(26) |
Jun
(20) |
Jul
(32) |
Aug
(7) |
Sep
(2) |
Oct
(11) |
Nov
(3) |
Dec
(35) |
2003 |
Jan
(11) |
Feb
(3) |
Mar
(8) |
Apr
(3) |
May
(11) |
Jun
(20) |
Jul
(11) |
Aug
(29) |
Sep
(13) |
Oct
(91) |
Nov
(185) |
Dec
(207) |
2004 |
Jan
(108) |
Feb
(171) |
Mar
(207) |
Apr
(113) |
May
(22) |
Jun
(53) |
Jul
(69) |
Aug
(43) |
Sep
(34) |
Oct
(182) |
Nov
(101) |
Dec
(61) |
2005 |
Jan
(86) |
Feb
(45) |
Mar
(106) |
Apr
(67) |
May
(70) |
Jun
(47) |
Jul
(19) |
Aug
(34) |
Sep
(24) |
Oct
(45) |
Nov
(20) |
Dec
(58) |
2006 |
Jan
(21) |
Feb
(21) |
Mar
(16) |
Apr
(24) |
May
(24) |
Jun
(47) |
Jul
(20) |
Aug
(8) |
Sep
(13) |
Oct
(7) |
Nov
(23) |
Dec
(2) |
2007 |
Jan
|
Feb
(14) |
Mar
(3) |
Apr
(11) |
May
(1) |
Jun
(15) |
Jul
(2) |
Aug
(5) |
Sep
(10) |
Oct
(5) |
Nov
(1) |
Dec
|
2008 |
Jan
|
Feb
(13) |
Mar
(13) |
Apr
(4) |
May
(2) |
Jun
(1) |
Jul
(5) |
Aug
(7) |
Sep
(2) |
Oct
(14) |
Nov
(11) |
Dec
(12) |
2009 |
Jan
(30) |
Feb
(4) |
Mar
(16) |
Apr
(9) |
May
(9) |
Jun
(7) |
Jul
(6) |
Aug
(3) |
Sep
(14) |
Oct
(8) |
Nov
(12) |
Dec
(9) |
2010 |
Jan
(4) |
Feb
(27) |
Mar
(6) |
Apr
(4) |
May
(3) |
Jun
(13) |
Jul
(6) |
Aug
(15) |
Sep
(15) |
Oct
(12) |
Nov
(11) |
Dec
(9) |
2011 |
Jan
(12) |
Feb
(11) |
Mar
|
Apr
(3) |
May
|
Jun
(3) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
(8) |
Nov
(1) |
Dec
|
2012 |
Jan
|
Feb
(10) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(6) |
Aug
(2) |
Sep
(7) |
Oct
(7) |
Nov
|
Dec
(4) |
2013 |
Jan
(8) |
Feb
(1) |
Mar
(1) |
Apr
(2) |
May
(3) |
Jun
(3) |
Jul
(16) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
2014 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Maciej P. <uzy...@gm...> - 2005-12-28 19:42:36
|
Tm93IGl0IGRvZW4ndCBtYXR0ZXIuCgpSZWdhcmRzCg== |
From: Maciej P. <uzy...@gm...> - 2005-12-28 10:35:59
|
SSd2ZSB0aGlzIGNvZGU6CiAgICAgcHJpdmF0ZSB2b2lkIHNob3dUcmVlVmlldygpIHsKICAgICAg ICAgIHdoaWxlKHRydWUpIHsKICAgICAgICAgICAgICAgVHJlZUl0ZXIgaXRlbSA9IGxpc3RTdG9y ZS5nZXRJdGVyKCIwIik7CiAgICAgICAgICAgICAgIGlmKGl0ZW0gPT0gbnVsbCkKICAgICAgICAg ICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICAgbGlzdFN0b3JlLnJlbW92ZVJvdyhpdGVt KTsKICAgICAgICAgIH0KCiAgICAgICAgICBJdGVyYXRvciBpID0gY2F0ZWdvcmllcy5pdGVyYXRv cigpOwogICAgICAgICAgd2hpbGUoaS5oYXNOZXh0KCkpIHsKICAgICAgICAgICAgICAgVHJlZUl0 ZXIgaXQgPSBsaXN0U3RvcmUuYXBwZW5kUm93KCk7CiAgICAgICAgICAgICAgIGxpc3RTdG9yZS5z ZXRWYWx1ZShpdCwKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChEYXRhQ29sdW1u U3RyaW5nKWNvbHVtbnNbMF0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAooKG9y Zy5keW5kbnMubW9qYXN0cm9uYS5iaWJsb2cuY29yZS5DYXRlZ29yeSlpLm5leHQoKSkuZ2V0TmFt ZSgpKTsKICAgICAgICAgIH0KICAgICB9CgpjYXRlZ29yaWVzIG1heSBjaGFuZ2Ugc2luY2UgbGFz dCBjYWxsIG9mIHRoaXMgZnVuY3Rpb24uCkhvdyBkbyBpdCB0byBub3QgcmVtb3ZlIHNlbGVjdGlv biBpZiB0aGUgc2VsZWN0ZWQgaXRlbSBpcyBzdGlsbCBpbiBsaXN0PwoKUmVnYXJkcy4K |
From: Laszlo <khi...@gm...> - 2005-12-27 15:15:10
|
2005-12-24, szo keltez=E9ssel 00.14-kor Joao Victor ezt =EDrta: > So, if anyone has any idea, put it out, even if it sounds absurd! :D > It's christmas time! On the screenshot page, would be really nice to have a link to the project's homepage. There are some projects, what is nearly impossible to find even with the aid of google. For example: Classpath Browser application [homepage], [shot1], [shot2] contacts [homepage], [shot1] If the project does not have a homepage, the link points the downloadable source (or webcvs link). I googled for the Classpath Browser, but didnt find the project's homepage. (anyway classpath and browser not really good worlds for google) Best regards, =20 Khiraly |
From: Lars W. <la...@di...> - 2005-12-25 15:38:46
|
Hi, > > While I'd like to make use of stock buttons because of translations, > > etc. I think I'd prefer to display buttons with text only. > > Assuming by "stock buttons" you mean those composed by either Button() > or LibGlade, the only thing I can think of that would avoid the icons > would be to delve into the button itself (buttons as generated by Glade > are composite widgets, look at the .glade file for hints of what to cast > to when descending the object graph), grab the label that GTK composed, > use that in the construction of a new Button, de-parent the old one, and > add the new one to whatever Box you were working with. wouldn't it in this case be easier to just get the GTK generated stock icon and hide() it? Anyway, doing it manually wouldn't really be worth the trouble in my opinion so I guess we'll go with using icons on buttons for now. In general I agree with tigert however that all those icons do more harm than good, so I would have liked to try doing without and perhaps providing an example of how this would lead to a more intuitive interface :) (Since our aim is to be cross-platform, the problem of UI-coherence only partially applies to us anyway.) But whatever... Regards, Lars |
From: Lars W. <la...@di...> - 2005-12-25 15:23:47
|
Hi all, is it not possible to call inherited methods in signal handlers specified in glade? For example, if I have a class Frame with a method doClose() and an instance of the class Preferences that inherits from Frame and acts as the owner of a glade-generated preferences window, is it not possible for me to specify doClose() as the handler for a signal in glade? Currently, when I try to do something like the above, I get the following: ListenerDelegate.fireEvent(org.gnu.gtk.event.ButtonEvent[source=org.gnu.gtk.Button@1bdc9d8,id=CLICK]): java.lang.IllegalAccessException: Class org.gnu.glade.ListenerDelegate can not access a member of class org.zentren.zinfo.ui.Frame with modifiers "public" java.lang.IllegalAccessException: Class org.gnu.glade.ListenerDelegate can not access a member of class org.zentren.zinfo.ui.Frame with modifiers "public" at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65) at java.lang.reflect.Method.invoke(Method.java:578) at org.gnu.glade.ListenerDelegate.fireEvent(ListenerDelegate.java:88) at org.gnu.glade.ListenerDelegate.fireEvent(ListenerDelegate.java:60) at org.gnu.glade.ButtonDelegate.buttonEvent(ButtonDelegate.java:20) at org.gnu.gtk.Button.fireButtonEvent(Button.java:306) at org.gnu.gtk.Button.handleClick(Button.java:316) at org.gnu.gtk.Gtk.gtk_main(Native Method) at org.gnu.gtk.Gtk.main(Gtk.java:54) at org.zentren.zinfo.ui.Viewer.main(Viewer.java:55) params:[Ljava.lang.Object;@1a918d5, ret:null Is there a nice way around this problem or do I need to provide methods like: public void doClose() { super.doClose(); } ? Regards, Lars |
From: Joao V. <jv...@gm...> - 2005-12-24 02:14:51
|
Yes, yes, good suggestions... i've been thinking too about how those pages are so confusing. So, if anyone has any idea, put it out, even if it sounds absurd! :D It's christmas time! Cheers, J.V. 2005/12/23, Andrew Cowie <an...@op...>: > On Fri, 2005-23-12 at 14:52 +0000, Joao Victor wrote: > > I'm thinking about making a couple of little changes in the website > > soon. Do you have any suggestions in mind? Yes? Let the world know! > > Only since you ask.... my opinion only, humble or otherwise: > > > 1) I think it would be great if the top left link under the logo > redirected to the primary home page, ie directly to > > http://java-gnome.sourceforge.net/cgi-bin/bin/view/Main/ > > rather than being http://java-gnome.sourceforge.net/ -> > http://java-gnome.sf.net -> > http://java-gnome.sourceforge.net/cgi-bin/bin/view/ ... all those > redirects cause a lot of delay loading the site and/or returning to the > home page. It's ... bad form ... the way it is now. > > > 2) It would be AWESOME if someone could work out the mod_rewrite logic > to Rewrite from > > http://java-gnome.sourceforge.net/cgi-bin/bin/view/Main/ > to > http://java-gnome.sourceforge.net/ > > and so deep pages would be cleaner, ie > http://java-gnome.sourceforge.net/cgi-bin/bin/view/Main/WebsiteEditing > really ought to be just > http://java-gnome.sourceforge.net/WebsiteEditing > > > 3) Notwithstanding #2, why do all the pages have /Main/ in them? ie, > > http://java-gnome.sourceforge.net/cgi-bin/bin/view/Main/JavaGnomeApplicat= ions > ^^^^ > > 4) We *really* need to clean up the downloads, sources, and application > pages. They are confusing, and don't show us in a good light. Perhaps > I'll do them up as a Christmas present. > > AfC > Sydney |
From: Andrew C. <an...@op...> - 2005-12-24 01:57:18
|
On Fri, 2005-23-12 at 14:52 +0000, Joao Victor wrote: > I'm thinking about making a couple of little changes in the website > soon. Do you have any suggestions in mind? Yes? Let the world know! Only since you ask.... my opinion only, humble or otherwise: 1) I think it would be great if the top left link under the logo redirected to the primary home page, ie directly to=20 http://java-gnome.sourceforge.net/cgi-bin/bin/view/Main/=20 rather than being http://java-gnome.sourceforge.net/ -> http://java-gnome.sf.net -> http://java-gnome.sourceforge.net/cgi-bin/bin/view/ ... all those redirects cause a lot of delay loading the site and/or returning to the home page. It's ... bad form ... the way it is now. 2) It would be AWESOME if someone could work out the mod_rewrite logic to Rewrite from http://java-gnome.sourceforge.net/cgi-bin/bin/view/Main/ to=20 http://java-gnome.sourceforge.net/ and so deep pages would be cleaner, ie=20 http://java-gnome.sourceforge.net/cgi-bin/bin/view/Main/WebsiteEditing really ought to be just http://java-gnome.sourceforge.net/WebsiteEditing 3) Notwithstanding #2, why do all the pages have /Main/ in them? ie,=20 http://java-gnome.sourceforge.net/cgi-bin/bin/view/Main/JavaGnomeApplicatio= ns ^^^^ 4) We *really* need to clean up the downloads, sources, and application pages. They are confusing, and don't show us in a good light. Perhaps I'll do them up as a Christmas present. AfC Sydney |
From: Joao V. <jv...@gm...> - 2005-12-23 14:52:08
|
I'm thinking about making a couple of little changes in the website soon. Do you have any suggestions in mind? Yes? Let the world know! Cheers, J.V. |
From: Joao V. <jvi...@ya...> - 2005-12-23 14:47:38
|
If i'm not wrong, someone (i think Tigert, from Gimp) recently blogged about what he thought about icons in those buttons (he thinks it's a mistake), and he posted some trick you could use to disable stock buttons in all Gtk apps. But i don't think there's an easy way to disable only in your app, unless you do something like what Andrew said. Cheers, J.V. --- Lars Weber <la...@di...> escreveu: > Hi there, > > does anyone here know of an easy way to disable the display of icons for > stock buttons? > > While I'd like to make use of stock buttons because of translations, > etc. I think I'd prefer to display buttons with text only. > > Regards, > Lars _______________________________________________________ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html |
From: Manuel C. <ll...@us...> - 2005-12-23 08:04:37
|
Hi Damian, You first need to catch the "editing-started", there you will be able to manage the Editable and provide a ComboBox. But you need to do all the work I think. Hope this helps. Damian Minkov wrote: > How can be made a searchable ComboBox (ComboboxEntry and Combo in > Treeview) ? |
From: Andrew C. <an...@op...> - 2005-12-23 02:21:12
|
On Thu, 2005-22-12 at 16:21 +0100, Lars Weber wrote: > While I'd like to make use of stock buttons because of translations, > etc. I think I'd prefer to display buttons with text only. Assuming by "stock buttons" you mean those composed by either Button() or LibGlade, the only thing I can think of that would avoid the icons would be to delve into the button itself (buttons as generated by Glade are composite widgets, look at the .glade file for hints of what to cast to when descending the object graph), grab the label that GTK composed, use that in the construction of a new Button, de-parent the old one, and add the new one to whatever Box you were working with. For an example, see lines 234 to 268 of TestControlWindow.java in xseq: http://research.operationaldynamics.com/source/darcsweb/?r=xseq;a=headblob;f=/tests/xseq/ui/TestControlWindow.java I haven't been able to work on that code for a while now, but I remember how nasty that was to figure out. [You can run the program that contains that code if you want to see it in action, goto http://research.operationaldynamics.com/projects/xseq/ for download instructions] For what it's worth, I wouldn't say that trying to do this is such a terribly bright idea. For one it's really finicky tricky code (I've had to do something like this before and it's a pain because you have to "know" what the subordinate (HBox, Image, Label) ordering is. More importantly, at least some of the point of the Desktop is user interface coherence and so you're explicitly loosing something if the "close" button doesn't have the icon on it that every other "close" button on the desktop has. [OpenOffice and Eclipse are notable for missing the icons since they are faking the themes with their cross platform widget sets, with the result that it just doesn't look quite right] AfC Sydney |
From: Damian M. <da...@sp...> - 2005-12-22 15:25:51
|
How can be made a searchable ComboBox (ComboboxEntry and Combo in Treeview) ? |
From: Lars W. <la...@di...> - 2005-12-22 15:21:27
|
Hi there, does anyone here know of an easy way to disable the display of icons for stock buttons? While I'd like to make use of stock buttons because of translations, etc. I think I'd prefer to display buttons with text only. Regards, Lars |
From: Joao V. <jvi...@ya...> - 2005-12-22 14:55:52
|
--- Remy Suen <rem...@gm...> escreveu: > > [...] > By all means, you're certainly more than welcome to if you > wish. I wrote it back aroun mid-April in hopes of helping at least one > person out with Glade. I guess I now have a confirmation that that's > been fulfilled. :) Yeah, go ahead! Translate it and send it to me and i'll put it on the website. Also, if later you wish to write about more stuff, you're welcome. The whole JG website is a Wiki, so to write/edit anything you just need to subscribe here: http://java-gnome.sourceforge.net/cgi-bin/bin/view/TWiki/TWikiRegistration And there you go. Also feel free to come by at irc.gimp.net at #java-gnome and talk about java, gnome, glade, wiki, christmas, AfC's travels (kidding), etc... Cheers, J.V. _______________________________________________________ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html |
From: Remy S. <rem...@gm...> - 2005-12-20 17:29:16
|
> Thanks a lot, guys!!! My simple application works as I want now! > For Adam: I want to associate each form to a class, so I can managed > them with "structured" sense, you know; thanks however for the > trik :-) . If the java-gnome community wants, when useful, I whis to > translate the glade tutorial in Italian, just few days... By all means, you're certainly more than welcome to if you wish. I wrote it back aroun mid-April in hopes of helping at least one person out with Glade. I guess I now have a confirmation that that's been fulfilled. :) You'll need to contact someone with rights to our sourceforge server once you're done to get it uploaded, that would probably be Joao Victor. Please don't hesitate to ask any other questions through the mailing list or to talk with some of us directly at #java-gnome on irc.gimp.net. Good luck! Regards, Rem |
From: basquale\.fersini\@libero\.it <bas...@li...> - 2005-12-20 15:15:22
|
Il giorno mar, 20/12/2005 alle 09.44 -0500, Adam Jocksch ha scritto: Scott J. Harmon wrote: > > >bas...@li... wrote: > > > > > >>Il giorno mar, 20/12/2005 alle 10.11 +1100, Andrew Cowie ha scritto: > >>On Mon, 2005-19-12 at 22:33 +0100, bas...@li... wrote: > >> > >>Thanks Andrew, but I have another thing to understand. In particular,= when I load the glade file with > >> > >>LibGlade glade =3D new LibGlade("foo.glade", this); > >> > >>and launch the main, ALL forms are displayed! What about if I want to= load a single form when I pressed a button? Are forms managed in the sa= me class file? > >> > >> > >> > > > >Try the other constructor, which allows you to specify the window: > >LibGlade gladeMain =3D new LibGlade("foo.glade", this, "main"); //Load= s main > > > >LibGlade gladeMain =3D new LibGlade("foo.glade", this, "search"); //Lo= ads > >search > > > >LibGlade gladeMain =3D new LibGlade("foo.glade", this, "about"); //Loa= ds about > > > >Scott. > > > > > As another alternative you can set all the windows to not be visible in= > glade, and then that way they will stay hidden until you explicitly sho= w > them. > > Adam Thanks a lot, guys!!! My simple application works as I want now! For Adam: I want to associate each form to a class, so I can managed them= with "structured" sense, you know; thanks however for the trik :-) . If the java-gnome community wants, when useful, I whis to translate the g= lade tutorial in Italian, just few days... Bye, Pas. |
From: Adam J. <ajo...@re...> - 2005-12-20 14:45:42
|
Scott J. Harmon wrote: >bas...@li... wrote: > > >>Il giorno mar, 20/12/2005 alle 10.11 +1100, Andrew Cowie ha scritto: >>On Mon, 2005-19-12 at 22:33 +0100, bas...@li... wrote: >> >>Thanks Andrew, but I have another thing to understand. In particular, when I load the glade file with >> >>LibGlade glade = new LibGlade("foo.glade", this); >> >>and launch the main, ALL forms are displayed! What about if I want to load a single form when I pressed a button? Are forms managed in the same class file? >> >> >> > >Try the other constructor, which allows you to specify the window: >LibGlade gladeMain = new LibGlade("foo.glade", this, "main"); //Loads main > >LibGlade gladeMain = new LibGlade("foo.glade", this, "search"); //Loads >search > >LibGlade gladeMain = new LibGlade("foo.glade", this, "about"); //Loads about > >Scott. > > As another alternative you can set all the windows to not be visible in glade, and then that way they will stay hidden until you explicitly show them. Adam |
From: Scott J. H. <ha...@ks...> - 2005-12-20 13:35:41
|
bas...@li... wrote: > Il giorno mar, 20/12/2005 alle 10.11 +1100, Andrew Cowie ha scritto: > On Mon, 2005-19-12 at 22:33 +0100, bas...@li... wrote: > >>>how can I load a particular >>>form, defined in my foo.glade, in which there are three forms (main, >>>search, about)? >> >> >>LibGlade glade = new LibGlade("foo.glade", this); >>.. >>Window mainForm = (Window) glade.getWidget("main"); >>Window searchForm = (Window) glade.getWidget("search"); >>Window aboutForm = (Window) glade.getWidget("about"); >> >>AfC >>Sydney >> > > > Thanks Andrew, but I have another thing to understand. In particular, when I load the glade file with > > LibGlade glade = new LibGlade("foo.glade", this); > > and launch the main, ALL forms are displayed! What about if I want to load a single form when I pressed a button? Are forms managed in the same class file? > Try the other constructor, which allows you to specify the window: LibGlade gladeMain = new LibGlade("foo.glade", this, "main"); //Loads main LibGlade gladeMain = new LibGlade("foo.glade", this, "search"); //Loads search LibGlade gladeMain = new LibGlade("foo.glade", this, "about"); //Loads about Scott. -- "Computer Science is no more about computers than astronomy is about telescopes." - Edsger Dijkstra |
From: basquale\.fersini\@libero\.it <bas...@li...> - 2005-12-20 10:26:48
|
Il giorno mar, 20/12/2005 alle 10.11 +1100, Andrew Cowie ha scritto: On Mon, 2005-19-12 at 22:33 +0100, bas...@li... wrote: > > how can I load a particular > > form, defined in my foo.glade, in which there are three forms (main, > > search, about)? > > > LibGlade glade =3D new LibGlade("foo.glade", this); > .. > Window mainForm =3D (Window) glade.getWidget("main"); > Window searchForm =3D (Window) glade.getWidget("search"); > Window aboutForm =3D (Window) glade.getWidget("about"); > > AfC > Sydney > Thanks Andrew, but I have another thing to understand. In particular, whe= n I load the glade file with LibGlade glade =3D new LibGlade("foo.glade", this); and launch the main, ALL forms are displayed! What about if I want to loa= d a single form when I pressed a button? Are forms managed in the same c= lass file? ThanXyou in advance, Pas. |
From: Andrew C. <an...@op...> - 2005-12-19 23:11:45
|
On Mon, 2005-19-12 at 22:33 +0100, bas...@li... wrote: > how can I load a particular > form, defined in my foo.glade, in which there are three forms (main, > search, about)? LibGlade glade =3D new LibGlade("foo.glade", this); ... Window mainForm =3D (Window) glade.getWidget("main"); Window searchForm =3D (Window) glade.getWidget("search"); Window aboutForm =3D (Window) glade.getWidget("about"); AfC Sydney --=20 Andrew Frederick Cowie Managing Director Operational Dynamics Consulting Pty Ltd http://www.operationaldynamics.com/ Management Consultants specializing in strategy, organizational architecture, procedures to survive change, and performance hardening for the people and systems behind the mission critical enterprise. Worldwide: Sydney +61 2 9977 6866 New York +1 646 472 5054 Toronto +1 416 848 6072 London +44 207 1019201 |
From: basquale\.fersini\@libero\.it <bas...@li...> - 2005-12-19 21:34:05
|
Hi all, i'm new here. I've just a question for you: how can I load a particular form, defined in my foo.glade, in which there are three forms (main, search, about)? Can someone give me an exaple? Thanks in advance, Pas. |
From: <bur...@gm...> - 2005-12-14 18:30:53
|
QXMgQWRhbSBKb2Nrc2NoIHNhaWQsIGkgd3JvdGUgLURqYXZhLmxpYnJhcnkucGF0aD0vdXNyL2xp YiBhcyBhIHZtCnZhci4gVGhhbmsgeW91IHZlcnkgbXVjaCBBZGFtIDopCgpOb3csIGFsdGhvdWdo IC91c3IvbGliL2xpYmd0a2puaS0yLjYuc28gZXhpc3RzLCBpdCBzYXlzOgoKRXhjZXB0aW9uIGlu IHRocmVhZCAibWFpbiIgamF2YS5sYW5nLlVuc2F0aXNmaWVkTGlua0Vycm9yOgovdXNyL2xpYi9s aWJndGtqbmktMi42LnNvOiAvdXNyL2xpYi9saWJndGtqbmktMi42LnNvOiB1bmRlZmluZWQKc3lt Ym9sOiBhdGtfcmVsYXRpb25fYWRkX3RhcmdldAoKV2hhdCBjb3VsZCBiZSB0aGUgcHJvYmxlbT8K ClRoYW5rcyBpbiBhZHZhbmNlLgoKCk9uIDEyLzE0LzA1LCBCdXJhayDDh2VsZWJpIDxidXJha2Nl bGViaUBnbWFpbC5jb20+IHdyb3RlOgo+IEhpLAo+Cj4gSSBhbSBncmVlbiB0byBqYXZhLWdub21l IGFuZCBhIGRlYmlhbiBzYXJnZSB1c2VyLiBJIHVzZSBzdW4ncyBqZGsoMS41KQo+Cj4gSSBmb2xs b3cgdGhlIGluc3RydWN0aW9ucyBvbiBkb3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FJ1bnRp bWUuamF2YTo4MjIpCglhdCBqYXZhLmxhbmcuU3lzdGVtLmxvYWRMaWJyYXJ5KFN5c3RlbS5qYXZh Ojk5MikKCWF0IG9yZy5nbnUuZ3RrLkd0ay48Y2xpbml0PihHdGsuamF2YToxODcpCglhdCB0ay5i dXJha2NlbGViaS5oY2kuU2ltcGxlLm1haW4oU2ltcGxlLmphdmE6MjApCgoKCi0tCkJ1cmFrIENF TEVCSSAtIGh0dHA6Ly9idXJha2NlbGViaS50awo= |
From: Manuel C. <ll...@us...> - 2005-12-13 20:11:38
|
Hi, Don't take my word on this, but perhaps it can help you. In GTK C you would do gtk_tree_view_column_set_cell_data_func () http://developer.gnome.org/doc/API/2.0/gtk/GtkTreeViewColumn.html#gtk-tree-view-column-set-cell-data-func It seems this is not wrapped yet. The only events you can catch in the CellRenderer are "editing-started", "editing-canceled" and "edited", so a Listener won't help you either. So perhaps the simplest solution at the moment, is that you create a DataColumnString along with the DataColumnDouble, so you save the double value in the double column and save the formatted text in the string column. Then just show the formatted text column instead of the double column. Use the editing-started and edited events to format the text for editing and for keeping the DataColumnDouble up to date in case you make the CellRenderer editable. Hope this helps. See you. Damian Minkov wrote: > I'm using Treeview and a DoubleColumn in it. > I want to format the numbers to be 2 digits after the point. > > Any suggestions ? |
From: Manel C. <ma...@ia...> - 2005-12-13 19:40:35
|
Hi, Don't take my word on this, but perhaps it can help you. In GTK C you would do gtk_tree_view_column_set_cell_data_func () http://developer.gnome.org/doc/API/2.0/gtk/GtkTreeViewColumn.html#gtk-tree-view-column-set-cell-data-func It seems this is not wrapped yet. The only events you can catch in the CellRenderer are "editing-started", "editing-canceled" and "edited", so a Listener won't help you either. So perhaps the simplest solution at the moment, is that you create a DataColumnString along with the DataColumnDouble, so you save the double value in the double column and save the formatted text in the string column. Then just show the formatted text column instead of the double column. Use the editing-started and edited events to format the text for editing and for keeping the DataColumnDouble up to date in case you make the CellRenderer editable. Hope this helps. See you. Damian Minkov wrote: > I'm using Treeview and a DoubleColumn in it. > I want to format the numbers to be 2 digits after the point. > > Any suggestions ? -- Manel Clos ma...@ia... www.iagrup.com |