Re: win32: get notified when gtk+ app gets killed?

2008-12-10 Thread [EMAIL PROTECTED]
Brian J. Tarricone: > Er, my mistake... it looks like they aren't documented, but > GDK_WINDOW_HWND(), which is just a wrapper around > gdk_win32_drawable_get_handle(), may indeed be public. True, I had seen it, but since it indeed did not show up on library.gnome.org as you mentioned... > Odd

win32: get notified when gtk+ app gets killed?

2008-12-08 Thread [EMAIL PROTECTED]
Hi all, on win32, in some situations (like logoff, shutdown) my gtk+ app gets killed, so I do not receive the standard gtk+ window close/destroy signals and, in turn, cannot do clean up tasks. For a console (!) app I've found SetConsoleCtrlHandler() which works surprisingly well (one can set up a

gtkpaned: children sometimes resized

2008-09-02 Thread [EMAIL PROTECTED]
Hi, I use a GtkVPaned and add two expanding widgets as children (scrollable windows). When the GtkVPaned is initially displayed, each child expand to what is needed. This is o.k. When I initially touch the gutter of GtkVPaned by mouse, and after that add widgets to one of the children the other

Re: scrollbars for treeview

2008-08-28 Thread [EMAIL PROTECTED]
Kristian Rietveld: > On Thu, Aug 28, 2008 at 9:12 AM, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: > > hi, > > > > I've read that a treeview has the scolling ability built-in. > > Does that include an easy way to display scrollbars, too? > >

scrollbars for treeview

2008-08-28 Thread [EMAIL PROTECTED]
hi, I've read that a treeview has the scolling ability built-in. Does that include an easy way to display scrollbars, too? Or is it necessary to create scrollbars and adjustments and connect all events separately? Thank You for a hint! Felix ___ gtk-

location of gdk-pixbuf.loaders

2008-06-17 Thread [EMAIL PROTECTED]
Hi, I am trying to pack a minimal set of files in one directory right enough to execute my app using gtk/win32. So, I tried to avoid the use of any of gtk's config files in etc/, lib/, share/, ... which can not be put into subdirectories though AFAIK. So, I simply deleted them which seems o.k. fo

Reading jpg data

2008-06-16 Thread [EMAIL PROTECTED]
Hi everybody, I need to read a jpg image out of a buffer, not a file; the caveman way to do this could be: write buffer to file, then use gdk_pixbuf_new_from_file. Is there a more elegant way to do this? I tried with pixbuf_loaders (with no success), but before spending further effort I'd l

Querie for video

2008-06-07 Thread [EMAIL PROTECTED]
___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

RE: Locale definitions, dots and commas

2008-03-12 Thread [EMAIL PROTECTED]
> On Wed, Mar 12, 2008 at 6:09 PM, Carlos Pereira > <[EMAIL PROTECTED]> wrote: >> If I use gtk_disable_setlocale, then dots are always used, but that does >> not seem quite right... basically I am ignoring user's preference for >> commas... >> Wel

Re: Printing

2008-02-20 Thread [EMAIL PROTECTED]
>> Enrico Tr?ger wrote: > For examples see: > http://www.uvena.de/tmp/cairo/print_pango_linux.pdf (fine) > and > http://www.uvena.de/tmp/cairo/print_pango_win32.pdf (broken) The link to the windows version is non-functional. I get the following 403 permission error when I try to open it: 403: Yo

Re: Whether the application is active?

2008-01-25 Thread [EMAIL PROTECTED]
On 11:27 Fri 25 Jan , aniket ray wrote: > > > I tried changing the value of isActive based on focus-in and focus-out > > > events of each of the windows. But then, if I switch from one window of > > > the > > > app to another, the variable is becoming false for a period of time > > > (albeit

Re: thread support in Windows: problem

2008-01-25 Thread [EMAIL PROTECTED]
On 23:55 Thu 24 Jan , Tor Lillqvist wrote: > > Write wrapper functions for any gtk operation you'd like to execute from > > threads in a way that the thread calls a glib's idle function which does > > the real gtk work. > > An interesting approach. Did you use some automated technique to > gen

Re: Whether the application is active?

2008-01-24 Thread [EMAIL PROTECTED]
On 19:12 Wed 23 Jan , aniket ray wrote: > Is there a way to find out if the current application is the active > application (has user-focus) or not? > > I have a gtk application with multiple windows and if any among the windows > has focus then I want a variable (let's say boolean isActive) t

Re: thread support in Windows: problem

2008-01-24 Thread [EMAIL PROTECTED]
On 11:37 Thu 24 Jan , Tor Lillqvist wrote: > > I am trying to run a simple(st) thread example in GTK with a > > windows-MinGW-Msys development environment > > Don't bother. You should not call GTK+ functions from multiple threads > on Windows. It won't work. There are deep technical reasons fo

GtkFileChooser initial dir

2007-11-22 Thread [EMAIL PROTECTED]
Hi, could you point me to some useful documentation or suggest me something about: 1. storing and retrieving the initial opening/saving directory for a GtkFileChooser; in the past I relied on the windows registry, but I'd like to do something more GTK styled (a configuration file?) 2. retri

Re: event for window maximize

2007-11-21 Thread [EMAIL PROTECTED]
Hi, are you handling the resizing in the main window's "configure- event" handler? I have a similar situation but I'm using the widget's (a drawing area) configure-event handler and it seems to work (resize window, maximize, etc.) Cheers Federico

Re: Building and packaging for Windows

2007-11-06 Thread [EMAIL PROTECTED]
Eduardo M KALINOWSKI wrote: > There is a set of GTK+ installer files, with development > and runtime available at http://gladewin32.sourceforge.net/ Very Cool! It's going to be hard to keep my mind on my current Microshaft Winblows development deadline as I really want to play with this... Thanks

Help to create an custom control for calendar

2007-10-15 Thread [EMAIL PROTECTED]
hi, i need create an custom control similar to calendar of iCal. What can I use? An canvas ?? Ciao, Gerardo Di Iorio ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Tool Side panels

2007-10-10 Thread [EMAIL PROTECTED]
Hi, I'm trying to add some side panels to an image manipulating application; these panels contain some buttons and they should be hidden when I no longer need them (no need for fancy sliding animation, though): the larger the working area the best. I temporarily implemented each panel with a

Re: 16 bits grayscale images

2007-09-29 Thread [EMAIL PROTECTED]
> Another popular choice is to walk the edges of an RGB cube in a loop. > So you have a red -> magenta gradient, then magenta -> blue, then blue > -> yellow etc. This makes for strong colour differences, but it's not > obvious from looking at the image which parts are hot or cold. So I > prefer hea

Re: 16 bits grayscale images

2007-09-28 Thread [EMAIL PROTECTED]
>> > I want to create a grayscale image from a CCD camera. >> > Data are from a function wich gives me an 16 bits array corresponding to >> > the CCD's pixels. >> > I take a look at the pixbuf class, but it seems to use a RGB structure. >> > How can I do my job ? > > If you don't expect the graph

Help to create custom control

2007-09-09 Thread [EMAIL PROTECTED]
hi, i need create an custom control similar to calendar of iCal. What can I use? by arete -- Leggi GRATIS le tue mail con il telefonino i-mode™ di Wind http://i-mode.wind.it/ ___ gtk-app-devel-list

Scrolledwindow, layout and drawing area

2007-09-07 Thread [EMAIL PROTECTED]
Hi, I have to draw a picture inside a top level window that has many other widgets (like side panes, menu bar etc.); I need zooming and panning features, so I went for a scrolled window => layout => drawingarea. To achieve zooming I handle the scroll event by scaling the original size pixbu

How get actuell Fonts of widget

2007-09-06 Thread [EMAIL PROTECTED]
)7348-7755 Fax: +49 (0)7348-6086 E-MAIL mailto: [EMAIL PROTECTED] WEB www.rapp-informatik.de PS: Senden Sie mir bitte keine Anhänge in Microsoft (.DOC, .PPT) Format Bitte lesen Sie http://www.fsf.org/philosophy/no-word-attachmentsi.de.html Please don't send me any attachme

How to compile and link GTK2 Programms tobe compatibe with XFree86 and Xorg

2007-08-31 Thread [EMAIL PROTECTED]
s makes no problems and i guess this is gtk applikation too. Who knows about. Thanks for help. mfg g.rapp -- R=I+S Rapp Informatik Systeme GmbH Rosenbühlstr. 24 D-89182 Bernstadt Tel: +49 (0)7348-7755 Fax: +49 (0)7348-6086 E-MAIL mailto: [EMAIL PROT

Compiling GTK undefined references

2007-08-13 Thread [EMAIL PROTECTED]
is another PATH setting missing who knows? mfg g.rapp -- R=I+S Rapp Informatik Systeme GmbH Rosenbühlstr. 24 D-89182 Bernstadt Tel: +49 (0)7348-7755 Fax: +49 (0)7348-6086 E-MAIL mailto: [EMAIL PROTECTED] WEB www.rapp-informatik.de PS: Senden Sie mir

Compiling GTK, GLIB,PANGO ???

2007-08-08 Thread [EMAIL PROTECTED]
onfig Path Suggestions to do wellcome mfg g.rapp -- R=I+S Rapp Informatik Systeme GmbH Rosenbühlstr. 24 D-89182 Bernstadt Tel: +49 (0)7348-7755 Fax: +49 (0)7348-6086 E-MAIL mailto: [EMAIL PROTECTED] WEB www.rapp-informatik.de PS: Senden Si

Font width in gtk 2.x

2007-08-07 Thread [EMAIL PROTECTED]
ase mfg günther -- R=I+S Rapp Informatik Systeme GmbH Rosenbühlstr. 24 D-89182 Bernstadt Tel: +49 (0)7348-7755 Fax: +49 (0)7348-6086 E-MAIL mailto: [EMAIL PROTECTED] WEB www.rapp-informatik.de PS: Senden Sie mir bitte keine Anhänge in Microsoft (.D

Re: waveform display in gtk

2007-07-12 Thread [EMAIL PROTECTED]
How about gscope http://gscope.sourceforge.net/ I haven't used it but have been tempted to. -Eric > > Is there a GTK widget to display audio or signal waveforms? > ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/

X window problem wityh GtK

2007-04-01 Thread [EMAIL PROTECTED]
can any body tell me about this problem... The program 'gimp' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'. (Details: serial 17618 error_code 8 request_code 59 minor_code 0) (Note to programmers: normal

x server problem

2007-04-01 Thread [EMAIL PROTECTED]
rom your debugger if you break on the gdk_x_error() function.) XOrg 6.8.1, Composite disabled. Original Message: ----- From: [EMAIL PROTECTED] Date: Sun, 01 Apr 2007 12:00:19 -0400 To: gtk-app-devel-list@gnome.org Subject: gtk-app-devel-list Digest, Vol 36, Issue 1 Send gtk-app-dev

Question About GtK Application DevelopMent

2007-03-24 Thread [EMAIL PROTECTED]
Hi All . i Doveloping an application using GTK+- 2.0 . on Red hat . and i have some problems. can any body help me.. i have few Question Regarding GTK. 1) Can i I insert a checkBox in GtkCtree. the Contents of the tree will be filled within a thread function. 2) How i want to Do some task

RE: invisible text when viewing with Microsoft Remote Desktop

2006-12-21 Thread [EMAIL PROTECTED]
Problem solved. It turns out that MS Remote Desktop views the remote computer using 256 colors by default, and GTK does not work well with 256. Because on some of our client machine 256 colors is requiered I changed the colors of my application so it will look OK using 256, by changing the text co

RE: invisible text when viewing with Microsoft Remote Desktop

2006-12-21 Thread [EMAIL PROTECTED]
Problem solved. It turns out that MS Remote Desktop views the remote computer using 256 colors by default, and GTK does not work well with 256. Because on some of our client machine 256 colors is requiered I changed the colors of my application so it will look OK using 256, by changing the text co

Re: invisible text when viewing with Microsoft Remote Desktop

2006-12-21 Thread [EMAIL PROTECTED]
No, the problem apears only when you access the machine using Remote Desktop. I could not replicate it by accessing the machine directly. Does anyone had experience with viewing GTK applications with MS Remote Desktop? Oded. oded writes: > Any help will be appreciated, Try not using the ms-wi

invisible text when viewing with Microsoft Remote Desktop

2006-12-20 Thread [EMAIL PROTECTED]
Hello, I'm using gtkmm with gtk-2.0 on Windows XP. I have an application with a GtkTextView and it works fine on my computer, There is a problem when I view the application on a remote machine using the Microsoft Remote Desktop terminal server. The remote machine also runs Windows XP. The problem

Re: Passing data from a data collection window back to a main

2006-11-26 Thread [EMAIL PROTECTED]
gpointer user_data) { label1 = lookup_widget(window1,"label1"); entry1 = lookup_widget(window2,"entry1"); gtk_label_set_text(label1,gtk_entry_get_text(entry1)); gtk_grab_remove(window1); gtk_widget_destroy(window2);

Passing data from a data collection window back to a main

2006-11-25 Thread [EMAIL PROTECTED]
Hi, I am about to start a new app, and would like to improve my programming style. I have been using global variables to pass data from "popup" windows back to a main window. I have seen discussion about using g_object_set_data, but have not progressed to being able to use it confidently. Doe

height of treeview head/title

2006-11-04 Thread [EMAIL PROTECTED]
hello, I want to know how to get the height of a treeview heading labels. I want to have a drawing beside a treeview and line things up with rows in the treeview. Any ideas? Thanks, Kim ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

List of new api calls for deprecated funktions

2006-11-04 Thread [EMAIL PROTECTED]
d? Thanks günther -- R=I+S Rapp Informatik Systeme GmbH Rosenbühlstr. 24 D-89182 Bernstadt Tel: +49 (0)7348-7755 Fax: +49 (0)7348-6086 E-MAIL mailto: [EMAIL PROTECTED] WEB www.rapp-informatik.de PS: Senden Sie mir bitte keine Anhänge in Microsoft (.DOC, .P

using GTK in Eclipse

2006-06-09 Thread [EMAIL PROTECTED]
I need to include an extrenal Gnome Application (P.e.: Gnome Calculator) inside an Eclipse Widget. I try to do this in windowsXp platfrom and it is possibile by calling win32API and change the windows parent handle. the following is a parte of code if(CreateProcess(0, szExe, 0, 0, FALSE, 0, 0, 0,

Re: Strange Callback Behavior

2006-06-05 Thread [EMAIL PROTECTED]
-Original Message- Date: Mon, 5 Jun 2006 15:47:36 +0200 Subject: Re: Strange Callback Behavior From: Tristan Van Berkom To: Peter Robinson Peter Robinson wrote: [...] > > void open_data_file(gpointer callback_data, guint callback_action, GtkWidget *widget) { > GtkWidget *filew; [..

Combo question

2006-04-27 Thread [EMAIL PROTECTED]
me. I really appreciate your help. Thank you in advance Regards -- [EMAIL PROTECTED] <[EMAIL PROTECTED]> ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Can a treeview do this?

2006-03-01 Thread [EMAIL PROTECTED]
Tristan Van Berkom <[EMAIL PROTECTED]> wrote: > > Maybe you could write a custom treeview implementation to use with > GtkTreeStore (seems you would only have to place your cells differently > than treeview does); but then... i dont know about doing that in Gtk#. >

Widget to pick timezone

2006-02-09 Thread [EMAIL PROTECTED]
Hi I'm looking for a widget that allows the user to pick a capital city from a world map of countries, so that he can set he timezone he is in; the app i need it for is written in pure C language (no C++ noe GLADE). Browsing the Gnome CVS repo, i found the e-timezone-dialog widget [1]: is this

Setting scrollbar silde to bottom

2005-12-28 Thread [EMAIL PROTECTED]
helping gr -- R=I+S Rapp Informatik Systeme GmbH Rosenbühlstr. 24 D-89182 Bernstadt Tel: +49 (0)7348-7755 Fax: +49 (0)7348-6086 E-MAIL mailto: [EMAIL PROTECTED] WEB www.rapp-informatik.de PS: Senden Sie mir bitte keine Anhänge in Microsoft (.DOC, .PPT

Re: gtk, cairo and pdf

2005-11-04 Thread [EMAIL PROTECTED]
Allin Cottrell wrote: > I haven't had time to look into cairo's capacities in depth. I > wonder if anyone could give me a quick reading on this: the app I > mostly work on is statistical, and it would be nice to be able to > present various formulae and results in PDF, generated from TeX > sou

How can we get information about a focused widget in another GTK application?

2005-04-25 Thread [EMAIL PROTECTED]
Hi all, How can we get information (type, status and label) about a focused widget in another GTK application? (The “gtk_window_get_focus” and “GTK_WIDGET_TYPE” would be usefull only if we could get a pointer to this “another” GtkWindow, but I think it's not possible). Obviously, the a

text and pangolayout

2005-02-12 Thread [EMAIL PROTECTED]
hi all, i'am traying to use pangolayout to make a text editor that allow using text and drawings. I don't know how to use someting like key_press_event to edit directly the texte. thank you. -- Faites un voeu et puis Voila ! www.voila.fr ___