Re: Callback based tooltips (Re: New tooltips API, continued)

2006-04-11 Thread Kristian Rietveld
Tim Janik wrote: reading your proposal for the first time (both versions of it), i can't help the feeling that it seems a bit complicated (with nesting tip areas etc.) at least from a widget user perspective. i'm wondering if a callback based approach wouldn't ease the whole setup a lot, so

Re: selected text is PRIMARY?

2006-04-11 Thread Xavier Bestel
Hi, On Mon, 2006-04-10 at 22:48, Yevgen Muntyan wrote: I actually doubt that if you have two selections with same colors and everything, then it will cause troubles. Yes, you are not able to tell which one will get pasted. But how often does it happen, that you select some text, have a cup of

GTK+ IRC team meeting

2006-04-11 Thread Matthias Clasen
lets do one this week, after last weeks break. The meeting is intended for the GTK+ team, but everybody is welcome to come and listen. The meeting logs will be posted on the GTK+ website (http://www.gtk.org/plan/meetings). Place: irc.gnome.org:#gtk-devel Time: 19:30 UTC (15:30 EDT), Tue,

Re: GTK 64-bits and Windows

2006-04-11 Thread Tor Lillqvist
Philippe Morange writes: Do you think porting the latest GTK version in 64-bits under Windows is feasible ? I have no idea... I have never even run 64-bit Windows... We tried with GTK 1.2.x (I know, real old !!!), but the windows port of GTK uses external Dlls that I can't find in

Re: selected text is PRIMARY?

2006-04-11 Thread Joachim Noreiko
Date: Tue, 11 Apr 2006 10:11:28 +0200 From: Xavier Bestel [EMAIL PROTECTED] On Mon, 2006-04-10 at 22:48, Yevgen Muntyan wrote: I actually doubt that if you have two selections with same colors and everything, then it will cause troubles. Yes, you are not able to tell which one will get

Re: Win32 - handling mainloop while showing modal comon controls

2006-04-11 Thread Charles Reilly
The idea seems sound, but I think you could maybe change it a bit so it would work for other common dialogs, without the need for a hook function. At the moment, you post the GDK_WIN32_GOT_EVENTS message to the print dialog and you use a print dialog hook function to catch the message and pump

Re: selected text is PRIMARY?

2006-04-11 Thread Yevgen Muntyan
Xavier Bestel wrote: Hi, On Mon, 2006-04-10 at 22:48, Yevgen Muntyan wrote: I actually doubt that if you have two selections with same colors and everything, then it will cause troubles. Yes, you are not able to tell which one will get pasted. But how often does it happen, that you select

Re: Gtk+ Recent files updates

2006-04-11 Thread Murray Cumming
The GtkRecentFilterInfo struct should be registered as a boxed type, ideally with a copy function, so it can be used more easily by language bindings. -- Murray Cumming [EMAIL PROTECTED] www.murrayc.com www.openismus.com ___ gtk-devel-list mailing

Re: Gtk+ Recent files updates

2006-04-11 Thread Emmanuele Bassi
Hi Murray, On Tue, 2006-04-11 at 22:18 +0200, Murray Cumming wrote: On Tue, 2006-04-11 at 21:28 +0200, Emmanuele Bassi wrote: Hi Murray, On Tue, 2006-04-11 at 21:01 +0200, Murray Cumming wrote: It's a real question - not a rhetorical one: making GtkRecentFilterInfo a boxed type makes

Re: Gtk+ Recent files updates

2006-04-11 Thread Murray Cumming
On Tue, 2006-04-11 at 21:28 +0200, Emmanuele Bassi wrote: Hi Murray, On Tue, 2006-04-11 at 21:01 +0200, Murray Cumming wrote: The GtkRecentFilterInfo struct should be registered as a boxed type, ideally with a copy function, so it can be used more easily by language bindings. The

Re: I have a question :)

2006-04-11 Thread LingNing Zhang
Hi saravanan: Thanks you very much. :) But I still have a question. Some indic engineers told that the (Cons(0x0d15-0x0d39) + 0x0d4d + 0x0d30) to become (0x0d30 + 0x0d4d + Cons) after reordering. Not only (0x0d15 + 0x0d4d + 0x0d30) becomes (0x0d30 + 0x0d4d + 0x0d15) after reordering. Is it

GtkCalendar and name of week

2006-04-11 Thread Hariyanto
How I can get name of week from GtkCalendar? thx Hariyanto ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

getting error AUTOMAKE FAILED

2006-04-11 Thread Vinay Sandeep
Hi Group, I am getting the following error on running autogen.sh after buildingwith 'glade-- myproject':Makefile.am:6: AM_GNU_GETTEXT used but `intl' not in SUBDIRS**Error**: automake failed. Does anyone have any ideas? Vinay Sandeep Trainnee Software Engg Signal Networks Pvt. Ltd.

Adding extra columns to GtkFileChooser

2006-04-11 Thread Simon Wistow
I'm looking to add extra columns to the file chooser in app I've written such as owner, unix permissions etc but I'm coming up short. This is one of those things that I suspect may be a faq but my search-fu has failed to dig anything up except this post to the gtk-perl list

Associating Strings and Variables

2006-04-11 Thread Christ, Bryan
As far as I can tell, it seems that this mailing list is also the forum for glib questions. Please forgive me if the scope of my question is not for this mailing list. Does anyone know of a clever way to associate strings with variables. Ideally, I would be looking for a set of functions which

How to make Gtk 1.2 apps look like Gtk 2.0 apps?

2006-04-11 Thread Bill Olinger
I remember seeing somewhere a sym link hack or something like that which would make my existing Gtk 1.2 apps look like (use?) my Gtk 2.0 theme widgets.Does anyone know how to do this?Or a Gtk 1.2 theme that looks like Gtk 2.0?Thanks in advance. Yahoo! Messenger with Voice. PC-to-Phone calls

Re: How to make Gtk 1.2 apps look like Gtk 2.0 apps?

2006-04-11 Thread Michael Torrie
On Tue, 2006-04-11 at 14:37 -0700, Bill Olinger wrote: I remember seeing somewhere a sym link hack or something like that which would make my existing Gtk 1.2 apps look like (use?) my Gtk 2.0 theme widgets. Does anyone know how to do this? Sounds a bit fishy to me. Given that the ABI is

Re: Associating Strings and Variables

2006-04-11 Thread Diego Zuccato
Christ, Bryan wrote: I really hate to re-invent the wheel if someone has already done this. The idea here is that I can store a value in one function and recall it later from somewhere else just by a string reference. That's what hash tables are for... Look for g_hash_* . There should be

Re: tables in a textview

2006-04-11 Thread Fabrizio Lanza
Doesn't anybody have any clue how to do this?2006/4/6, Fabrizio Lanza [EMAIL PROTECTED]: Hi,is there an easy way to build a table (like for html tables style) in a textview? Does anybody have some sample code?Thank you, Fabrizio Lanza ___ gtk-perl-list

Re: interactive buttons inside treeview headings

2006-04-11 Thread ensonic
Hi all, to make t more clear, its multiple items per header. Here comes some ascii art: +-+--+ - - | label1 | label2 | label3 | [B1][B2]| [B1][B2][B3] | ... +-+--+- - - So each treeview header widget is infact: vbox {

newbiee - i want multiple line in a treeview cell, or in a label, | in a entryfield...

2006-04-11 Thread chabayo
Hello @ all, this is my first post to a mailing list, i ever had 2-3 posts on a newsgroup; and most of all my enlish isnt very familiar in its principles, too - so i try to get teached for success later on. Again hello to all !! As i play with code snippets ( i havnt oversight for more than

Hello world

2006-04-11 Thread Ross Clement
Hi. I'm now writing my first ever gtk program. I'm using glade to build the interface and am writing the rest of the C code in vi :-) Previously I wrote all my cross-platform GUI programs in Java, but for some audio things I would like to do I would prefer to use C. So writing a gtk application

Accessing filenames from file choosers

2006-04-11 Thread Ross Clement
I should have known my previous good progress would get stuck on some seemingly minor point. I create a few file chooser dialogs. These were set up in glade. I can make the dialogs appear, use them, and then make them disappear again. What I can't do is fetch the selected filename from the

Re: Accessing filenames from file choosers

2006-04-11 Thread David Necas (Yeti)
On Tue, Apr 11, 2006 at 11:48:17AM +0100, Ross Clement wrote: I create a few file chooser dialogs. These were set up in glade. I can make the dialogs appear, use them, and then make them disappear again. What I can't do is fetch the selected filename from the dialog. Looking around it seems

Re: Accessing filenames from file choosers

2006-04-11 Thread Ross Clement
On Tue, 2006-04-11 at 13:09 +0200, David Necas (Yeti) wrote: No, you should not. GtkFileSelection is the old file selector, GtkFileChooser is the new one, they are two completely different classes. You have to use GtkFileChooser methods, see

RE: 3000 toggle buttons in a table?

2006-04-11 Thread Sailaxmi korada
Thanks Yeti, for all your advices. I could implement my 3168 toggle buttons successfully, except that Editable cells don't serve the purpose. Anyways thanks once again for all the support rendered by you. Have a great day Laxmi ___

Re: Setting the Visual of a GtkWidget

2006-04-11 Thread Tristan Van Berkom
Taras Zakharko wrote: Hello everyone I am new to GTK+ and to mailing lists so I hope I didn't screw something up :-) I need a possibility of setting the visual for my widgets (for OpenGL rendering). Have you looked at GtkGLExt ? sounds to me like thats the wheel your trying to invent

Adding popdown menu list in GtkEntry

2006-04-11 Thread Amitesh Singh
Hi I want to show pop down menu list on mouse clicking on the GtkEntry Widget's area.I know it can be done using GtkComboBoxEntry .. how to do it ? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Modal windows behaviour

2006-04-11 Thread Juan Pablo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi list. I made a program with a main window which opens a dialog and this dialog opens another dialog. The two dialogs are set modal. The first dialog is on top of the main window whatever, but the second can be hided behind the fist dialog but not

Choosing a parent class

2006-04-11 Thread Andreas Kotowicz
I created a composite widget which consists of two frames, one of which holds a calendar and a second one which has some buttons. I now ask myself what is the right parent class to choose from. Is it GtkFrame? Why can't I just choose GtkWidget? are there any rules which classes to choose from for

Re: Choosing a parent class

2006-04-11 Thread Michael L Torrie
On Tue, 2006-04-11 at 19:35 +0200, Andreas Kotowicz wrote: I created a composite widget which consists of two frames, one of which holds a calendar and a second one which has some buttons. I now ask myself what is the right parent class to choose from. Is it GtkFrame? Why can't I just choose

Re: Choosing a parent class

2006-04-11 Thread David Necas (Yeti)
On Tue, Apr 11, 2006 at 07:35:41PM +0200, Andreas Kotowicz wrote: I created a composite widget which consists of two frames, one of which holds a calendar and a second one which has some buttons. I now ask myself what is the right parent class to choose from. Is it GtkFrame? Why can't I just

Differences between kinds of events

2006-04-11 Thread Gnaural
I am trying to get a handle on some basic aspects of event handling. In particular, I can't quite figure-out why a drawing area (created with gtk_drawing_area_new ()) can handle mouse-clicks set up with a g_signal_connect call for button_release_event, but not keyboard input setup with the same

Re: Choosing a parent class

2006-04-11 Thread Andreas Kotowicz
On Tue, 2006-04-11 at 19:53 +0200, David Necas (Yeti) wrote: Inherit from the class the widget actually *is*. If you inherit from GtkFoo, your widget will inherit the properties and methods (this is what inheritance is about) -- gtk_foo_blow_up() can be expected to work with your new widget

Re: Differences between kinds of events

2006-04-11 Thread Tristan Van Berkom
Gnaural wrote: I ultimately just used g_signal_connect with the main window to catch keypresses. But it wasn't clear to me why I couldn't get g_signal_connect to handle keyboard events for a drawing area. Any explanation would be appreciated. You should use gtk_widget_add_events() instead (in

Re: Choosing a parent class

2006-04-11 Thread Tristan Van Berkom
Andreas Kotowicz wrote: [...] ok, I think I understand now. but somehow it seems that my class has some mistake in it (see attachment). I'm calling it like this in my code: . . window-priv-object = app_calendar_new (); gtk_box_pack_end (GTK_BOX (main_box),

Re: Choosing a parent class

2006-04-11 Thread Andreas Kotowicz
On Tue, 2006-04-11 at 17:02 -0400, Tristan Van Berkom wrote: Andreas Kotowicz wrote: [...] ok, I think I understand now. but somehow it seems that my class has some mistake in it (see attachment). I'm calling it like this in my code: . . window-priv-object =

Re: Choosing a parent class

2006-04-11 Thread Brian J. Tarricone
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/11/2006 2:00 PM, Andreas Kotowicz wrote: On Tue, 2006-04-11 at 17:02 -0400, Tristan Van Berkom wrote: Andreas Kotowicz wrote: [...] ok, I think I understand now. but somehow it seems that my class has some mistake in it (see attachment). I'm

Crashes with GTK 2.8.12 and above

2006-04-11 Thread Enrico Tröger
Hi, I have some problems with newer GTK versions(2.8.12 and above) and my application(http://geany.uvena.de). It crashes with segmentation faults inside GTK. With GTK 2.8.10, it works at its best. I and some other people tested it with GTK 2.8.12, 2.8.13 and 2.8.16 and crashes randomly. This

Re: removing rows from a table

2006-04-11 Thread Sander Marechal
Sander Marechal wrote: Hello all, I'm creating a game and I am using a GtkTable to display a table with scores in them. After every round I add a new row to the table and display a new series of values in the cells (using GtkLabels). When a player starts a new game, I need to reset this

Re: Modal windows behaviour

2006-04-11 Thread gaof
Hi, gtk_window_set_transient_for() maybe helps you. Hi list. I made a program with a main window which opens a dialog and this dialog opens another dialog. The two dialogs are set modal. The first dialog is on top of the main window whatever, but the second can be hided behind the fist

Re: Modal windows behaviour

2006-04-11 Thread Liam R E Quin
On Tue, 2006-04-11 at 12:17 -0300, Juan Pablo wrote: . I made a program with a main window which opens a dialog and this dialog opens another dialog. The two dialogs are set modal. I know your programming question was answered... but you might also like to consider how hard it would be to

Re: Differences between kinds of events

2006-04-11 Thread Gnaural
Thanks for the reply. Using gtk_widget_add_events() was a good tip in general, and the order in which I call things too. But unfortunately, they didn't help solve the question I still see. I'll paste a very short program illustrating what I mean below, in which I set-up a button-press and a

Refreshing the progressbar

2006-04-11 Thread Sandy K
Hello all, I am using the probress bar to show the progress of some event. Initially i have some text in the progress bar. After the event is complete, i change the text on the progress bar.. But it is not getting changed... But once i minimise the window and then maximise it, the text on the

Rebooting the System

2006-04-11 Thread Sandeep KS
Hello everyone, I am doing a project using GTK which needs rebooting of the system. When the code is executed, the user is asked to select some details. After he enters all the details and clicks on the OK button, i need to save all the details and reboot the system. After rebooting, i

Re: Rebooting the System

2006-04-11 Thread Guy Rouillier
Sandeep KS wrote: Hello everyone, I am doing a project using GTK which needs rebooting of the system. When the code is executed, the user is asked to select some details. After he enters all the details and clicks on the OK button, i need to save all the details and reboot the system.