On Mon, Aug 11, 2014 at 11:28:34PM +0200, Florian Müllner wrote:
> That is not quite true - since GTK 3.10, there's
>
> gtk_window_set_titlebar (GTK_WINDOW (window), titlebar_widget);
Unless you are running someting like Gnome 3(?), this will add a
strangely looking thing to the top of your win
On Tue, Jul 01, 2014 at 01:39:03AM -0700, Anoop Neem wrote:
> p->one = textEntry;
> p->two = label;
Here the unititialised textEntry and label pointers are assigned to the
struct fields.
> textEntry = gtk_entry_new();
> calButton = gtk_button_new_with_label("Calculate");
On Fri, Feb 21, 2014 at 03:29:07PM +0800, Wiky wrote:
> The default GtkWindow has a minimize , a maximize and a close button in the
> right or left top coner.
> But I want a window which only has a close button. How can I remove the
> minimize and maximize button?
You can't. In my window manag
On Mon, Feb 17, 2014 at 04:44:53PM +0800, Wiky wrote:
> Hi,all. I'm currently writing a program based Gtk+-3.0.
> When it runs, I get '(a.out:10874): Gtk-WARNING **: Failed to ...' in the
> terminal.
> I know the problem is about GtkLabel, but I really don't know which GtkLabel.
> Is there a way
On Sat, Dec 07, 2013 at 05:54:23PM +, Tristian Celestin wrote:
> I have a GtkListStore that contains 4 columns of unsigned integers
> (G_TYPE_UINT). I would like to display the second column of integers
> in a GtkComboBoxText widget, and I would like the integers to be
> displayed in Base 12.
On Tue, Nov 05, 2013 at 09:47:13AM -0800, David Buchan wrote:
> But when I invoke Valgrind at runtime, I get a lot of errors which I
> can't make any sense of.
>
> I have grabbed a small sample of them here:
>
> http://pdbuchan.com/valgrind.txt
>
> I don't like ignoring errors and warnings, but
On Mon, Oct 28, 2013 at 04:22:38PM +0100, Borja Mon Serrano wrote:
> The point here is: how can I know what button was pressed in order to
> remove a row?
(a) by passing something that identifies the button within user_data
when you do g_signal_connect...
(b) using something along the lines o
On Thu, Oct 17, 2013 at 09:10:30AM +, Andrea Zagli wrote:
> i want to disable mouse click on every widget of a window when i
> change the cursor to GDK_WATCH
gtk_widget_set_sensitive(window, FALSE);
Yeti
___
gtk-app-devel-list mailing list
gtk-app-
On Sat, Oct 05, 2013 at 08:18:58PM -0400, Rena wrote:
> I have a window with a large number of GtkEntry and GtkCheckButton
> displaying stats,
‘Displaying stats’ sounds a bit suspicious because entry and check
button are input widgets.
> Is it possible to speed
> this up, maybe by asking GTK not
On Tue, Oct 01, 2013 at 09:08:12PM -0400, Rena wrote:
> Hi all, I'm developing my first GTK widget. I have it working OK, but I
> can't get g-ir-scanner to cooperate.
Since you don't use libtool to build the library (which I strongly
recommend against but it's your fight) pass --no-libtool to
g-ir
On Sun, Jun 23, 2013 at 11:05:00AM -0700, Kip Warner wrote:
> When the parent window is resized, I'd like the image to scale to fill
> the allocated space as much as possible, maintaining the aspect ratio.
> My code draws the image correctly, but it doesn't resize as the parent
> window is resized:
On Sat, 22 Jun 2013 15:30:34 -0700, Kip Warner wrote:
> Yes, your code is similar to what I had tried before with GtkImage,
> only you're subclassing the DrawingArea instead which is probably a
> better idea, except it still doesn't work properly either.
So how exactly does the behaviour of my sim
On Sat, Jun 22, 2013 at 01:09:17PM -0700, Kip Warner wrote:
> I can't believe resizing a widget in Gtk+ is this difficult.
Frankly, I don't quite understand what you are trying to achieve since
you have never posted anything runnable and your examples have never
included any actual drawing code.
On Fri, May 17, 2013 at 11:40:10AM +0100, Emmanuele Bassi wrote:
> it's maintained only for critical bugs, or for platform support; no
> new feature, and no new API is *ever* going in to the gtk-2-24 branch.
And that's what many 3rd party developers like. Absolutely no changes
except critical bug
On Mon, Feb 18, 2013 at 05:15:56PM +, Rudra Banerjee wrote:
> I am trying to parse a bibtex file using gscanner.
> The problem is that, due to many formats accepted by bibtex, it seems
> bit hard to parse it.
> What I mean is as long as the bibtex is of the form key="some value",
> then g_scann
On Thu, Jan 31, 2013 at 12:32:48AM +0700, Ardhan Madras wrote:
> One thing you should know that most version of GTK+ in today Linux
> system is using version 3.x.
This is somewhat inaccurate. All major Linux distributions contain
Gtk+3 packages and the number of Gtk+3 programs grows. But if you
On Fri, Jan 25, 2013 at 04:25:53PM -0500, Liam R E Quin wrote:
> That it's easier for the programmers to create and read
> application-specific binary files is a problem that would be worth
> fixing.
Probably you mean replacing it with the problem of application-specific
hodge podge XML...
I have
On Thu, Jan 24, 2013 at 09:41:20AM +, Rudra Banerjee wrote:
> g_object_set(cell, "editable", TRUE, NULL);
>
> but I have no idea of how to connect the edited flag to file/buffer. It
> will be very helpful if someone kindly show the way...a very short
> example may be.
Have you read the tutori
On Wed, Jan 23, 2013 at 10:41:54AM -0600, Edscott Wilson wrote:
> I conclude this is a gtk memory leak. It occurs when calling
> gtk_combo_box_new_with_entry(), Apparently, when the dialog that contains
> the combo box is destroyed, the GList "visible_children" in file
> gtkcombobox.c is not being
On Sun, Dec 23, 2012 at 02:35:31PM -0800, Gary Kline wrote:
> in this "popup" dialog I would have a few words that the
> "file does not exist" and want a button WITH the "Enter-key"
> icon that gives an iconic clue that all the user need do is
> hit the enter key. I suppose if the users could, if
On Fri, Dec 21, 2012 at 07:16:07PM -0200, Ivan Baldo wrote:
> What happens is that the Tab handler runs before the value-changed
> handler
This is the wrong view what happens. The adjustment value is not
updated during user's editing of the entry. If the spin button is not
set to "numeric" its e
On Sun, Dec 09, 2012 at 12:57:43AM +1300, Perdie Perduta wrote:
> Using glade with GtkBuilder to create my application GUI. I'm
> developing & testing on Windows 7 using Microsoft C++.
> Trying to add a "record" button to my menu bar. Note: Ideally I would
> have liked a nice red record button that
On Sun, Nov 18, 2012 at 12:05:51AM +0100, Jakub Kucharski wrote:
> Can you tell me what's wrong?
The documentation for gtk_application_get_window_by_id says ‘Since: 3.6’.
Sid has Gtk+ 3.4.
Yeti
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gn
On Tue, Oct 30, 2012 at 06:53:18PM +0400, Vlasov Vitaly wrote:
> GtkTreeIter *default_iter --> GtkTreeIter default_iter;
>
> It's question about:
> default_iter = *iter; <-- is that normal?
Yes. It is explicitly specified that tree iters can be copied by value.
See for instance here
http://
On Tue, Oct 30, 2012 at 05:05:37PM +0400, Vlasov Vitaly wrote:
> Is that normal, to assign one GtkTreeIter to another?
>
> For example:
> void add_new( ... , GtkTreeIter *iter)
> {
> GtkTreeIter *default_iter;
>
> if(iter != NULL)
> {
>default_iter = iter; <-- is that noraml??
On Thu, Oct 11, 2012 at 06:58:04PM +0100, Rudra Banerjee wrote:
> As the treeview is loaded from a file, in my program, new entries can
> also be entered. It writes to the Treeview, as well as in a file using:
>
> strAuth = gtk_entry_get_text(GTK_ENTRY(e->entryAuth));
>
> /*Entering the data in T
On Thu, Oct 11, 2012 at 12:56:36PM +0200, David Nečas wrote:
> In C99 you can also use &(GwyRGBA){0.0, 0.0, 0.0, 1.0}.
I mean &(GdkRGBA){0.0, 0.0, 0.0, 1.0}, was thinking about something
else...
Yeti
___
gtk-app-devel-list mailing list
gt
On Thu, Oct 11, 2012 at 11:14:00AM +0100, Rudra Banerjee wrote:
> So, I am trying to use:
>
> gtk_widget_override_background_color (Hbutton, GTK_STATE_NORMAL,
> GdkRGBA(0,0,0,1.));
>
> ofcourse, this is not the way to use RGBA.
> What is the correct way of using it?
GdkRGBA is a plain C struct a
On Sun, Oct 07, 2012 at 05:43:52PM +0200, Arne Pagel wrote:
> because of my lazy programming style I sometimes forget or overwirte
> the comma before the -1 end of line marker for the gtk_tree_model_get
> or gtk_tree_store_set function. This error can usually not be
> detected by the c-compilers,
On Sun, Oct 07, 2012 at 12:25:22AM +0100, Rudra Banerjee wrote:
> What I am looking for, is make my header clickable to get the sorting,
> with initial view completely unsorted.
Then look at List Store in gtk-demo. It demonstrates this clearly.
Yeti
_
On Thu, Oct 04, 2012 at 06:55:08PM +0900, Tristan Van Berkom wrote:
> I'm curious about this, out of my own personal interest... do we
> have a workable solution for this "commit-on-focus-out" paradigm ?
>
> As I understand, it's not very stable to use focus-out events
> and, I recall reading a de
On Wed, Oct 03, 2012 at 08:19:39PM -0700, Andrew Potter wrote:
> On Wed, Oct 3, 2012 at 7:42 AM, Yury Alyaev wrote:
> > What is the right way to catch "Enter" pressing at the end of the text input
> > to GtkEntry
>
> gtk_entry_set_activates_default() is probably what you want.
If you actually wa
On Wed, Oct 03, 2012 at 09:42:24AM -0500, Yury Alyaev wrote:
> What is the right way to catch "Enter" pressing at the end of the
> text input to GtkEntry. The obvious way is conecting the callback to
> the "activate" signal, but for some reason documentation says
> "Applications should not connect
On Tue, Oct 02, 2012 at 03:42:53AM -0300, Mariano Gaudix wrote:
> Excuse me . For my the question .. someone have or seen a
> PATHBAR written with gtk 3 .
> You can tell me the page address where you can download the code for
> this widget .
I suppose typing ‘dowload Gtk+’ to
On Wed, Sep 19, 2012 at 09:44:28PM +0200, Arne Pagel wrote:
> I have an application where I use a tree-view to display some data
> from an external hardware. Different Objects can be added or removed
> to the treestore, each existing object in the treestore has a specific
> id which is used to get
On Wed, Sep 12, 2012 at 10:40:11AM +0200, Arne Pagel wrote:
> My current simple solution is as follows:
> I use the gtk_tree_model_foreach() function and pass some user data with the
> current major number of the tree-path.
> Inside the foreach-function I use gtk_tree_path_to_string, where I check
On Tue, Sep 11, 2012 at 04:14:52PM +0400, Vlasov Vitaly wrote:
> Is gtk_bin_get_child() always return GtkEntry widget?
For a GtkComboBoxEntry? Yes. But in general, it returns the only child
of a GtkBin container, whatever it is for that container.
Yeti
_
On Tue, Sep 11, 2012 at 03:29:10PM +0400, Vlasov Vitaly wrote:
> I wanna use some ComboBox/Entry widget:
> It should contain tree model with language names and hidden ISO 639-1
> codes, for example "English"("en") "German"("de") "Russian"("ru") or
> other. And, in addition, it should allow to user
On Tue, Aug 21, 2012 at 11:42:53PM +0100, Rudra Banerjee wrote:
> Is it possible to write to a file using g_print?
g_print() is not an interface to print things to *a specific
destination*. Quite the opposite.
It sends messages to the print handler. Depending on the print handler
stup, it do a
On Thu, Aug 16, 2012 at 06:49:25PM +0400, Vlasov Vitaly wrote:
> I need to save newly created list poiner.
No.
Many operations change the list head (by adding, removing, reordering,
..., elements). In general, if an operation returns the new list head
you *must* save and use that in subsequent o
On Tue, Jul 24, 2012 at 08:43:08AM +0200, David Nečas wrote:
> Now please read my reply to your first e-mail...
I see. So, in case you read the mailing list archives: It's a bit
pointless to ask questions in a mailing list if your mailserver blocks
all answer
On Tue, Jul 24, 2012 at 12:27:41AM -0600, Frank Cox wrote:
> Is my understanding of how this actually works correct?
Yes. Now please read my reply to your first e-mail...
> If so, what is the
> recommended way to deal with structures like this?
...that already answered this too.
https://mail.g
On Sun, Jul 22, 2012 at 11:22:07PM -0600, Frank Cox wrote:
> My widgetshare structure gets passed from main() to MainMenu with no
> apparent problem, but using the same scheme to pass emailshare from
> MainMenu to Clear segfaults.
This is elementary C. Both structures are created on stack so they
On Fri, Jul 20, 2012 at 10:15:54AM +0200, Miroslav Rajcic wrote:
> Not sure, but perhaps GTK_IS_WIDGET(widget) macro would help.
If you have the pointer to a GObject instance and want to know whether
it is an instance of GtkWidget (including subclasses) then
GTK_IS_WIDGET() is the right thing to u
On Fri, Jul 20, 2012 at 12:50:45AM -0600, Frank Cox wrote:
> How can I check if a GtkWidget exists?
By keeping track of it (either when you create and destroy the widgets
or using weak references/weak pointers/destroy callbacks/...).
‘Checking the existence of a widget’ is, essentially, a meaning
On Mon, Jul 09, 2012 at 03:40:11PM -0400, Liam R E Quin wrote:
> also check that the free() was OK
I wonder how you do that (apart from not getting any glibc MALLOC_CHECK_
error message or similar).
Yeti
___
gtk-app-devel-list mailing list
gtk-app-deve
On Mon, Jun 18, 2012 at 11:28:48PM +0530, Rudra Banerjee wrote:
> pasted is a minimal layout of my trial to create a bibliography maker.
> The problem is, in Authors tab inside notebook, I want to edit 3 more
> entry, as Editor an example. But its taking only the first entry.
> Please show me where
On Thu, May 31, 2012 at 07:11:10AM +0100, Osmo Antero wrote:
> Now learned that it's a POD, Perl Object.
I meant Plain Old Data, but of course in C. Nothing in GLib (as opposed
to GObject and GIO) is an GObject.
Yeti
___
gtk-app-devel-list mailing lis
On Wed, May 30, 2012 at 08:30:40PM +0100, Osmo Antero wrote:
> I have a multi-threaded application that filters data practically
> while user types text in an entry-field. But this applications
> regularly crashes.
GRegex is not a GObject, it's just POD. So
if (G_IS_OBJECT(search->regex))
w
On Thu, May 24, 2012 at 10:37:01PM +0530, Rudra Banerjee wrote:
> $ gcc curlgtk.c -o cpan `pkg-config --cflags gtk+-2.0` `pkg-config
> --libs libcurl gtk+-2.0`
> /usr/bin/ld: /tmp/ccZN7P8Q.o: undefined reference to symbol
> 'g_thread_init'
If you use gthread you must link with it. Simple. Use
On Fri, May 18, 2012 at 09:12:45PM +0530, Rudra Banerjee wrote:
> Here is a minimal example of a program, where if i click the button, a
> pop up window appears. I am posting both the call back function and the
> main routine (table.c).
> I am facing 2 problem.
Unfortunately, you are facing much m
On Tue, May 15, 2012 at 08:39:12AM +0200, Marc Balmer wrote:
> I want to set properties of an object using the g_value_set_()
> functions and to cast my value (which I get from a Lua script, which
> e.g. does not differentiate between integers and floats) I need to know
> the type of the property.
On Mon, May 14, 2012 at 01:36:02PM -0800, Christopher Howard wrote:
> Is there anything wrong with the regexp,
Sure. Two things. It should be
^/[0-9]+$
not
^/d+$
First, it lacks the backslash to make \d a digit atom. But, second,
since \d matches a digit (possibly whatever Unicode m
On Mon, May 14, 2012 at 08:20:26PM +0800, Rudra Banerjee wrote:
> Can anybody please take some time to show me simple way of
> implementing pango formatting to get greek letters, subscripts and
> superscripts in gtk2+?
What do you mean by ‘implementing Pango formatting'? I suppose you are
not wri
On Thu, May 10, 2012 at 04:45:09PM -0800, Christopher Howard wrote:
> Quick glib question here: I've been getting into glib's error reporting
> system and trying to integrate it into some code. (My code is using
> glib, but not GTK+ itself.) Overall it seems rather straightforward, but
> there was
On Mon, Apr 23, 2012 at 08:18:05PM +0200, Simon Schneegans wrote:
> I asked this question on another mailing list. There I got the hint
> to ask here, maybe you can help me!
>
> I'm going to write my bachelor thesis on different menu types (e.g.
> Pie Menus). For this reason I'd like to replace th
On Mon, Apr 23, 2012 at 05:16:52PM +0530, Leena Chourey wrote:
> I want the focus to move selection/focus from one icon to another
> automatically on single key press. I have tried to just run key_press event
> code in a loop, but the selection is not moving from one to another, it is
> directly co
On Mon, Mar 19, 2012 at 07:25:22PM +, Chris Vine wrote:
> Are you saying that on your hardware, holding one key down blocks press
> and release events for all other keys? I am not saying you are
> wrong, but I find that surprising.
IMO Christopher observes this:
1) press A
2) press B while st
On Tue, Mar 06, 2012 at 10:07:16AM -0900, Christopher Howard wrote:
> Hi. I've installed the api documentation from the source code for both
> gtk+ and glib, but I can't seem to find an api description of
> g_signal_connect().
http://developer.gnome.org/gobject/stable/gobject-Signals.html#g-signal
On Fri, Feb 03, 2012 at 11:36:13PM +0100, Stefan Salewski wrote:
> How can I immediately activate or deactivate tooltips for all TreeView
> widgets on user action, i.e. menu operation.
You can enable/disable all tooltips using the "gtk-enable-tooltips"
GtkSettings property.
But if you want to ena
On Sun, Jan 29, 2012 at 02:36:03PM -0800, Gary Kline wrote:
> i've seen this and don't like it; i'd rather have every
> Konsole have its own menubar. same with other GUI apps.
Me too but OS X does this. Aparrently, it does not matter nowadays
whether something makes sense or not but
On Thu, Jan 19, 2012 at 12:58:09AM -0800, Gary Kline wrote:
> i've spent the last many days tryoing [on ubuntu] anf tonight on my
> EEE-900A netbook [debian]. both dim when i go into a recursive
> loop.
>
> 1. edit with gvim
> 2. have espeak voice gvim when it is written
> 3 goto 1;
>
> tonigh
On Tue, Jan 17, 2012 at 04:12:51PM +0900, Tristan Van Berkom wrote:
> Even in english, these boolean YES/NO questions can seem ambiguous,
If you use wordy and convoluted questions such as
> "Are you sure you want to quit without saving"
then nothing can help the poor users. Of course, they ar
On Sun, Jan 15, 2012 at 01:26:53PM -0800, Gary Kline wrote:
> is there a way of having a YES/NO dialog [that asks a qauestion]
> return a truth value? i'm looking for something like the macro
> eprint(...) that James Steward sent in late december.
Use gtk_message_dialog_new() with GTK_BUTTONS_YES_
On Sat, Jan 14, 2012 at 07:50:15PM -0800, Gary Kline wrote:
> ok, one function runs in a recursive loop, endlessly. i could do this
> differently, say from main. that is my question: how do i get the
> value 1 or TRUE back from a dialogue that asks simply: "Talk again?"
Use the return value of
On Sat, Jan 14, 2012 at 12:34:10PM +, Neil Munro wrote:
> I was wondering if it is possible to remove a tool item from a
> toolbar instantly,
=
from gi.repository import Gtk
def modify(b, t):
if t.get_n_items() == 1:
b.set_stoc
On Fri, Jan 13, 2012 at 11:59:45AM -0800, Gary Kline wrote:
> I finally know =where= i want to exit my gtk program, but exit
> just doesn't break me out of my while() loop. what's the magin?
exit() *does* terminate the program no matter what loop or whatever it
might be running.
So, most likely
On Mon, Jan 02, 2012 at 02:42:43PM -0800, Gary Kline wrote:
> could you please explain more about this macro and how to
> resolve the complaint?
Use GTK_WIDGET_IS_SENSITIVE() instead of gtk_widget_is_sensitive().
> as you note, things do only now frown using the macro def:
>
>
On Mon, Jan 02, 2012 at 12:15:45PM -0800, Gary Kline wrote:
> main.c:157: warning: implicit declaration of function âchdirâ
> main.c:362: warning: implicit declaration of function âsleepâ
Declared in unistd.h. Forgot to include it?
> main.c: In function âinc_button_click_cbâ:
> main.
On Fri, Dec 30, 2011 at 01:28:32PM +0100, Moritz Renftle wrote:
> i want to make one of those widgets visible from
> another thread
Use glib.idle_add() in that other thread to subsequently execute the
actual Gtk+ code in the thread running the Gtk+ main loop.
Yeti
___
On Tue, Dec 20, 2011 at 10:43:43PM +1100, Andrew Cowie wrote:
> On Tue, 2011-12-20 at 09:25 +0100, David Nečas wrote:
>
> > Using gtk_paint_focus() in the "draw" handler...
>
> Deprecated now, apparently; refers to
> http://developer.gnome.org/gtk3/3.3/GtkSty
On Tue, Dec 20, 2011 at 11:24:44AM +0530, Guruprasad Bhat wrote:
> When I set the focus line pattern in rc file, dotted border comes around
> button widgtes, entry widgets when focus comes on that. But for event box,
> layout, even though i set Can focus flag TRUE focus in indication is not
> appe
On Fri, Dec 16, 2011 at 04:09:54PM -0700, Michael Torrie wrote:
> > 1. Copy an entire GTK widget and give it a unique name.
> > Example: GtkButton becomes GtkMyButton
>
> You really could Create a GtkMyButton by inheriting from GtkButton and
> adding your own code. However, just as in C++, th
On Sat, Dec 10, 2011 at 08:16:39PM +0100, Antonio Weber wrote:
> I'm trying to write a small app which uses a GtkTreeView to display a
> table. For some reason it does not work as expected so I extracted my
> usage in a small tableTest app (which a attach to this mail).
You bind all view columns t
On Fri, Dec 09, 2011 at 05:40:09PM -0800, Gary Kline wrote:
> guys, i am appending a piece of gtk test code. it saves the
> internal filename buffer for "espeak -f %s ifbuf" to run
> on--to be the user's voice. if i set
>
> static char *prefix = "talk";
>
> then
On Fri, Dec 02, 2011 at 03:55:51PM +0100, Rafał Krupiński wrote:
> I rather meant to use my object as a model for a whole, multi-column
> row, somehow binding fields or properties to columns.
It makes no sense (to me anyway) to imagine one object as multiple
*model* columns.
But it is easy to cre
On Thu, Nov 24, 2011 at 04:30:25PM +0100, Rafał Krupiński wrote:
> How do I display list of custom objects in GtkTreeView?
> GtkTreeView takes GtkListStore as a model, but it doesn't allow custom
> objects, only list of gobjects.
>
> On the other hand, when I want to read list's selection all I ge
Was it really necessary to cross-post this question to *four* mailing
lists?
On Sat, Nov 19, 2011 at 07:55:59AM -0500, Phong Cao wrote:
> I use GtkHScale for the progress bar, which is responsible for
> updating the track progress & allow user to move to different time position
> in the track.
>
On Thu, Nov 03, 2011 at 04:07:44AM -0400, Craig wrote:
> Is there a list of linux "flavors" like Ubuntu, KDE, Red Hat... that
> include or don't include gtk?
Use distrowatch. It lists the packaged version of Gtk+ for every
version of the distribtion. E.g. for Fedora:
http://distrowatch.com/
On Tue, Sep 13, 2011 at 01:43:06PM +0430, Mohsen Pahlevanzadeh wrote:
> You know that if install a package, may be it creates a directory in
> your home directory which begin dot. Such as .purple (pidgin appl)
> Recently i see many of appl such as evolution don't use this method and
> use .local .g
On Mon, Sep 05, 2011 at 02:37:32PM +0100, Andrew Wood wrote:
> However in the mainwindow is a GtkScrolledWindow, and although its
> detecting mouse movement over the display area, if the user is just
> moving the scrollbarsandnot doing anything else, as they would if
> reading through some te
On Wed, Aug 24, 2011 at 03:50:46PM +0200, Michal Suchanek wrote:
> I have a list which I want to display in two treeviews and prevent
> selecting the same item in both.
>
> The idea is that the user selects an item in the first list, then the
> second list is shown, and it should not contain the i
On Tue, Aug 09, 2011 at 03:19:16PM +0800, zxx zxx wrote:
> I have some experience in Qt but not Gtk+. I can get argc and argv from
> Qt API when I develop application with Qt4:
> QCoreApplication::argc();
> QCoreApplication::argv();
>
> But I don't know how to get argc and argv fro
On Tue, Aug 09, 2011 at 02:24:30PM +0800, Xi Yang wrote:
> I changed both page size and page increment to 0, and the slider moves.
> However, why I get an initial value of 0, instead of 5?
>
By changing the value property:
> 5
Yeti
___
gtk-app-devel
On Tue, Aug 02, 2011 at 05:10:22PM +0800, czk wrote:
> 你是如何把所谓的文档设置成为utf-8的?我想应该不是没有中文字库吧,查看gtk安装目录下的
> etc/fontconfig/fonts.com都配置了哪些字库。还是怀疑你的文本不是utf-8的。Linux平台默认统一使用utf-8,中文Windows使用GB2312(或GBK,或GB18030??),这两个系统在字符编码交互起来,真是无比dan疼。我一般用iconv手动转换。
If you post to the list please do so in the list la
On Mon, Jul 25, 2011 at 04:50:09PM +0200, Pavol Klačanský wrote:
> Hi, I have written simple rss reader and I tested it with 10k items in feed.
>
> Xml and parsing takes while (in second.) but drawing takes minutes
Creating tens of thousands of widgets that mostly will not be displayed
indeed take
On Wed, May 18, 2011 at 03:50:57PM -0700, Fabian Greffrath wrote:
>
> Unfortunately not. :(
Maybe something similar to what you are trying to do could work - with
considerable effort. But it is completely upside down from the point of
view how normal Gtk+ applications work.
Gtk+ runs an event lo
On Sun, May 01, 2011 at 03:03:32PM +0200, Pavol Klačanský wrote:
> Hi, I need in my about 5 and more treeviews. I created one using glade,
> but I don't know how can I use it multiple times, gtk says something
> like this
You cannot display the same *widget* multiple times, i.e. pack it to
contain
On Sun, Apr 24, 2011 at 11:11:58AM +0900, Tristan Van Berkom wrote:
> Anyway, with a good VCS you should be able to easily maintain an old GTK+2
> branch of your project and easily backport the fixes which apply from your new
> GTK+3 branch back into the old source base (and avoid the whole #ifdef
On Thu, Apr 21, 2011 at 12:30:29PM +0100, John Emmas wrote:
>
> Thanks David. I just checked OpenSuse which I've got installed on a
> different machine. For OpenSuse, "/bin", "/opt" and "/usr/bin" are
> not accessible to me as a mere user. However, "/usr/local/bin" is
> fully accessible to ever
On Thu, Apr 21, 2011 at 12:00:41PM +0100, John Emmas wrote:
>
> So I guess the question I'm asking is whether or not, by convention,
> /usr/local and /usr/local/bin will tend to have universal read, write
> and execute permissions. They do in my distro but there are many
> other distros..!
Your
On Fri, Mar 11, 2011 at 11:42:12AM +0100, Jaroslav Šmíd wrote:
> GtkTargetEntry targets[] = {
> {"text/html", 0, 0},
> {"text/plain", 0, 0}
> };
>
> size_t num_targets = sizeof(targets) / sizeof(targets[]);
>
> // This IS required no matter what, or your program WILL BE broken
> if (sizeof(size
On Sat, Mar 05, 2011 at 06:51:29PM -0500, Craig Bakalian wrote:
> I am still at it. It is a lonely night here. My kids are playing with
> legos, and I am baffled by this. I have run pkg-config to no avail.
So, what does it print then? Are the flags and libraries printed with
--libs those you e
On Sat, Mar 05, 2011 at 02:13:20PM +0800, Mike Ma wrote:
> I want g_error() to write messages to files, because released edition
> shouldn't to print any messages on terminal. But if find any bugs,
> should to find error messages to send support team.
> I have read'd GLib sources, but not find any
On Fri, Mar 04, 2011 at 12:45:18PM -0500, John Lumby wrote:
> I have been playing with a small application using the new (in gtk3)
> GtkSwitch ("light switch" style) widget. The reference manual does
> not mention any signal specific to this widget, and I think it would
> be nice to have one.
On Sat, Feb 19, 2011 at 02:42:14PM +0100, Jaroslav Šmíd wrote:
> Hmm, resending, got identified as spam ...
I would not expect such intelligence from the spam filter but there you
have it...
Yeti
___
gtk-app-devel-list mailing list
gtk-app-devel-list@g
On Sat, Feb 19, 2011 at 02:37:51PM +0100, Jaroslav Šmíd wrote:
>
> Maybe. Doesn't meen you didn't tell which one.
I did not have to because everyone except you understood the context.
Since you did not ask the question and evidently know better your
failure to understand is of little concern.
> *
On Sat, Feb 19, 2011 at 01:21:37AM +0100, Jaroslav Šmíd wrote:
> C99 has no implicit int shits, so don't ignore compiler's warning and
> fix it.
>
> David Nečas: "All according to the C standard". Right, you didn't tell
> us which one, one could think yo
On Thu, Feb 17, 2011 at 09:46:14PM +0200, Costin Chirvasuta wrote:
> On Thu, Feb 17, 2011 at 9:11 PM, Craig Bakalian
> wrote:
> > Hi David and KC,
> >
> > The did the trick. But it is odd behavior.
> >
> > #include was already in my includes.
>
> Then g_remove must be a macro for a function in
On Thu, Feb 17, 2011 at 12:45:36PM -0500, Craig Bakalian wrote:
> I have gtk and glib as includes? Am I missing something?
Yes, on Unix the g_-wrappers are often just macros resolving to the
underlying system function. So you need to
#include
to get the real declarations (dunno why it's not d
1 - 100 of 188 matches
Mail list logo