-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12/9/2005 3:51 AM, [EMAIL PROTECTED] wrote:
> I am currently working on an application which should show some
> graphics on a fullscreen window in the secondary monitor. I have
> looked at the information on
> http://www.gtk.org/api/2.6/gdk/multihea
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12/9/2005 2:15 PM, Andreas Schou Værge wrote:
> "Brian J. Tarricone" <[EMAIL PROTECTED]> wrote:
>
>>My guess is that, on Windows, the multihead support is
>>showing up
>>similarly as how Xinerama works
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12/14/2005 11:19 AM, Stephen Pollei wrote:
> On 12/13/05, Daryl Lee <[EMAIL PROTECTED]> wrote:
>
>>>Are you sure that is the right style for that callback?
>>>static void
>>>rocket_cb(GtkWidget *widget, GdkEventExpose *event, gpointer data)
>>>{
>>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 1/23/2006 10:48 AM, Claudio Fontana wrote:
> Hello,
>
> --- Matthias Clasen <[EMAIL PROTECTED]> ha
> scritto:
>
>> On 1/22/06, Claudio Fontana <[EMAIL PROTECTED]>
>> wrote:
>>> Hello,
>>>
>>> while extending a GtkFileChooserDialog with some
>>> c
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 2/3/2006 2:14 PM, kornelix wrote:
> I last reported that GTK was making my multi-threaded application run
> as multiple single threads, one after the other. It was suggested to
> lock only the GTK calls instead of the whole thread. I tried this.
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
kornelix wrote:
> Brian J. Tarricone wrote:
>
>> You're looking at this in an overly-complicated way. Here are a few
>> guidelines, all of which probably have appropriate documentation
>> somewhere: ...
>
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 2/22/2006 10:47 AM, Christian Neumair wrote:
> Am Mittwoch, den 22.02.2006, 08:17 -0800 schrieb Alan M. Evans:
>> On Wed, 2006-02-22 at 07:59, Christian Neumair wrote:
>>> For the sake of readability, I'd rather use the following code:
>>>
>>> char
-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 attach
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 4/11/2006 2:08 PM, Enrico Tröger wrote:
> 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.
[
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 5/17/2006 11:06 AM, Dov Kruger wrote:
> Since originally posting this question, I've used the linker to try to
> create a dll. ar just assembles a number of .o files, I don't believe it
> resolves any symbols which is useless to me.
>
> So, I did
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 7/21/2006 2:32 PM, Christopher Backhouse wrote:
> I want to remove all the items in a list that the user has highlighted
> After discovering that I'm not allowed to use
> gtk_tree_selection_selected_foreach I am trying it like this
>
> GList*
> s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/12/2006 4:26 PM, Nickolai Dobrynin wrote:
> Hi!
>
> Are there any well-known C++ applications that use GTK+ behind the scenes?
> Any links to those?
>
> For some reason, I'm having rough time wrapping GTK+ in C++ in a way that
> makes the life
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/17/2006 5:17 AM, David Ne?as (Yeti) wrote:
> On Tue, Oct 17, 2006 at 01:51:47PM +0200, Lorenzo Marcon wrote:
>> int main(int argc, char *argv[]) {
>> ...
>> gpointer data[5];
>> ...
>> data[0] = (gpointer) gtk_entry_get_text (
Laurent ISENEGGER wrote:
> I'm new in this list so i hope i'm not mistaken if i post my question
> here.
I'm not sure that glib has its own list, so I guess here is good.
> I'm currently trying to integrate the GLIB 2.12.4 on a platform based
> on ARM. I m cross compiling with a fedora 3 distrib
You could also look at config.log and find where the check for shared
library support is, and see if there are any clues in the output.
-brian
>
> thanks in advance
>
> laurent
>
>
>
> "Brian J. Tarricone" <[EMAIL PROTECTED]> a écrit : Laurent
(Please move this discussion over to gtk-app-devel-list. gtk-devel-list
is for the development of gtk itself.)
Christopher Bland wrote:
> Brian J. Tarricone wrote:
>
>>> Clicking the first button fires the 'clicked' event where I make the
>>> following
Alexander Shopov wrote:
>> The context is stripped when the string is *used*, for
>> marking it is irrelevant whether it has context or not, so
>> mark it normally with N_().
> I am sorry but this does not work.
>
> When I mark strings simply with N_() the context information is not
> stripped awa
Suma H.S wrote:
> thanks...shall look into that.
> But, do u by any chance know how to use multiple masks for the function
> gtk_widget_shape_combine_mask ()?
> If I try to call this function multiple times using different mask
> everytime, only the effect of the last call is seen.
> I want to have
Gerald I. Evenden wrote:
> 2. A side thread suggested that in order to understand the usage of a system
> like libglade one should study the source.
I think that's pretty standard practice where any open source
library/development system is concerned. Having full reference
documentation, tutori
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tue, 20 Feb 2007 11:37:59 + Kevin O'Riordan wrote:
> Thanks for the reply. I was helping someone look at a problem they
> were having with embedding a native application in the Eclipse
> framework on Linux/GTK. It works fine for the most part (
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tue, 20 Feb 2007 22:34:38 +1100 Justin Clift wrote:
> Whenever any gtk program has it's menu open, keystrokes don't seem to
> be processed for anything other than what's in the menu itself. i.e.
> the up, down, and enter keys work (and maybe short
On Wed, 16 May 2007 14:19:19 -0400 Dan Gruhn wrote:
>Greetings,
>
>I am running on FedoraCore5 and I have an application that when the
>user clicks the "X" in the upper right wants to query for saving any
>changed data. I have currently coded this as a signal handler for the
>delete event which p
On Wed, 16 May 2007 20:54:34 +0200 David Nečas (Yeti) wrote:
>On Wed, May 16, 2007 at 11:28:55AM -0700, Brian J. Tarricone wrote:
>
>> This is caused by the window manager, not gtk. It thinks the
>> application isn't responding because it takes too long to return from
>
On Tue, 22 May 2007 16:33:49 -0700 Sreeram Akella wrote:
>I need to develop an application that lists all top level windows along
>with the corresponding titles. I tried using the method
>gdk_windows_get_toplevels() to return the GList of all top level
>windows on the default screen on the default
Hey Jeremy,
On Wed, 23 May 2007 06:54:14 +0300 Tor Lillqvist wrote:
> Jeremy Roberson writes:
> > So, I copied all of the shared libraries into a sub directory of
> > the application directory called "lib/" for testing.
>
> But GTK+ and Pango also look for various other files at run-time. It's
On Tue, 29 May 2007 18:12:57 -0500 Dan Saul wrote:
>Good day, new to the list and GTK+ in general.
>
>I am formerly a Macintosh developer. Currently however I am now working
>on Objective C bindings for GTK+. I am currently looking at the
>documentation for the run loop which I have found located
Replying to myself...
On Tue, 29 May 2007 16:29:12 -0700 Brian J. Tarricone wrote:
>Actually, you might want to poke around in gdk/quartz/ inside gtk+
>SVN. I imagine autorelease pools are used in the MacOSX backend; maybe
>you can find some hints there as to what's best.
I was
On Mon, 25 Jun 2007 15:13:30 -0600 Jim George wrote:
>Is there some way I can obtain a GDK_CONFIGURE event from a GtkImage
>widget? I tried putting the GtkImage inside a GtkEventBox and
>connecting a handler to "configure-event", without success. I also
>manually enabled GDK_STRUCTURE_MASK, even t
On Mon, 25 Jun 2007 17:41:51 -0600 Jim George wrote:
>[...] caused an infinite loop, because I'm trying to
>do the following:
>
>gboolean solar_cal_pixbuf_resize(GtkWidget *widget, GtkAllocation
>*alloc, gpointer user_data)
>{
> GtkImage *img_widget = user_data;
> GdkPixbuf *pixbuf = gtk_image_g
On Tue, 26 Jun 2007 23:27:25 +0200 Kai Szymanski wrote:
>Hi!
>
>As i search the web for a util-library that i can use in my
>c-programms, i found glib-2.0. So i decide to install it on my system
>(debian 4.0 - libglib-2.0 and libglib-2.0-dev). When i try to use it,
>i did'nt work. The Source (a si
On Sat, 04 Aug 2007 22:50:06 +0100 Chris Vine wrote:
> On Sat, 2007-08-04 at 22:07 +0800, Gregory Hosler wrote:
> > That threads_enter/threads_leave doesn't look so bad, since I'm not
> > doing alot of gtk withing my thread. Looks like it might be the way
> > to go for me.
>
> You may be missing
Daniel Dieterle wrote:
> Hi,
>
> i'm just beginning to collect some experience with gtk+ and glade.
>
> My goal is to draw regularly a circle on an other position. I think the
> right way doing this, is to use a timer-function. It should be something
> like this:
>
> gint draw_satellite( gpointe
Chris Rorvick wrote:
> My program is spending more than 50% of its userland time
> executing code in glib, and a vast majority of that is split evenly
> between two functions: g_slist_find() and g_slist_remove_all().
You should probably be using a different data structure. A linked list
is not a
Andrew Smith wrote:
> Hello
>
> I am the author of ISO Master ( http://littlesvr.ca/isomaster/ ). It's a
> reasonably simple GTK application. I'd like to make a Windows version.
> If possible, without porting the GUI to Win32. I managed to compile ISO
> Master on Windows using cygwin, but I don
On Fri, 9 Nov 2007 16:40:18 +0100 c f wrote:
> Hi,
>
> I'm not sure if the following problem is a bug in gtk or it is a
> 'feature':
>
> Running the following code:
>
> GtkUIManager *uiManager = gtk_ui_manager_new();
> GtkAccelGroup *accelGroup = gtk_ui_manager_get_accel_group(uiManager);
>
>
On Fri, 09 Nov 2007 07:19:22 -0800 Alan M. Evans wrote:
> On Fri, 2007-11-09 at 00:04 +0100, Rafał Mużyło wrote:
> > It's not quite gtk related, but do any of you know how to fix a
> > problem with G_LOCK/G_UNLOCK producing strict aliasing warnings
> > with -O2 ? I'm looking for a real solution, n
On Fri, 9 Nov 2007 14:40:53 -0600 ying lcs wrote:
> Can you please tell me how can I tell programmically if a GTKWidget
> is realized?
http://library.gnome.org/devel/gtk/stable/GtkWidget.html#GTK-WIDGET-REALIZED:CAPS
-brian
___
gtk-app-devel-li
On Wed, 21 Nov 2007 20:15:25 +0100 c f wrote:
[...]
> I have used mtrace to check for memory leaks. In this simple
> application there are more than 5000 memory allocation which is not
> freed.
See:
http://www.gtk.org/faq/#AEN703
> I have checked the GTK documentation and it states that gtk_ex
Gabriele Greco wrote:
> A lot of users are asking me for the capability to change the font of an
> application runtime.
>
> I know that the correct answer should be "change your gtk theme" or edit
> the application RC file, but while this kind of answer is good with
> power users, normal users o
On Mon, 17 Dec 2007 18:30:57 -0800 Daniel Fetchinson wrote:
> Hi list,
>
> I've just started with GTK and been going through the tutorial and
> examples. My first small application is working all right but the
> following (I guess) warning keeps being written to the console:
>
> CRITICAL **: smo
Michael McCann wrote:
> Michael R. Head wrote:
>> Does your special function take time to do its job? If so, then that
>> would be why. For example:
>>
>> ...
>> while(1) {
>> gdk_threads_enter();
>> sleep(1)
>> gdk_threads_leave();
>> sleep(10)
>> };
>> ...
>>
>> you'd freeze your app for a second
Michael McCann wrote:
> Brian J. Tarricone wrote:
>> Don't use gdk in the CPU-intensive function:
> Unfortunately, the GDK calls _are_ what is CPU-intensive. I believe the
> gdk_pixbuf_get_from_drawable() call is the most intensive. None of my
> "regular" code is
Chris H wrote:
> Hello,
> I'm writing a GLSL shader editor and I need to be able to create a loop that
> will force the gtkglext widget to constantly refresh at 60Hz or less if the
> frames take too long to render. I've tried to copy the code from the
> logo.cexample but it just isn't refreshing. H
On Sun, 6 Jan 2008 11:00:59 +0800 Bin Chen wrote:
> I searched the internet for libegg and found some tips but still can't
> got whats libegg working for? Is it another useful widget lib?
> After I check out the libegg and catch the README:
>
> - All features are intended to end up in a stable
[EMAIL PROTECTED] 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. Additionally (!) you need to lock gtk/gdk access by
> the gds_threads_enter/leave functions -- since
Ajax John wrote:
>
> I want to know what is the difference does it make when a Button is
> decleared as
> GtkWidget *button;
> GtkButton *button;
>
> I'm confused which one to used in my program.
> In simple words when should I declare my button as Gtkwidget * and as
> GtkButton *.
There's no di
On Fri, 14 Mar 2008 09:41:22 +0100 Gabriele Greco wrote:
> After some headache with my gtk C++ classes I've found with a small
> test program this fact about the gobject references:
Sorry, not sure what you're trying to do. Are you trying to do
something with gtkmm? Or are you creating your ow
Damien Caliste wrote:
> Hello,
>
> Le 17/03/2008, mbrz <[EMAIL PROTECTED]> a écrit :
>> How can I realise a hint-rules effect like gtktreeview to have lines
>> rendered with alternating row colors on my gtktextview widget ?
> You can do this:
> g_object_set(G_OBJECT(treeView), "rules-hint", TRUE,
Michael wrote:
> I've got a pixbuf, created with gdk_pixbuf_new() (let's call it
> combined_pixbufs), with a width/height large enough to accommodate two
> pixbufs side-by-side. I then have two smaller pixbufs: pixbuf_one and
> pixbuf_two. I'm trying to use gdk_pixbuf_composite() to combine them
majid wrote:
> thanks,
> but my questions was about GTK_TEXT_VIEW widget.!
Oh, jeez. I should learn how to read!
> I use this function to set "rules hint" property to a TREE_VIEW object.
> gtk_tree_view_set_rules_hint (GtkTreeView *tree_view, gboolean setting);
>
> but wath about a TEXT_VIEW? h
G Hasse wrote:
> On Sun, Mar 30, 2008 at 10:25:05PM +0300, Stefan Kost wrote:
>> Hi,
>
> Undefined and unused is not the same.
>
> There is NO way to clerify all unused functions in a program.
> You could call functions by their addresses and those addresses
> could be calculated in runtime. So y
Xavier Toth wrote:
> Is there a Gtk/Gdk equivalent of XGetWMName?
Yep:
http://library.gnome.org/devel/gdk/stable/gdk-X-Window-System-Interaction.html#gdk-x11-screen-get-window-manager-name
Not sure how reliable that is, though -- I was told once that it'll
still return the old value (or just som
Xavier Toth wrote:
> Is it possible to retrieve a GtkWindow using the native X window id?
Something like this might work:
GdkWindow *window = gdk_window_lookup(xid);
GtkWidget *widget = gdk_window_get_user_data(window);
Of course that only works if 'xid' corresponds to a GtkWindow that you
your
Hi all,
I'm writing a semi-transparent window widget that uses cairo for
drawing. I'm using an ARGB window, and the window itself isn't
necessarily rectangular (sometimes it'll have rounded corners of
arbitrary radius, and other non-regular shapes are possible).
Since I'm using cairo to do the d
On Mon, 14 Apr 2008 02:38:27 -0700 Brian J. Tarricone wrote:
> Anybody know of a way to munge a cairo_path_t into at
> least an approximate GdkRegion (i.e. suitable for
> gdk_window_shape_combine_region())? Or is there a better way to do
> this?
Figured out something, in c
Hey all,
I have an app that draws some windows in a special way, and I'm letting
it be easily themed separately (rather, on top of) gtk's theming. I'm
just using normal gtkrc files for the theming, and calling
gtk_rc_parse() when the user changes the theme.
The problem is this: if the new the
On Sun, 4 May 2008 07:34:30 -0400 A. Walton wrote:
> On Sun, May 4, 2008 at 7:15 AM, Soulivanh Anothay
> <[EMAIL PROTECTED]> wrote:
> > Hello everybody,
> > I have just manually installed the newer version of GLib 2.16.3 , I
> > have checked the installation by issuing this command: "pkg-config
Stefan Kost wrote:
> hi,
>
> I have an interface, where I share some data between the instances.
> the data is created on first access. Now I also would like to release
> it when the last instance goes.
>
> problem 1: base_finalize() is not called for static types
>
> I thought that I could
On Fri, 16 May 2008 19:19:55 +0100 John M Collins wrote:
> I want to have a "do you really want to do this" type question and I'm
> trying to use a message dialog thus:
>
> GtkWidget *dlg = gtk_message_dialog_new(GTK_WINDOW(previous),
> GTK_DIALOG_DESTROY_WITH_PARENT,
> GTK_MESSAGE_QUESTION,
>
On Fri, 16 May 2008 16:12:50 -0400 [EMAIL PROTECTED] wrote:
> I'm using mwm and libglade if that makes a difference. Is this
> automatic drag and drop something that libglade sets up for me by
> chance?
Why would you want to do this? People accustomed to how entry widgets
behave will likely be
On Thu, 22 May 2008 17:26:15 -0700 Tom Machinski wrote:
> Hi,
>
> I wrote a simple GTK+ application that displays a popup window.
>
> The problem is that whenever the window is displayed, it immediately
> gets ("steals") the focus. I would like to prevent that from
> happening: i.e., the window
Tom Machinski wrote:
> On Thu, May 22, 2008 at 11:52 PM, Brian J. Tarricone <[EMAIL PROTECTED]>
> wrote:
>
>> gtk_window_set_focus_on_map() (or presumably
>> window.set_focus_on_map(False) in... whatever langauges you're using).
>
>
> Thanks Brian, anik
Tom Machinski wrote:
> On Fri, May 23, 2008 at 9:52 AM, Brian J. Tarricone <[EMAIL PROTECTED]>
> wrote:
>
>> Well, it works here, using straight C. I don't really know Python, so I
>> can't really say why it wouldn't work there.
>
>
> Thanks
On Sun, 15 Jun 2008 18:50:30 + dhk wrote:
> I like the hide idea, but when I try to hide the main window nothing
> happens. The basic logic I'm using to try to hide the main window
> when a new window pops up after selecting from the menu in the main
> window is: GtkWidget
> *tlwin=gtk_widg
On Sun, 15 Jun 2008 19:40:22 +0100 Carlos Pereira wrote:
> For the sake of elegance, which version people like more?
>
> 1) g_signal_connect (widget, "signal",
> G_CALLBACK (callback), data);
I think this was the "intended" use -- the first param is of type
gpointer so you don't have to use a ca
On Thu, 31 Jul 2008 16:31:31 +0200 Martin (OPENGeoMap) wrote:
> Hi
>
>
> http://library.gnome.org/devel/glib/2.17/glib-Date-and-Time-Functions.html#GDate
>
>
>
> I have a doubt about how they are working all classes in the glib.
>
> Is it always uses dynamic memory for everything?
>
>
> G
Hi all,
This may be related to the natural-size stuff I saw floating on
gtk-devel-list a couple months ago, so maybe my answer is just "wait for
the next major gtk release," but here goes...
Consider a dialog just with a scrolled window in it, and, inside the
scrolled window, some widget tha
Roland Roberts wrote:
I have a notebook where one of the tabs is another notebook. When the
device which corresponds to that tab is disconnected, I want to make the
tab insensitive. So in the callback I have something like this:
g_object_set(tab_widget, "sensistive", FALSE, NULL);
When I
On Sun, 31 Aug 2008 10:41:42 +0200 Andrea Zagli wrote:
> how can i do to know the exact libraries versions which my
> applications depends on?
>
> for example: if i develop with gtk 2.12 (but i can do the same
> reasoning with any other library) how can i do to know if i used (or
> not) new
On Mon, 01 Sep 2008 02:20:35 -0300 Martin (OpenGeoMap) wrote:
> Someone knows like quarks works in glib.
>
> I can not find the source code, only the header. Itś suppose we don
> need free the string inside a static string of a quarks. But how is
> that???. Where is the string saved?.
The do
Garth's KidStuff wrote:
I have a large Gtk app running on Ubuntu and I'd love to be able to log
stack trace information when unusual events occur. Any ideas on where to
look for this?
If you don't mind that it only works on Linux, with glibc and gcc, take
a look at backtrace() and backtrace_
On Sun, 07 Dec 2008 04:06:55 +0300 Vasiliy G Tolstov wrote:
> I'm try to use exmaple from faq
> http://library.gnome.org/devel/gtk-faq/stable/x842.html
>
> But then i'm try to compile - i see this error...
> How can i add to entry ability to insert only digits?
>
>
> window.cpp:214: error: inv
Brian J. Tarricone wrote:
[EMAIL PROTECTED] wrote:
For non-console apps, MSDN says I need to set up a
WindowProc callback to catch WM_QUERYENDSESSION messages.
But to register it, it seems I need hWnd from the main
window which is somewhere hidden by gtk+...
That's odd -- on X11, yo
Don't use GtkList or GtkTree. They've been deprecated for... I dunno...
7 or 8 years now, and are unmaintained. You should be using GtkTreeView
in conjunction with a GtkTreeStore or GtkListStore.
-brian
Dave Luttinen wrote:
2nd post. I'm just getting warmed up .
Compile with suppli
Hi Deron,
Please don't reply to me directly. The entire list should be able to
benefit from this discussion.
Deron Kazmaier wrote:
I'm sure he know that, but is it available or not? I would think it
should still be functional otherwise it would not be binary compatible
with existing applic
On Mon, 2 Feb 2009 17:05:40 +1000 Dan Ium wrote:
> Does there always need to be at least one gtk_main active, or is it ok
> to do call gtk_main after gtk_main_quit is called on the inner most
> loop? And if so, do you have to call gtk_init again before you call
> gtk_main after the inner most loop
Vlad Volodin wrote:
The canvas is white, and it doesn't have some kind of transparency.
So, as I thought, I decided to fill it's background with color, got
from it's GtkStyle. After some experiments I realized, that widgets
(main window, container and GtkClutterEmbed) don't have needed color:
sledge hammer wrote:
In my app I want the user to drag-n-drop files from nautilus, then the
application should open them. I am using as Targets:
1. STRING
2. text/plain
You probably want to also (or maybe instead) handle text/uri-list.
2. spaces in the filename are represented as "%20"
The
Bill Farmer wrote:
I am porting a native windows application to linux gtk. I want to stop
the alt-spacebar key combination popping up the application window menu.
This can be done in windows by capturing the WM_SYSCHAR message. After
searching though the gtk documentation and sources, the only
On 05/27/2009 09:45 PM, Emmanuel Rodriguez wrote:
On Wed, May 27, 2009 at 9:04 PM, Brian J. Tarriconewrote:
Bill Farmer wrote:
I am porting a native windows application to linux gtk. I want to stop the
alt-spacebar key combination popping up the application window menu. This
can be done in wi
On 05/28/2009 11:51 AM, Bill Farmer wrote:
The reason for wanting to capture the alt-spacebar combination is
because the keyboard is being played as a musical instrument using the
function keys on one side, and the control, alt, and spacebar on the
other side. So, every time the user presses alt
On 2009/07/02 23:27, Jim George wrote:
I tried to get around this using libwnck. I call
wnck_window_get(GDK_WINDOW_XID(main_window->window)), but the
WnckWindow returned is always NULL. The X window ID "seems" to make
sense (it's a large integer), so what am I doing wrong?
Try this:
WnckScree
On 2009/07/09 13:25, Michael Cronenworth wrote:
SSH is great for remote terminal sessions, but not much more.
I think the sshfs guys might beg to differ with you on that one. As
would anyone who uses subversion or git (etc.) over ssh. Or anyone
who's tunneled various protocols using ssh's
On 2009/07/09 13:25, Michael Cronenworth wrote:
SSH is great for remote terminal sessions, but not much more.
I think the sshfs guys might beg to differ with you on that one. As
would anyone who uses subversion or git (etc.) over ssh. Or anyone
who's tunneled various protocols using ssh's
On 2009/07/09 15:38, Garth's KidStuff wrote:
Hi All,
I'd like to know how to intercept usb events. Right now, I'm polling for
changes, but that isn't the "right" way to handle device discovery. Is
there a way to get a notification when something happens in the usb world?
Not really on-topic f
On 07/19/2009 05:48 PM, Allin Cottrell wrote:
GtkTargetEntry rtf_targets[] = {
{ "application/rtf", 0, TARGET_RTF },
{ "application/x-rtf", 0, TARGET_RTF },
{ "text/rtf", 0, TARGET_RTF },
{ "text/richtext", 0, TARGET_RTF },
{ "STRING",0, TARGET
On Tue, Jul 21, 2009 at 17:57, Brian Tietz wrote:
>
> I noticed that if I create a GtkButton, call gtk_widget_show for the button,
> then call gtk_widget_size_request, it returns a guesstimate. With my current
> theme selection, this turns out to be a few pixels too small.
>
> If I then add it t
On 08/20/2009 05:36 PM, Patrick M. Rutkowski wrote:
> I've got the following code: http://www.rutski89.com/static/gtkevent.cpp
>
> I do indeed do this:
>
> widget_class->event = &any_event_r
>
> but then any_event_r() never subsequently get's called, and I'm
> certain that the "widget_class->eve
On 08/20/2009 10:27 PM, Patrick M. Rutkowski wrote:
> I've written a test case that anybody can compile and run:
> http://www.rutski89.com/static/event_test.c
>
> It contains the following line of code in the any_event() function:
> printf("IT WORKS!\n");
>
> That currently does not get printed.
On 08/20/2009 10:27 PM, Patrick M. Rutkowski wrote:
> I've written a test case that anybody can compile and run:
> http://www.rutski89.com/static/event_test.c
>
> It contains the following line of code in the any_event() function:
> printf("IT WORKS!\n");
>
> That currently does not get printed.
On 08/26/2009 12:55 PM, Boggess Rod wrote:
> Before someone suggests the GTK_EXPAND option when attaching to the
> table, I tried that. It works horizontally, but not vertically.
AFAICT, you can't make it expand vertically. A quick reading of the gtk
source suggests that it always requests the h
On 08/26/2009 07:57 PM, Marshall Lake wrote:
> I have several g_idle_add() calls from within secondary threads. Is it
> okay for a secondary thread to end while an idle function it had added
> is still active?
Yup. All idle functions run in the main thread regardless of from while
thread they'r
On 09/04/2009 08:12 PM, Marshall Lake wrote:
>
> What stops an idle function from being executed? ... pending events, right?
>
> I have a situation where an idle function does NOT get called with the
> following code:
>
> g_idle_add ((GSourceFunc) idlefunc, NULL);
Well, that works fine for
On 09/30/2009 04:25 PM, John Coppens wrote:
> On Wed, 30 Sep 2009 16:12:50 -0700
> "Brian J. Tarricone" wrote:
>
>>> if (G_LIKELY ((gpointer) g_atomic_pointer_get (value_location) !=
>>> NULL)) return FALSE;
>>> else
>>> return g_o
On 09/30/2009 04:57 PM, John Coppens wrote:
> On Wed, 30 Sep 2009 16:38:10 -0700
> "Brian J. Tarricone" wrote:
>
>> That's odd. Are you sure you don't have mixed versions of glib
>> installed somehow?
>
> I was convinced that I hadn't, be
On 10/05/2009 01:34 PM, Todor Todorov wrote:
> I was looking at the docs for GtkEntry in search of a general signal
> which is emitted when the text in the entry changes - no matter the
> reason.
See GtkEditable::changed:
http://library.gnome.org/devel/gtk/stable/GtkEditable.html#GtkEditable-cha
Hi all,
I'm in a situation where I'd like to use doxygen (and not gtk-doc) to
document some GObject-derived classes. Does anyone have any
experience with this and knows of any tricks to use to make the output
more useful? I found one link via google[1] that referred to this,
but it didn't have m
On Wed, Nov 18, 2009 at 10:35, Per Hermansson
wrote:
> My question is if someone knows a good way to implement this.
> I've tested with estimating the widgets size and if the sum of all children
> is larger
> then the container the next sub-container is used.
> One problem is that the widget's si
On 01/05/2010 01:36 PM, Daniel Yek wrote:
>
> I want to receive X's PropertyNotify event for _NET_WORKAREA and
> _NET_CURRENT_DESKTOP root window properties.
>
> How can I enable them? Can they be received as "property-notify-event"
> signal? Or do I need to use lower level event interface?
I us
On 02/04/2010 11:11 AM, Thomas Stover wrote:
> I'm looking for some notes / advise on catching SIGTERM in a glib main
> loop based program.
> Mainly on linux, but other kernels would be nice. This article:
>
> http://www.linuxjournal.com/article/2121
>
> for instance, recommends masking all sign
1 - 100 of 137 matches
Mail list logo