On Tue, Feb 27, 2018 at 1:59 PM, Takao Fujiwara wrote:
> How can I set the title name of GtkWindow on gnome-shell?
gtk_window_set_title(), but that's probably not what you mean - there
are few places where gnome-shell uses the window title, in general the
application name is
On Wed, Jan 17, 2018 at 3:19 PM, Lucky B.C wrote:
> I'm trying to get the range of the selected word by
> gtk_text_iter_get_offset (start) and gtk_text_ter_get_offset (end) on
> the “extend-selection” signal,
Right, that doesn't work. There is no selected word when the
On Sun, Dec 3, 2017 at 11:39 AM, rastersoft wrote:
> Thanks. That explains the problem: the .desktop file differs from the
> program because the program ends in .py :(
GNOME Shell does not *really* use the binary name to match .desktop
files, but the WM_CLASS (X11) or
On Fri, Dec 1, 2017 at 12:33 PM, Felipe Borges wrote:
> You could make it darker by setting some css properties for its css
> node [...]
Of course thanks to the joys of theming, making separators *darker*
may end up making them *less* visible if the user happens to use
Hey,
this is not a question about the development of GTK+, but about using GTK+
for app development - gtk-app-devel-list is a better place for this, so
moving there.
On Thu, Jun 1, 2017 at 3:10 PM Karan Ahuja wrote:
>
> I wish to display 3 lines in gtk textview as
On Thu, Jun 16, 2016 at 9:11 PM Stefan Salewski wrote:
> So your observed behaviour seems to be intended. When application is
> started with arguments, example_app_open() is called, which includes
> the code of example_app_activate(). This indicates that
>
On Sun, Aug 10, 2014 at 7:31 PM, Michael Cronenworth m...@cchtml.com wrote:
On 08/09/2014 04:25 PM, Mahan Marwat wrote:
How can I add a custom titlebar to my GUI application?
Are you asking for custom text or a complete replacement with widgets of
your own?
[...]
If the later, GTK does
Ooops, I missed replying to the list as well ...
-- Forwarded message --
From: Florian Müllner fmuell...@gnome.org
Date: Thu, Feb 13, 2014 at 2:14 PM
Subject: Re: Can't link to Pango
To: Bric b...@flight.us
On Thu, Feb 13, 2014 at 8:45 AM, Bric b...@flight.us wrote:
Here is my
On Mon, Jun 17, 2013 at 6:46 PM, John Coppens j...@jcoppens.com wrote:
I would like to make DArea full-screen, if possible even hiding the
window borders.
gtk_window_fullscreen() will ask the window manager to fullscreen the
window, which should work as expected on most commonly used WMs.
The
On Sat, Feb 9, 2013 at 12:39 AM, Diego Felix (Bill) diegob...@gmail.com wrote:
I tried to make the gtk+ from git repository (branch broadway)
Why? That's an old development branch that has long been merged to
master; to build the broadway backend, just configure GTK+ (master or
any version =
On mar, 2011-12-13 at 15:02 -0800, Gary Kline wrote:
anybody know where i'm messing up?
int
main (void)
{
GtkWidget *window;
GtkWidget *vbox, *hbox;
[...]
gtk_container_add (GTK_CONTAINER (window), vbox);
[...]
gtk_container_add (GTK_CONTAINER (window), hbox);
GtkWindow
On mar, 2011-12-13 at 16:40 -0800, Gary Kline wrote:
hm. okay, so i removed the second gtk_container_box and got the
same results. the following hbox is missing from the window:
button_dec = gtk_button_new_from_stock (Decrease counter);
gtk_box_pack_start (GTK_BOX (hbox),
On mar, 2011-12-13 at 17:23 -0800, Gary Kline wrote:
On Wed, Dec 14, 2011 at 02:03:21AM +0100, Florian M?llner wrote:
Did you add 'hbox' to any container ('vbox' in your code example)?
nope.
What I meant to say is: you need to add 'hbox' somewhere in the widget
hierarchy. Add it to 'vbox'.
On lun, 2011-09-12 at 15:10 -0400, Craig wrote:
I am shocked to see that after I iterate through the GList, I cannot
iterate through the list again.
That's an easy one :-)
while(events)
{
/* [...] */
events = g_list_next(events);
}
On mié, 2011-08-31 at 12:30 +0100, John Emmas wrote:
2) When I'm creating a new directory using g_mkdir_with_parents() I've
tended to specify 0775 for the mode flags - simply because that's what
I've seen in every example. But presumably there's a range of flags to
choose from. Is there a
Hey,
2011/7/28 James jamesstew...@optusnet.com.au
In a dialog with a scrolled window displaying a list, with one column in
the view, where the cells are editable;
gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (view),
-1,
Name,
On Fri, 2011-01-14 at 04:36 -0500, craigbakalian wrote:
xml = glade_xml_new (mLilyEditor.glade, NULL, NULL);
myLilyEditor.glade does not mean in the same directory as the
executable but in the current working directory.
Usually you define a constant from your Makefile.am (e.g.
El dom, 05-09-2010 a las 15:10 +0100, Andrew Wood escribió:
When it runs it spews out:
(process:2153): GLib-GObject-CRITICAL **:
/build/buildd/glib2.0-2.24.0/gobject/gtype.c:2706: You forgot to call
g_type_init()
Make sure to call g_type_init() before using any GObject library.
El mar, 13-07-2010 a las 06:56 +0100, N James Bridge escribió:
It's useful to blank out a drawing area by drawing a filled rectangle
with the same size as the window. The examples I have seen get the
dimensions from widget-allocation.width but Devhelp says that the
GtkAllocation structure is
Hi,
El dom, 27-06-2010 a las 18:19 +1000, Mick escribió:
Thanks, a clear answer to question 1 and 1.5 answers to question 2, I
didn't notice the gtk_tree... way ontil after I guessed how to gobject
set it, out of interest, which is better?
Whichever looks better :-)
Seriously, calling
Hi,
El dom, 27-06-2010 a las 12:25 +1000, Mick escribió:
I know that, I have searched but not found anything that says this is
how you set the properties of ...
... an GObject:
http://library.gnome.org/devel/gobject/stable/gobject-The-Base-Object-Type.html#g-object-set
what I'm trying to do
El sáb, 26-06-2010 a las 20:35 -0700, Steve Harrington escribió:
This is a frustration I sometimes encounter. How do you know to do
this? I see nothing in the documentation for GtkCellRenderer or any of
it's antecedents that shows wrap-width or wrap-mode as a property.
That's because both
Hi,
the code you posted looks a little incomplete, but nevertheless I think
you got it a little backwards. From what I see, it should look more or
less like this (note: I didn't actually try to compile this):
gboolean
build_thumbnails (gpointer user_data)
{
printf (BUILD!);
}
gboolean
El dom, 13-06-2010 a las 20:27 +0200, Tomasz Jankowski escribió:
What should I do with GFile objects (GFile *) ? What are they, regular
GObject objects which I can destroy using g_object_unref() or maybe they're
managed internally by GIO?
GFile is an interface which is implemented by various
El mié, 09-06-2010 a las 22:02 +1000, Tao Wang escribió:
How can I do this if I migrate to GtkBuilder? There is no similar function
of 'glade_xml_get_widget()'.
gtk_builder_get_object() is what you want :)
___
gtk-app-devel-list mailing list
El jue, 28-01-2010 a las 17:09 -0500, ferar achkar escribió:
How can I safely emit a custom signal from a working thread to gtk main
loop (main thread) to execute a custom call back function connected to
that custom signal.
Not sure if I understand your intention here. In GObject/GTK+, signals
On Fri, 2010-01-22 at 15:13 +0100, fka...@googlemail.com wrote:
So, could anyone please confirm if this is correctly coded:
Well, first of all I don't think g_object_force_floating() is intended
for general application use. Beside that, the code looks overly
complicated. Why not do:
(0) Object
On Wed, 2010-01-13 at 11:52 +0100, Gabriele Greco wrote:
GError *err = NULL;
if (!gtk_builder_add_from_file(builder_, myfile.xml, err)) {
if (err) {
cerr builder load fail: err-message '\n';
g_free(err); // commenting this solves the crash but other gtk apis
El vie, 08-01-2010 a las 10:43 -0500, Chris Bare escribió:
I'm creating an app with glade, and I've got a GtkAboutDialog. my About menu
item's activate singal calls gtk_widget_show which works as expected.
Using gtk_dialog_run() instead of gtk_widget_show() will do what you
want without
El jue, 10-12-2009 a las 22:05 +0800, Zhangwei escribió:
hello
i'm new in gtk
i'm puzzled about the callback functions: g_callback() gtk_signal_func()
they looked same
is there anyone can tell me the difference ?
There is none. The object/signal system of Gtk was split out into
GObject a
On mar, 2009-11-17 at 10:47 +, ds.sun...@gmail.com wrote:
Thank you very much for your replies guys...
I run my test application with -g option and i am getting the following
error message. I not able to fix the issue with the available information.
Am i doing things correctly or
El mar, 03-11-2009 a las 07:39 -0800, Steve Harrington escribió:
I am trying to use g_object_get_data() to retrieve the GtkWidget * of an
object. Seems simple enough but The attached code doesn't work. I must
have missed something simple but darned if I can see it.
Indeed -
On Fri, 2009-10-30 at 09:57 -0700, John Stebbins wrote:
On 10/30/2009 09:24 AM, John Stebbins wrote:
I just installed fedora 12 beta on one machine and ubuntu 9.10 on
another. Both have gtk 2.18.3. When I run my application on either
system, my toolbutton labels are not visible. Am I
33 matches
Mail list logo