Hi all,
I have a gtk_menu_item_new_with_label() which is described as:
Creates a new GtkMenuItem whose child is a GtkLabel.
I would like to know how to access this child label (for the purpose of change
the label :)
I've searched around, but the answer seems to elude me.
I tried
Emmanuele Bassi wrote:
On Tue, 2007-07-03 at 23:53 +0800, Gregory Hosler wrote:
Hi all,
I have a gtk_menu_item_new_with_label() which is described as:
Creates a new GtkMenuItem whose child is a GtkLabel.
I would like to know how to access this child label (for the purpose
Hi,
I've got a gtk+ application that needs a few threads put in it, to open up some
bottlenecks.
My question is whether I should go pthreads, or gthreads.
I've played a bit with pthreads, so I have some familiarity with it. I'm
wondering:
- whether pthreads and gthreads can co-exist
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
I have a threaded gtk application. The threads create some gui (gtk
widgets/windows). and most of the time (maybe 80%) everything works as expected.
Occassionally I will get the message on stdout
Xlib: unexpected async reply
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David Ne?as (Yeti) wrote:
On Sat, Aug 04, 2007 at 09:38:25PM +0800, Gregory Hosler wrote:
I have a threaded gtk application. The threads create some gui (gtk
widgets/windows). and most of the time (maybe 80%) everything works as
expected
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David Ne?as (Yeti) wrote:
On Sat, Aug 04, 2007 at 09:38:25PM +0800, Gregory Hosler wrote:
I have a threaded gtk application. The threads create some gui (gtk
widgets/windows). and most of the time (maybe 80%) everything works as
expected
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian J. Tarricone wrote:
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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gabriel Schulhof wrote:
On Sun, 2007-08-05 at 11:29 +0800, Gregory Hosler wrote:
I'm looking for code examples specifically on how to use/implement
g_idle_add().
Know any projects that uses g_idle_add() and related infrastructure?
static
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I have a gtk_scrolled_window() in a window, and occasionally there times when I
wish to force the window to be at the last line, regardless of where the
scrollbar is presently set.
In particular, I have widgets below the scrolled_window that
Hi all,
I have an application, that amoung other things, is receiving a jpg file
from a network connection. Once that file is in memory (it's relatively
small), I wish to load it into a GtkImage (so that I can display it,
e.g. by adding the GtkImage to a vbox, or something like that).
I've been
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David Nečas (Yeti) wrote:
On Fri, Aug 31, 2007 at 02:11:15PM -0700, Mike Melanson wrote:
I have an application, that amoung other things, is receiving a jpg file
from a network connection. Once that file is in memory (it's relatively
small), I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David Ne?as (Yeti) wrote:
On Fri, Oct 19, 2007 at 07:44:19PM +0800, Gregory Hosler wrote:
Gregory Hosler wrote:
Hi all,
I have labels, which I wish to allow the user to select the text for the
purpose
of cut/pasting. So I set
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gregory Hosler wrote:
Hi all,
I have labels, which I wish to allow the user to select the text for the
purpose
of cut/pasting. So I set
gtk_label_set_selectable (GTK_LABEL (dlabel), 1)
on the label.
The problem I have now
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris Vine wrote:
On Sat, 2007-10-20 at 10:11 +0100, Chris Vine wrote:
On Fri, 2007-10-19 at 16:54 +0200, Gian Mario Tagliaretti wrote:
2007/10/19, David Nečas (Yeti) [EMAIL PROTECTED]:
On Fri, Oct 19, 2007 at 03:06:55PM +0200, Gian Mario
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
I have a notebook, and one of the tabs has some buttons on it.
This works just fine.
However, I have the situation where I want to desensitize on of the buttons
(depending upon application state, the button should be unavailable).
So I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm writing an application, and I want to handle some drag and drop stuff.
In particular, the widget being associated w/ the DnD is a notebook. The
notebook is built as follows:
(minus all the attribute stuff :)
window =
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Binary Chen wrote:
On Thu, 2007-12-06 at 11:53 +, Emmanuele Bassi wrote:
On Thu, 2007-12-06 at 19:40 +0800, Binary Chen wrote:
gdk_draw_image() forces a flush. but that is not the problem: you should
never use a while() loop inside a GTK+
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
I have some questions on creating an icon factory.
I've been thru the dev help, and i think i'me doing things correctly. Let me
describe what i'm doing, what works, and what doesn't.
I create a IconSource, and associate it with a file, and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gregory Hosler wrote:
Hi all,
I have some questions on creating an icon factory.
I've been thru the dev help, and i think i'me doing things correctly. Let me
describe what i'm doing, what works, and what doesn't.
I create a IconSource
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
I have a GtkNotebook, and for my tab's I built a GtkBox, with 2 children. a
GtkImage image, and a label.
Now I wish to update the GtkImage, either with another GtkImage, or replace it
with a GtkPixbuf (depending upon, well, stuff...)
My
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dan H wrote:
On Sun, 30 Dec 2007 23:35:02 +0200
Zeeshan Ali Khattak [EMAIL PROTECTED] wrote:
Hi Gregory!
- How do I remove the old object from the GtkBox ?
- How do I free up the old object (image/pixbuf) ? Do I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm having a suspicion that g_object_set_data() leaks. When you use
g_object_set_data(), it will store the key/data pair in a gHashTable in the
object's-data area. When the object is destroyed/freed/unref'ed, it seems to
appear that the memory used by
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi All,
I'm wanting to implement plugin's for an application I'm working on, and one of
the things
I want to do is to allow the plugin's to add items to existing menus.
I have a gtk_menu, and i do container add's to add all my gtk_image_menu_item's
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I have 2 questions on GtkScrolledWindow
The 1st.
I want the scroll bar to be looser. As an example. Suppose I have one item,
an icon, in
a horizontally scrollable window. Lets say that the window is 200 pixels
across, and the
icon is 10
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
I've got a gtk_list_store, and one of the columns I want to make a progress
meter.
I'm gathering that I use teh cell rendered GtkCellRendererProgress for this
column. But I
have 2 points of confusion.
1) When I create the table
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mike Massonnet wrote:
| On Mon, Feb 18, 2008 at 09:29:26PM +0800, Gregory Hosler wrote:
| -BEGIN PGP SIGNED MESSAGE-
| Hash: SHA1
|
| Hi all,
|
| I've got a gtk_list_store, and one of the columns I want to make a progress
meter.
|
| I'm
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mike Massonnet wrote:
| On Mon, Feb 18, 2008 at 10:27:03PM +0800, Gregory Hosler wrote:
| -BEGIN PGP SIGNED MESSAGE-
| Hash: SHA1
|
| Mike Massonnet wrote:
| | On Mon, Feb 18, 2008 at 09:29:26PM +0800, Gregory Hosler wrote:
| | -BEGIN PGP
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I have an application, where, to facilitate looks deep inside callbacks, I
store the Iter
of a row as and when I gtk_list_store_append() it. This allows me to
gtk_list_store_set()
using the saved iter, and it works quite well.
Now, I have a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
For the life of me I cannot get the label to display.
I have tried
gtk_menu_tool_button_new(tools_icon, Tools);
setting the label manually (with gtk_tool_button_set_label(),
which I just found out is exactly when
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John Franklin wrote:
| Can someone please tell me how to save and restore the window position and
size of a GTK app? Searching on
| the web has pointed me in the direction of GnomeClient which I don't really
understand. It seems very complicated
| for
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Is it possible to change the default gtk_file_chooser UI so that:
- an extra column is displayed, specifically the file's size ?
- the columns can be sorted by clicking on the column header ?
I've been all thru the gtk_file_chooser,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
is it possible to:
- create a GdkCursor
- position it in a GdtWindow
- BE able to DISASSOCIATE / ASSOCIATE it with the mouse
upon demand.
i.e. in other words, I want the 2nd cursor to be visible, and fixed
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
is it possible to:
- create a GdkCursor
- position it in a GdtWindow
- BE able to DISASSOCIATE / ASSOCIATE it with the mouse
upon demand.
i.e. in other words, I want the 2nd cursor to be visible, and fixed
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
Is it possible to change the default gtk_file_chooser UI so that:
- an extra column is displayed, specifically the file's size ?
- the columns can be sorted by clicking on the column header ?
I've been all thru the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
I found gdk_draw_drawable(), but don't really understand GdkDrawables. I'd
REALLY like to
draw an image on a different layer such that I can move/remove it w/o having
to redraw
the original. Failing that, I'll settle for learning how to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bob Murphy wrote:
| I found gdk_draw_drawable(), but don't really understand GdkDrawables. I'd
REALLY like to
| draw an image on a different layer such that I can move/remove it w/o
having to redraw
| the original. Failing that, I'll settle for
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
I have a question as regards to g_connect_signal, and signal names that are
passed (as the
2nd arg).
A number of signal names are composite names, dashed/underscored together.
For example, button-release-event
I have some old code, that
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
HI all,
if I look up the documentation on a particular widget, at the bottom of the
devhelp page
there is documentation on which signals it supports.
I'm looking for the inverse.
I have a UI and i need a leave-notify-event, so I wish to know which
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tristan Van Berkom wrote:
| On Sun, Mar 30, 2008 at 7:51 AM, Gregory Hosler [EMAIL PROTECTED] wrote:
| -BEGIN PGP SIGNED MESSAGE-
| Hash: SHA1
|
| HI all,
|
| if I look up the documentation on a particular widget, at the bottom
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
on the gtk_widget devhelp page, there is dome documentation about signals
common to all
widgets. supposedly.
I have a gtk_image, and i'd like to receive enter/leave notifications.
I have enabled GDK_ENTER_NOTIFY_MASK |
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Diego Rivera wrote:
| Hi! I am not exactly new to GTK+, however I have come across a problem i
| have no explanation for, and I'll be glad if someone could point me towards
| a possible solution.
I would suggest running valgrind.
You seem to have
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gorshkov wrote:
| How do you hide a tab/make it invisible in a GtkNotebook? I haven't been
| able to find anything in the API. I've tried setting the label
| insensitive and hiding it, but that doesn't seem to be working?
I would try
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kevin DeKorte wrote:
| Is there is a GLIB function that takes a name like
|
| file:///home/user/name%20with%20spaces.txt
|
| and turns it into
|
| /home/user/name with spaces.txt
|
| Or even something that is close?
|
| Thanks,
|
| Kevin
I had the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lucas Levin wrote:
| Hi,
| What is the best way to make a radio-like group of toggle buttons so
| when one button is activated, all the rest aren't?
Take a look at
GtkRadioButton
in devhelp
All the best,
- -G
| Thanks!
|
|
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
dhk wrote:
| How can a modal window or dialog from a secondary event always and
| completely cover the main window? The main window should look like it
| was replaced until the second window or dialog is closed.
Depending upon the sizes of the two
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi list,
I have an application with some GtkComboBox's in it, and a number of the
comboboxes have
lengthy lists. When the combobox is presses, the entire list is presented on
the screen.
Is there any way to size the popup list such that only, for
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Christopher Harvey wrote:
| Hi,
| I think I've got the ropes of gtk down pat, except that I don't know how
| to create cool and unique windows. I want to create a small window that
| sits in the dock most of the time,
| then pops up a small window
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
I have a gtk_entry field,and i wish to make use of gtkspell.
gtkspell needs to be attached to a GtkTextView.
I am thinking to create a GtkTextView, and set the buffer of the GtkTextView to
be the
buffer of the entry, for the purposes of
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andrew Cowie wrote:
On Sun, 2008-11-30 at 18:04 +0800, Gregory Hosler wrote:
I have a gtk_entry field,and i wish to make use of gtkspell.
Perhaps try SexySpellEntry from libsexy?
http://www.chipx86.com/w/index.php/Libsexy#SexySpellEntry
I'm
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
ttblue wrote:
Using gtk on an embedded unit with a touch screen.
I would like to boot up my application and if the screen is touched
anywhere be able to see that.
Then I can show a calibration screen.
My question is how do I get to see the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi All,
I have a gtk_tree_store (a GtkTreeView, which I gtk_tree_store_append) rows to.
I wish to have a tooltip in the form of a pixbuf.
I further wish the tooltip ONLY on certain entries in one of the columns, and
not on other rows, or other
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kristian Rietveld wrote:
On Mon, May 11, 2009 at 6:55 PM, Gregory Hosler ghos...@redhat.com wrote:
The problem I'm facing is getting the GtkTooltip of a cell of the
GtkTreeStore.
You should keep in mind that tooltips operate on GtkWidgets
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Marshall Lake wrote:
I posted this on gtk-list but in the hope of catching a wider audience ...
I'm developing a program(s) which runs in the client/server environment.
I'm using GTK, sockets, and threads. (GTK and threads only on the
client
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
I have a GtkTextView and associated GtkTextViewBuffer.
It is inside of a GtkScrolledWindow. The GtkScrolledWindow has policy
GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS
The GtkTextView has set_wrap_mode set as GTK_WRAP_WORD, so the horizontal
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 06/17/2010 03:38 PM, David Nečas wrote:
On Thu, Jun 17, 2010 at 09:07:46AM +0800, Gregory Hosler wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
I have an application where I'm making use of animated gifs on a
GtkTextBuffer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 07/21/2010 04:18 PM, Gabriele Greco wrote:
As subject says, what is the correct way to blit from a GdkPixbuf to a
GdkImage without passing through a drawable?
I *know* you asked for GdkImage.
That I do not know. My usage has been from GdkPixbuf
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 08/02/2010 07:34 PM, Jeff Clough wrote:
Reading the docs, it looks like every page of a notebook has a
zero-based index number I can easily retrieve. It also look like there
are ways to re-order the pages in a notebook which may, or may not,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
I'm porting a working GTK2 application to GTK3 on Fedora 14
My first problem is my configure.ac
I wish to have my project compile-able under older gtk2 and also newer gtk3
configurations. For systems that have both gtk3 and gtk2 I want to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 01/30/2013 07:39 AM, Rudra Banerjee wrote:
Dear friends, I am trying hard to get rid of file reading and editing (as
evident from my previous post) Here is a small code where I tried to open
my file in a buffer and scan. Its small, 50 line code.
60 matches
Mail list logo