On 03/01/2010 10:07 PM, Tristin Celestin wrote:
I apologize for being so terse. I was grasping at straws, trying to think
of a specific question regarding GTK binding to get me started. There
have been plenty of bindings to scripting languages in the past, so
I thought asking about them in
So I have a bit of a weird request.
I'm creating a menu based on several merged UI descriptions at
runtime, using GtkUIManager. This part works great.
The problem is that our user experience guys want a sort of
toggle-button-like radio selector at the top of the menu (this will be
for a
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 signals
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 usually
On Wed, Nov 18, 2009 at 10:35, Per Hermansson
hermansson@bredband.net 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
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
On 11/11/2009 08:10 PM, Ryan Lortie wrote:
libdbus links against libpthread.
Hmm:
$ ldd /usr/lib/libdbus-1.so.3.4.0
linux-vdso.so.1 = (0x7fff8ebff000)
libc.so.6 = /lib/libc.so.6 (0x00350100)
/lib64/ld-linux-x86-64.so.2 (0x0034ffa0)
Although:
$ nm
On 10/02/2009 07:17 AM, Allin Cottrell wrote:
On Thu, 1 Oct 2009, Cody Russell wrote:
On Mon, 2009-09-28 at 15:12 -0400, Morten Welinder wrote:
This is a consequence of the halfway G_SEALing that was done.
Insofar G_SEAL is a good idea, it should apply to GTK+ itself,
i.e., GtkLabel has
On 10/02/2009 12:27 PM, Paul Davis wrote:
On Fri, Oct 2, 2009 at 1:53 PM, Brian J. Tarricone bj...@cornell.edu wrote:
On 10/02/2009 07:17 AM, Allin Cottrell wrote:
These two responses (Cody's and Brian's) don't jive. Any more
clarification available? Thanks.
Sure they do... Cody said apps
On 09/30/2009 04:57 PM, John Coppens wrote:
On Wed, 30 Sep 2009 16:38:10 -0700
Brian J. Tarricone bj...@cornell.edu wrote:
That's odd. Are you sure you don't have mixed versions of glib
installed somehow?
I was convinced that I hadn't, because I installed both from Slackware
13.0 (32
On 09/28/2009 06:11 PM, Allin Cottrell wrote:
I'm not sure if the solution Morten advocates -- namely, applying
the GSEAL principle internally -- is the best one, although maybe
it is.
It's not even necessary. Gtk can access struct members directly if
desired (for performance reasons, or
On 09/22/2009 02:59 PM, Denys Vlasenko wrote:
I looked into the code just now. I wanted to check, maybe
I'm really horribly wrong? Maybe it's a beautifully
tight, slim and efficient code after all?
This is an example I found in about 2 minutes:
[...]
These DBUS_TYPE_BYTE_AS_STRING are
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 me,
On 08/25/2009 06:04 PM, John Ralls wrote:
Thank you both for hashing this out for me. I'll persevere with getting
Webkit-Gtk to build with quartz, then. I'm not sure I agree that it's
not that big: WebKit.framework clocks in at 78M.
Presumably WebKit.framework includes WebCore. Would it be
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.
If
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-event =
On 07/31/2009 05:48 AM, Mikkel Kamstrup Erlandsen wrote:
From the looks of it, it should be straight forward to write
GZip{In,Out}putStream classes based on zlib
I'd say call it GCompressed{In,Out}putStream and have it either
auto-detect the compression type, or have a param in the API to
On 07/31/2009 01:59 PM, Mikkel Kamstrup Erlandsen wrote:
2009/7/31 Brian J. Tarriconebj...@cornell.edu:
On 07/31/2009 05:48 AM, Mikkel Kamstrup Erlandsen wrote:
From the looks of it, it should be straight forward to write
GZip{In,Out}putStream classes based on zlib
I'd say call it
On 07/31/2009 01:17 PM, Alberto Ruiz wrote:
2009/7/31 Brian J. Tarriconebj...@cornell.edu:
On 07/31/2009 05:48 AM, Mikkel Kamstrup Erlandsen wrote:
From the looks of it, it should be straight forward to write
GZip{In,Out}putStream classes based on zlib
I'd say call it
On Tue, Jul 21, 2009 at 17:57, Brian Tietzsdbti...@yahoo.com 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
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_STRING
On 07/12/2009 01:02 PM, Frederic Peters wrote:
Alexander Larsson wrote:
The client-side-windows branch has now been merged into master.
The http://git.gnome.org/cgit/gtk+/commit/?id=0b586a5a change to
gdkdrawable.h:
@@ -100,6 +100,7 @@ struct _GdkDrawableClass
void (*draw_drawable)
On 2009/07/11 11:14, John Ralls wrote:
I'm concerned, though, about how committed the gtk development team is
to completing and maintaining the internal parts. There are some serious
holes (pasting and drag-and-drop don't work, just as a particularly
egregious example). Richard told me that he
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
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/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:
WnckScreen
On 06/03/2009 05:36 PM, Paul LeoNerd Evans wrote:
Yes; we messed up 30 years ago and said k when we
meant Ki. Oops. Sorry about that.
Well, no, 30 years ago there was no Ki. So people did the logical
thing and picked the prefix that represented the correct *magnitude* of
the value.
Lets
Benjamin Drung wrote:
Hello,
g_format_size_for_display uses the wrong prefixes for units that are
counted in power of two. The SI defines following prefixes:
k = 1000
M = 1000 k
G = 1000 M
...
Please use the IEC standard for binary prefixes:
Ki = 1024
Mi = 1024 Ki
Gi = 1024 Mi
...
Oh god,
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
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. Tarriconebj...@cornell.eduwrote:
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
On 05/25/2009 09:22 AM, Yu Feng wrote:
On Mon, 2009-05-25 at 20:17 +0800, Davyd Madeley wrote:
OTOH, if GTK+ had API for this, a backend could be written to power the
gnome2-globalmenu applet from this API.
However, the reason why GGM is using GtkWidgets in favor of GtkActions
is that there
On 05/25/2009 02:04 AM, Nemes Sorin wrote:
global menu bar from Usability point of view ...
I am a designer interested in Man - Machine interaction.
Regarding global menu in Gnome, I spent a 2 weeks using globalmenubar
being curious to find in which mode my workflow will be affected (Speed
?
Cody Russell wrote:
On Fri, 2009-05-15 at 13:51 -0400, David Cantin wrote:
I don't known about this, but from an usability point of view, using
native dialog should help applications users because they can use
skills they have learned while they were using others applications..
Those details
[Note that your question is probably more appropriate for
gtk-app-devel-list or gtk-list; this list is for the development *of*
glib/gtk itself, not about developing apps that *use* glib/gtk.]
On 05/14/2009 08:47 PM, walty wrote:
However, one thing that surprised me is that, when I do
On Thu, 7 May 2009 23:32:05 -0400 Matthias Clasen wrote:
- Find a more suitable name for GVariant, maybe. Havoc had
'GBinaryValue' earlier...
GSerializedValue? A bit long... GFlatValue? GComplexValue? (eh.)
-brian
___
gtk-devel-list
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
Alexander Larsson wrote:
On Mon, 2009-04-20 at 18:45 -0400, Allin Cottrell wrote:
On Mon, 20 Apr 2009, Alexander Larsson wrote:
gvfs needs a session bus, not a system bus, so you're falling back to a
non-gvfs system. Thus no http support.
OK, I suppose I can get this working on my own
Cody Russell wrote:
On Thu, 2008-09-25 at 02:02 +0200, Christian Dywan wrote:
* gtk_widget_get_allocation
Removed in 2.14.1
The prototype of this function was not agreed upon among the core
developers. So the decision was deferred to the next Gtk version.
It had to be removed
On Fri, 27 Mar 2009 13:00:52 +0200 Felipe Contreras wrote:
2009/3/23 John Peterson j0...@comcast.net:
Hello – I’m not sure I’ve got the right mailing list for this
question, but I thought I’d try.
I have downloaded glib-2.18.0 on Linux FC4, and am trying to
cross-compile with an
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:
On Sat, 14 Mar 2009 13:16:45 +0100 Alexander Larsson wrote:
On Fri, 2009-03-13 at 14:34 -0700, Brian J. Tarricone wrote:
I think you are conflating two issues.
No, I don't think I am. I think I'm just replying to a subset of the
email that's slightly off topic. Or rather, the fact that I'm
On Sat, 14 Mar 2009 20:10:32 -0400 Morten Welinder wrote:
This is crazy.
People are actually advocating that thousands upon thousands of
applications need to be changed.
If they're behaving incorrectly, yes.
But I don't think most of them are. The only case where *not* doing an
fsync()
Sven Neumann wrote:
It seems wrong to work around broken file-systems on the application
level. That only takes away pressure from the file-system developers to
address the problem properly.
How is the file system broken? Read the man page for write(). If you
want to guarantee that file
Alexander Larsson wrote:
On Fri, 2009-03-13 at 11:11 -0700, Brian J. Tarricone wrote:
Sven Neumann wrote:
It seems wrong to work around broken file-systems on the application
level. That only takes away pressure from the file-system developers to
address the problem properly.
How
Johan Dahlin wrote:
In my opinion, supporting cross-compilation shouldn't be a blocker for
integration into glib proper. It's more of a 'nice feature' to support.
As long as that means glib will still cross-compile, just the
introspection stuff gets disabled, I'm ok with that. Otherwise...
On Tue, 03 Mar 2009 10:55:33 +0100 Alexander Larsson wrote:
On Mon, 2009-03-02 at 22:26 +, Rob Taylor wrote:
Brian J. Tarricone wrote:
Whether or not the object is local (in-process) or not is
irrelevant. Whether or not the method call is sync or async is
also irrelevant. It's
Mark Doffman wrote:
I understand that there is no difference on-the-wire between a
function-call and message passing. The difference is in peoples
perceptions and expectations.
When I read CORBA IDL and see:
int AFunction (int, int);
Because of the connotations provided to me by years of
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
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 g.
Compile with
Federico Mena Quintero wrote:
openSUSE has a patch that changes the invisible-char to ● (Unicode
0x25CF BLACK CIRCLE).
What happens when the current font is missing that character? Will it
try to find another font that has it, or will there be a manual fallback
that uses '*' instead? The
On Sat, 10 Jan 2009 13:42:31 +0200 Andrew W. Nosenko wrote:
First at all, could you provide any real-world example, where min/max
restriction on GParamSpec could be usefull? The reason is simple:
when validation fails, the application has no way to know about it
and, therefore, to do
Cosimo Cecchi wrote:
On Wed, 2008-12-17 at 09:17 -0500, Morten Welinder wrote:
So: what header files are meant to be included by applications? Where is this
information documented?
AFAIK it's not clearly documented anywhere, but in addition to the
toplevel headers, you should always include
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, you can
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: invalid
Johan Dahlin wrote:
b) We *always* use a @gnome.bugs alias as the Default Assignee for
all Gtk+ components, using
a standard, for instance: [EMAIL PROTECTED]
Then what happens when someone takes the bug and assigns it to
him/herself? Not allowing that seems pretty annoying...
Arnaud Charlet wrote:
Hello,
The current code in gdk/quartz/gdkkeys-quartz.c uses a deprecated (since 10.5)
API to handle keyboard layout on darwin, which is not available to x86-64
applications.
Here is a possible patch that uses the new TIS API.
Is the TIS API available in 10.4? If not,
On Wed, 15 Oct 2008 13:48:47 +0200 Robert Staudinger wrote:
Relatedly I am thinking of a sane way to import styling into CSS
blocks to aid widget mimicking. Imagine you want to mimick a GtkButton
with your own wonderful implementation FooButton, but unrelated in
the GType hierarchy (not
Behdad Esfahbod wrote:
Havoc Pennington wrote:
On Mon, Oct 6, 2008 at 4:42 PM, coda [EMAIL PROTECTED] wrote:
Is there any reason not to support NUL/U+ in strings?
The point of not allowing nul in g_utf8_validate() I think is that nul
is not valid text. It may be valid unicode in some
Alexander Larsson wrote:
On Thu, 2008-09-25 at 11:38 -0500, Mike Kestner wrote:
If the motivation for removing the types is that, things aren't as
beautiful as they could be then that argument doesn't really outweigh
the pain of porting existing code. Especially when the cost of
supporting
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
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
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 that
On Fri, 15 Aug 2008 10:58:59 +0300 Tor Lillqvist wrote:
The documentation for g_thread_init() says (in the stable branch):
You must call g_thread_init() before executing any other GLib
functions in a threaded GLib program.
[..]
The real use case reported on gtk-list looked much more
Havoc Pennington wrote:
If the init function does have arguments, then you end up with a
requirement that all libraries and modules calling it must call it
with the same args ... which isn't possible ... so init functions with
arguments are broken unless the *app* and never a library will
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?
GDate*
BJörn Lindqvist wrote:
On Thu, Jul 3, 2008 at 3:49 PM, Alberto Mardegan
[EMAIL PROTECTED] wrote:
ext Havoc Pennington wrote:
Whether you agree or not, the GLib types don't use const in their API,
so if you try to use const yourself on these types you're just signing
up for pain. It won't work
Jean-Yves Lefort wrote:
On Wed, 04 Jun 2008 15:18:45 -0400
Paul Davis [EMAIL PROTECTED] wrote:
On Wed, 2008-06-04 at 20:57 +0200, Jean-Yves Lefort wrote:
Rather than calling my suggestions silly, why don't you actually try
to explain how the non-preprocessed, dynamic-only GLib property
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 should
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, aniket. Unfortunately, this solution does not work
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 a lot Brian. Could you perchance paste the code you used
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
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 do some
Bastien Nocera wrote:
On Tue, 2008-05-06 at 19:41 -0400, Havoc Pennington wrote:
Hi,
On Tue, May 6, 2008 at 4:15 PM, Felipe Contreras
[EMAIL PROTECTED] wrote:
Is there any reason?
I don't know. If I had to guess, it probably wasn't seen as worth
maintaining. After all none of the other
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
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
Ghee Teo wrote:
Cody Russell wrote:
I was thinking that it would be nice if there was an integrated print
preview widget in GTK+, that would be available cross-platform and
wanted to check with people here before I commit much time to this.
Right now we're spawning another process to do this,
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
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 case anyone's interested
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
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
Milan wrote:
I'm trying to use the GtkIconFactory system to set the icon used by
GtkStatusIcon. Once I've created the GtkIconSet for my icons (I have SVg
and PNG versions of the same icon), I use
gtk_status_icon_set_from_stock. Everything goes right, except that the
created icon is 20x20 px
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 you don't
Alexander Larsson wrote:
I think having a dbus api for nautilus is an excellent idea. Suitable
operations include things like:
* list open windows and locations
* open a window
* reload windows showing a location
* modify selection in a window
* modify nautilus metadata like notes and
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? how can
Lieven van der Heide wrote:
Ok, according to the matrix on
http://www.fsf.org/licensing/licenses/gpl-faq.html#AllCompatibility
it's indeed not allowed, although I don't really understand why.
Mathias pointed out exactly why. It's not that linking GPLv2-only to
LGPLv3 violates the LGPLv3
Alexander Shaduri wrote:
Hi all,
Having studied the FSF licenses and their restrictions, I think
it would be reasonable to re-license GTK+ under the LGPLv3
(or later) + GPLv2 linking exception (or, alternatively, simply
multi-license it under LGPLv3 / GPLv2).
Hmm, there's a nifty idea.
Yevgen Muntyan wrote:
Alexander Shaduri wrote:
Hi all,
Having studied the FSF licenses and their restrictions, I think
it would be reasonable to re-license GTK+ under the LGPLv3
(or later) + GPLv2 linking exception (or, alternatively, simply
multi-license it under LGPLv3 / GPLv2).
Hubert Figuiere wrote:
On Tue, 2008-03-18 at 16:03 -0700, Brian J. Tarricone wrote:
You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. [...]
(If a newer version than version 2 of the ordinary GNU General Public
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, NULL);
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
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 own
Pavel Syomin wrote:
Hi, all!
I had been experimenting with GtkBuilder using Gtk+ 2.12.5 from Fedora
8. I have found, that if there is reference to unknown type in UI-file,
then application crashes. Is it a GtkBuilder bug?
Test program:
[snip]
Gtk-ERROR **: Invalid type: Unknown
Michael L Torrie (sorta) wrote:
I'm always amused by people who have big, hires screens and want to
maximize windows. In my opinion, on a 20 wide screen, I want
layouts to be narrow enough to be in a nice tall window that's narrow
enough to allow easy reading.
It's funny that you use the
[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
(This is a bit better suited to gtk-app-devel-list, but...)
Brian Lu wrote:
Thanks a lot for your explanation. But look at following snippet from
firefox latest code base:
void InitWidget() {
mWidget = gtk_invisible_new();
gtk_object_ref(GTK_OBJECT(mWidget));
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
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 every 10 seconds.
Ahh,
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 CPU-intensive.
How large
1 - 100 of 176 matches
Mail list logo