Hi, ALL,
I read that the timer event processing is differ between x86 and ARM.
On x86 it fires at 1/1000 interval, on ARM it fires at 10/1000
interval.
If I use g_timeout_add_seconds( 1, ...) am I guaranteed that the timer
events will fire with 1 sec interval independently of the arch?
Thank you.
.
Will I be better off with just continuous loop inside thread or the
timer will do?
Thank you.
On Wed, Apr 6, 2011 at 12:05 PM, Paul Davis wrote:
> On Wed, Apr 6, 2011 at 2:49 PM, Igor Korot wrote:
>> Hi, ALL,
>> I read that the timer event processing is differ between x86 and AR
Hi, Robert,
On Wed, Apr 6, 2011 at 3:42 PM, Robert Pearce wrote:
> Hi Igor,
>
> On Wed, 6 Apr 2011 12:12:56 -0700 you wrote:
>> My task is to read the external device thru the serial port with the 1
>> sec interval.
>> And then update the GUI with the new data.
>> At least the documentation of th
Hi, Robert,
On Thu, Apr 7, 2011 at 12:59 AM, Robert Pearce
wrote:
> Hi Igor,
>
> On Wed, 6 Apr 2011 22:38:43 -0700 you wrote:
>>
>> Just one question: AFAIU this pair is polling the port for data and
>> when they become available I need to
>> drop them in the GUI.
>> It's going to be something l
Hi,
On Thu, Apr 7, 2011 at 11:15 AM, Paul Davis wrote:
> On Thu, Apr 7, 2011 at 2:07 PM, Igor Korot wrote:
>
>>> Now you can hook up a call-back:
>>> RxEventSrc = g_io_add_watch ( hFile, G_IO_IN, HandleAsyncRx,
>>> (gpointer)Instance );
>>
>> B
OK, thanx.
On Thu, Apr 7, 2011 at 11:47 AM, Paul Davis wrote:
> On Thu, Apr 7, 2011 at 2:24 PM, Igor Korot wrote:
>> So is there one thread or two? ;-)
>
> one thread. this has the same problem that anything using a (G)UI
> event loop for I/O does - the callback may be dela
Hi, ALL,
Apologies for possibly screwing up the threadding. I accidentally
killed the messages in my INBOX.
My (hopefully last) question here in this thread is: g_io_add_watch()
should take a callback (i.e. static function) or just a regular
function?
Thank you.
__
Hi, ALL,
I need to change the markup text in the label conditionally in the loop.
However, I'm getting this on the second call of gtk_label_set_markup():
(mini2440gtk:19672): GLib-GObject-WARNING **: invalid cast from
`(null)' to `GObject'
(mini2440gtk:19672): GLib-GObject-CRITICAL **: g_object_f
Hi, David,
2011/4/8 David Nečas :
> On Fri, Apr 08, 2011 at 01:17:52AM -0700, Igor Korot wrote:
>> I need to change the markup text in the label conditionally in the loop.
>> However, I'm getting this on the second call of gtk_label_set_markup():
>>
>> (mini2440
Hi, David,
2011/4/8 David Nečas :
> On Fri, Apr 08, 2011 at 10:30:32AM -0700, Igor Korot wrote:
>> $ ./ G_DEBUG=fatal-warnings
>>
>> Right?
>
> No,
>
> G_DEBUG=fatal-warnings ./program
>
> It's an environment variable:
>
> http://develop
Thank you.
On Fri, Apr 8, 2011 at 11:00 AM, Igor Korot wrote:
> Hi, David,
>
> 2011/4/8 David Nečas :
>> On Fri, Apr 08, 2011 at 10:30:32AM -0700, Igor Korot wrote:
>>> $ ./ G_DEBUG=fatal-warnings
>>>
>>> Right?
>>
>> No,
>>
>>
Richard,
On Fri, Apr 8, 2011 at 11:07 AM, richard boaz wrote:
> yes, one can only conclude that you are using global variables for data that
> changes over time. -r
Nothing changes.
Besides there is no NULL pointer dereferencing...
Thank you.
>
> On Fri, Apr 8, 2011 at 8:00 PM
David,
2011/4/8 David Nečas :
> On Fri, Apr 08, 2011 at 11:00:59AM -0700, Igor Korot wrote:
>> Program received signal SIGABRT, Aborted.
>> [Switching to Thread 0xb7106b40 (LWP 22539)]
>> 0xb805c424 in __kernel_vsyscall ()
>> (gdb) bt
>> #0 0xb805c424 in __kernel
Hi, Robert,
On Fri, Apr 8, 2011 at 1:11 PM, Robert Pearce wrote:
> On Fri, 8 Apr 2011, Igor Korot wrote :
>>
>> And the first time I am using this function is in this code:
>
>>
>
>> data1 = gtk_label_new( NULL );
>
>> gtk_label_set_markup( GTK_L
loc'd or (recently) free'd
Is g_source_get_current_time() writes something?
Thank you guys. I learned a lot from this thread.
On Fri, Apr 8, 2011 at 1:33 PM, Igor Korot wrote:
> Hi, Robert,
>
> On Fri, Apr 8, 2011 at 1:11 PM, Robert Pearce
> wrote:
>> On F
Robert,
On Fri, Apr 8, 2011 at 1:03 PM, Robert Pearce wrote:
> On Fri, 8 Apr 2011, Igor Korot wrote :
>>
>> My (hopefully last) question here in this thread is: g_io_add_watch()
>> should take a callback (i.e. static function) or just a regular
>> function?
>
&g
ly.
Is it possible to use m_data with GIOChannel?
Thank you.
>
>
>> -Original Message-
>> From: gtk-list-boun...@gnome.org [mailto:gtk-list-boun...@gnome.org] On
>> Behalf Of Igor Korot
>> Sent: Friday, April 08, 2011 3:54 PM
>> To: gtk-list@gnome.org
>
Paul,
On Fri, Apr 8, 2011 at 3:28 PM, Paul Davis wrote:
> On Fri, Apr 8, 2011 at 6:14 PM, Igor Korot wrote:
>> Mikhail,
>>
>> On Fri, Apr 8, 2011 at 2:33 PM, Mikhail Titov wrote:
>>> As far as I understand it is possible to use it with NULL for encoding. It
>
relying on the cross-compiler to do the right thing for me
in terms of endianess.
Should I care about that?
Thank you.
>
> Mikhail
>
>
>> -Original Message-
>> From: gtk-list-boun...@gnome.org [mailto:gtk-list-boun...@gnome.org] On
>> Behalf Of Igor Korot
m not getting data
properly, so I guess
the image set as big endian by default.
Thank you.
>
> Mikhail
>
>
>> -Original Message-
>> From: Chris Vine [mailto:ch...@cvine.freeserve.co.uk]
>> Sent: Friday, April 08, 2011 7:02 PM
>> To: Mikhail Titov
>&g
Chris,
On Fri, Apr 8, 2011 at 5:02 PM, Chris Vine wrote:
> On Fri, 8 Apr 2011 18:36:41 -0500
> "Mikhail Titov" wrote:
>> Just use something like __attribute__ ((__packed__)) for your
>> structure and you can always cast back and forth from the pointer to
>> your structure to an array of bytes (c
Robert,
On Fri, Apr 8, 2011 at 11:53 PM, Robert Pearce
wrote:
> Hi Igor,
>
> On Fri, 8 Apr 2011 18:08:30 -0700 you wrote:
>> So, what is the best course of action?
>> I just tested the program on the device and on x86. On x86 it produced
>> correct
>> results, whereas on the ARM device it didn'
Robert,
On Sat, Apr 9, 2011 at 12:05 AM, Robert Pearce
wrote:
> Hi Igor,
>
> On Fri, 8 Apr 2011 13:33:29 -0700 you wrote:
>> >> gtk_label_set_markup( GTK_LABEL( data1 ), m_data1->str );
>> >
>> >> g_free( m_data1->str );
>> >
>> >
>> > Really? What is m_data1? Your earli
Hi, guys,
On Sat, Apr 9, 2011 at 4:04 AM, Chris Vine wrote:
> On Sat, 9 Apr 2011 00:14:45 -0700
> Igor Korot wrote:
> [snip]
>> Is there any way to find out if the device is little- or big-endian?
>
> Which device are you referring to? You appear to be writing some
Hi, ALL,
I am looking at the documentation for the gtk_text_buffer_create_tag().at
http://developer.gnome.org/gtk/2.24/GtkTextBuffer.html#gtk-text-buffer-create-tag.
Unfortunately it does not mention where I can get a list of all
predefined tag available.
I am also looking at some code where I se
Vivien,
On Sat, Dec 10, 2011 at 2:02 AM, Vivien Malerba wrote:
>
>
> On 10 December 2011 01:33, Igor Korot wrote:
>>
>> Hi, ALL,
>> I am looking at the documentation for the gtk_text_buffer_create_tag().at
>>
>> http://developer.gnome.org/gtk/2.24/GtkTex
Hi, ALL,
Can I do the operation explained in subj?
Thank you.
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
Hi, ALL,
I am using GtkComboBox and I need to show the dropdown
list in my program.
I found a function gtk_combo_box_popup() but the documentation
says that it should be used for the accessibility purposes.
Does this mean I can't use it? And if I can't what are the drawbacks?
Is there another way
And another question.
If I call gtk_combo_box_set_button_sensitivity() with GTK_SENSITIVITY_ON
does this mean I will be able to catch a mouse clicks on the dropdown button
at any point of time?
Thank you.
On Thu, Jan 19, 2012 at 10:46 PM, Igor Korot wrote:
> Hi, ALL,
> I am using GtkCo
Hi, Robert,
On Fri, Jan 20, 2012 at 12:31 AM, Robert Pearce
wrote:
> On Thu, 19 Jan 2012 22:46:30 -0800 Igor wrote:
>> Hi, ALL,
>> I am using GtkComboBox and I need to show the dropdown
>> list in my program.
>>
>> I found a function gtk_combo_box_popup() but the documentation
>> says that it sho
Hi, ALL,
>From the GTK+ docs:
http://developer.gnome.org/gtk3/stable/GtkComboBox.html#GtkComboBox-popup
"The ::popup signal is a keybinding signal which gets emitted to popup
the combo box list.
The default binding for this signal is Alt+Down."
Is it possible to know if the user pressed the keys
Hi, ALL,
Is following fix applicable for GTK+2/Anjuta-2?
http://git.gnome.org/browse/anjuta/commit/?id=1f76c55a9d1c6e056f8068f229704dfe45c0e5dd
Thank you.
P.S.: I have GTK+2.24.5-r1 from Gentoo Portage.
___
gtk-list mailing list
gtk-list@gnome.org
http
Hi, ALL,
Is it possible to make combo box/list box ownerdrawn?
Meaning that the string in the control will have a bitmap...
I'm using GTK+2.
Thank you.
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list
Hi, ALL,
Can someone give me a simple code example to use for the menu with the bitmap?
I can't find an appropriate function in the docs to associate the
GtkMenuItem with the bitmap/drawable...
Also looking at the documentation it looks like GtkImageMenuItem is a
child of the GtkMenuItem and so
ca
Hi, ALL,
On the link
https://developer.gnome.org/gtk2/stable/GtkTextIter.html#gtk-text-iter-get-line
it does not say whether it will return the number of physical lines or
number of logical lines.
Could someone please sched some light on this?
It would also be nice if someone point to the antago
Hi, ALL,
Can someone give me a simple code example to use for the menu with the bitmap?
I can't find an appropriate function in the docs to associate the
GtkMenuItem with the bitmap/drawable...
Thank you.
___
gtk-list mailing list
gtk-list@gnome.org
http
Hi, Hrvoje,
On Mon, Jul 14, 2014 at 5:49 AM, Hrvoje Niksic wrote:
> On 07/12/2014 10:52 AM, Igor Korot wrote:
>>
>> Hi, ALL,
>> On the link
>> https://developer.gnome.org/gtk2/stable/GtkTextIter.html#gtk-text-iter-get-line
>> it does not say whether it will retur
Hi, ALL,
Is there a way in GTK+ application to do a toolbar customization?
Thank you.
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list
e from the official documentation on how to do that?
I understand it is possible but without the documentation I will not
be able to do much
Thank you.
>
> Note: you should add the list as cc when replying.
>
> On Tue, Aug 5, 2014 at 2:29 PM, Igor Korot wrote:
>> Hi, Victor,
Hi, ALL,
On Windows I can display File/Open or File/Save dialog with the a
checkbox which will say "Show Hidden Files" so that the user can
decide whether to turn it on or off.
Is something like this available for GtkFileChooserDialog?
Thank you.
___
gt
David,
On Tue, Sep 16, 2014 at 12:58 AM, David Nečas wrote:
>
> Please reply to the list.
>
> On Tue, Sep 16, 2014 at 12:47:26AM -0700, Igor Korot wrote:
>> > Yes, you need to right-click in the file list. Unfortunately, the
>> > discoverability of Gtk+ file dial
Hi, guys,
On 9/17/14, Igor Korot wrote:
> David,
>
> On Tue, Sep 16, 2014 at 12:58 AM, David Nečas wrote:
>>
>> Please reply to the list.
>>
>> On Tue, Sep 16, 2014 at 12:47:26AM -0700, Igor Korot wrote:
>>> > Yes, you need to righ
Hi,
On Thu, Sep 18, 2014 at 3:35 AM, LRN wrote:
> On 17.09.2014 13:49, Igor Korot wrote:
>> David,
>>
>> On Tue, Sep 16, 2014 at 12:58 AM, David Nečas wrote:
>>>
>>> Please reply to the list.
>>>
>>> On Tue, Sep 16, 2014 at 12:47:26AM -0
Emmanuele,
On Thu, Sep 18, 2014 at 7:53 AM, Emmanuele Bassi wrote:
> hi;
>
> On 18 September 2014 15:39, Igor Korot wrote:
>> Hi,
>>
>> On Thu, Sep 18, 2014 at 3:35 AM, LRN wrote:
>>> On 17.09.2014 13:49, Igor Korot wrote:
>>>> David,
>>
Forwarding to the list as well...
-- Forwarded message --
From: Igor Korot
Date: Thu, Sep 18, 2014 at 8:03 PM
Subject: Re: GtkFileChooserDialog question
To: Emmanuele Bassi
Emmanuele,
On Thu, Sep 18, 2014 at 8:52 AM, Emmanuele Bassi wrote:
> hi Igor;
>
> next
Emmanuel,
On Thu, Sep 18, 2014 at 8:04 PM, Igor Korot wrote:
> Forwarding to the list as well...
>
>
> -- Forwarded message ------
> From: Igor Korot
> Date: Thu, Sep 18, 2014 at 8:03 PM
> Subject: Re: GtkFileChooserDialog question
> To: Emmanuele Bassi
>
Hi, ALL,
According to
https://developer.gnome.org/gtk3/stable/gtk3-Stock-Items.html#GTK-STOCK-FULLSCREEN:CAPS
this stock item is deprecated since GTK+-3.1.0.
Is there a replacement for this item or it will just be removed?
Thank you.
___
gtk-list mail
Hi, Paul,
On Mon, May 4, 2015 at 8:26 AM, Paul Davis wrote:
> Your mistake is imagining that there are "system colors" and that you can do
> "custom rendering" that will use them.
>
> GTK is largely designed around a Linux model in which the ability of the
> user to dynamically alter the appearan
Hi, ALL,
Could someone please update the documentation in regards of:
What version of GTK+ introduceds
https://developer.gnome.org/gtk3/stable/GtkLinkButton.html#GtkLinkButton-activate-link?
I tried it under GTK+2.24 under Gentoo Linux and got an exception
Thank you.
ALL,
On Sun, Jul 26, 2015 at 11:35 PM, Igor Korot wrote:
> Hi, ALL,
> Could someone please update the documentation in regards of:
>
> What version of GTK+ introduceds
> https://developer.gnome.org/gtk3/stable/GtkLinkButton.html#GtkLinkButton-activate-link?
>
> I tried it
Hi, ALL,
The documentation says:
[quote]
gtk_widget_set_double_buffered has been deprecated since version 3.14
and should not be used in newly-written code.
This function does not work under non-X11 backends or with non-native
windows. It should not be used in newly written code.
[/quote]
However
Emmanuel,
I asked on the other thread but nobody replied :(
What is the minimum GTK+ version for GtkLinkButton signnal "activate-link".
And how to stop propagating the click on it with GTK+2 where this is
not available?
Thank you.
On Wed, Jul 29, 2015 at 10:12 AM, Emmanuele Bassi wrote:
> Hi;
Hi,
The documentation states:
[quote]
gtk_button_set_alignment has been deprecated since version 3.14 and
should not be used in newly-written code.
Access the child widget directly if you need to control its alignment.
[/quote]
Now, while the image can be retrieved with the gtk_button_get_imag
Emmanuele,
On Thu, Jul 30, 2015 at 5:31 AM, Emmanuele Bassi wrote:
> Hi;
>
> On 30 July 2015 at 05:45, Igor Korot wrote:
>> Hi,
>> The documentation states:
>>
>> [quote]
>>
>> gtk_button_set_alignment has been deprecated since version 3.14 an
Marcus, et al,
On Thu, Jul 30, 2015 at 1:29 PM, Marcus Karlsson wrote:
> On Thu, Jul 30, 2015 at 04:09:03PM +0200, Marcus Karlsson wrote:
>> On Thu, Jul 30, 2015 at 06:43:45AM -0400, Igor Korot wrote:
>> > Emmanuele,
>> >
>> > On Thu, Jul 30, 2015 at 5:31 A
Hi, ALL,
In my GTK+-2 I have a following code:
const GtkBorder* oldBorder = gtk_entry_get_inner_border(entry);
Unfortunately this function is deprecated in GTK+-3.4.
Now the documentation suggests to use GtkStyleContext and GtkCssProvider.
Looking at GtkStyleContext I see that it has gtk
just stay with the old algorithm...
Thank you.
>
> Ciao,
> Emmanuele.
>
>
> On Sunday, August 2, 2015, Igor Korot wrote:
>>
>> Hi, ALL,
>> In my GTK+-2 I have a following code:
>>
>> const GtkBorder* oldBorder = gtk_entry_get_inner_bord
Hi, ALL,
The documentation here: states
[quote]
g_thread_init ()
void g_thread_init (gpointer vtable);
g_thread_init has been deprecated since version 2.32 and should not be
used in newly-written code.
This function is no longer necessary. The GLib threading system is
automatically initialized
you can still use
> it; it didn't disappear (yet), it's just deprecated.
Well the trouble is that documentation gives incorrect information:
First it says function is deprecated and then gives an impression it's
OK to use it.
Thank you.
>
> Best,
> Gergely
>
>
GMT+02:00 Paul Davis :
>>
>> On Wed, Aug 5, 2015 at 7:04 AM, Igor Korot wrote:
>>
>> > Well the trouble is that documentation gives incorrect information:
>> > First it says function is deprecated and then gives an impression it's
>> > OK to use i
Hi, ALL,
The documentation states:
[quote]
Adds an activatable widget to the action area of a GtkDialog,
connecting a signal handler that will emit the “response” signal on
the dialog when the widget is activated. The widget is appended to the
end of the dialog’s action area. If you want to add a
Hi, ALL,
It looks like all GTK_STOCK_XXX have their replacemewnts in GTK+-3.
However, GTK_STOCK_YES does not. And it is very useful item.
Is there a replacement I can use?
Thank you.
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/m
n one dialog.
Could you please update the documentation to let people know about it?
Thank you
>
> Ciao,
> Emmanuele.
>
>
> On Saturday, August 8, 2015, Igor Korot wrote:
>>
>> Hi, ALL,
>> It looks like all GTK_STOCK_XXX have their replacemewnts in GTK+-3.
>
Hi,
On Sun, Aug 9, 2015 at 8:00 AM, Thiago Bellini Ribeiro
wrote:
> On Sun, Aug 9, 2015 at 1:46 AM Daniel Kasak wrote:
>>
>> No no no. Everybody is wrong. What we need is:
>>
>> [ Actually, now that I come to think about it, this is not the action
>> I would like to take at this time. Thankyou a
Hi,
On Sun, Aug 9, 2015 at 10:33 AM, Thiago Bellini Ribeiro
wrote:
> On Sun, Aug 9, 2015 at 10:09 AM Igor Korot wrote:
>>
>> Hi,
>>
>> On Sun, Aug 9, 2015 at 8:00 AM, Thiago Bellini Ribeiro
>> wrote:
>> > On Sun, Aug 9, 2015 at 1:46 AM Daniel Kasak
&
Hi, ALL,
There is a function in GTK - gtk_window_set_transient_for() - which
sets the parent
window for the current one.
Now the question I have is: is it possible to set the parent to become
a Desktop?
Let's say I have an application class and I want to make sure that I
already have a TLW
to pas
Hi, ALL,
Documentation says:
[quote]
Returns
NULL if the GTK+ library is compatible with the given version, or a
string describing the version mismatch. The returned string is owned
by GTK+ and should not be modified or freed.
[/quote]
So NULL is returned if my GTK+ version is >= than the suppl
his is discouraged.
The thing is: I have my own GtkDialog class and I'm trying to
eliminate this warning...
Thank you.
>
> On Sun, Aug 9, 2015 at 11:59 AM, Igor Korot wrote:
>> Hi, ALL,
>> There is a function in GTK - gtk_window_set_transient_for() - which
>>
window and
supply it to that function?
Will it work like this? If yes - what is this function name, if any?
Thank you.
>
> On Sun, Aug 9, 2015 at 3:34 PM, Igor Korot wrote:
>> Hi, Jasper,
>>
>> On Sun, Aug 9, 2015 at 3:00 PM, Jasper St. Pierre
>> wrote:
>>> T
Hi,
I'm trying to run the modified GTK+3 application.
I have KDE4 as my WM and trying to run the application I see that my button
does not have a stock images.
However my app compiled against GTK+2 does have it.
So my question is: are the icons for GTK+3 in a different package that is not
install
Hi,
On Mon, Aug 10, 2015 at 1:54 AM, Fan, Chun-wei (范君維)
wrote:
> Hi Igor,
>
> Igor Korot 於 2015/8/10 下午 01:28 寫道:
>>
>> So my question is: are the icons for GTK+3 in a different package that is
>> not
>> installed by default.
>
> You will need to get the
Emmanuele,
On Mon, Aug 10, 2015 at 4:11 AM, Emmanuele Bassi wrote:
> Hi;
>
> On 8 August 2015 at 05:29, Igor Korot wrote:
>> Hi, ALL,
>>
>> The documentation states:
>>
>> [quote]
>> Adds an activatable widget to the action area of a GtkDialog,
>
Stefan,
On Mon, Aug 10, 2015 at 9:36 AM, Stefan Salewski wrote:
> On Mon, 2015-08-10 at 01:28 -0400, Igor Korot wrote:
>> Hi,
>> I'm trying to run the modified GTK+3 application.
>
> Sorry, no idea what "the modified GTK+3 application" is...
>
>>
to ignore
> that warning.
>
> On Sun, Aug 9, 2015 at 3:57 PM, Igor Korot wrote:
>> Jasper,
>>
>> On Sun, Aug 9, 2015 at 6:39 PM, Jasper St. Pierre
>> wrote:
>>> As mentioned, dialogs are designed to be parented to a specific
>>> window. As the
Paul,
On Mon, Aug 10, 2015 at 12:33 PM, Paul Davis wrote:
> On Mon, Aug 10, 2015 at 12:31 PM, Igor Korot wrote:
>> Jasper,
>>
>> On Sun, Aug 9, 2015 at 7:19 PM, Jasper St. Pierre
>> wrote:
>>> The desktop is not a window. It could be in some desktop env
Guys,
On Mon, Aug 10, 2015 at 1:01 PM, Paul Davis wrote:
> On Mon, Aug 10, 2015 at 12:57 PM, Jasper St. Pierre
> wrote:
>> Hi Paul,
>>
>> In recent GTK+ versions, GtkDialog emits a warning when it is mapped
>> without a parent, saying that it is discouraged. See
>> https://git.gnome.org/browse/g
Stefan et al,
On Mon, Aug 10, 2015 at 2:23 PM, Stefan Salewski wrote:
> On Mon, 2015-08-10 at 12:28 -0400, Igor Korot wrote:
>> But then how do I set the label for such button?
>> It looks like this function can be used for bitmap buttons only (no
>> labels).
>
> Of co
e sure KDE is
out of the picture. ;-)
>
> Good luck, Gentoo warrior :) Oh ... you're running 'stable' ... luck not
> required ;)
Yup, I will need it.
Thank you.
>
> Dan
>
> On Tue, Aug 11, 2015 at 1:31 PM, Igor Korot wrote:
>>
>> Stefan et al,
>&
n GTK+3
To: Igor Korot
Cc: "gtk-list@gnome.org"
Use "Yes", but please: consider using a more descriptive label and
icon than just "yes".
Ciao,
Emmanuele.
On Saturday, August 8, 2015, Igor Korot wrote:
>
> Hi, ALL,
> It looks like all GTK_STOCK_XX
Hi,
On Tue, Aug 11, 2015 at 7:52 PM, Allin Cottrell wrote:
> On Wed, 12 Aug 2015, Daniel Kasak wrote:
>
>> On Wed, Aug 12, 2015 at 7:15 AM, Igor Korot wrote:
>>
>>> Daniel,
>>>
>>> On Tue, Aug 11, 2015 at 2:09 AM, Daniel Kasak
>>> wrote:
&g
Stefan,
On Thu, Aug 13, 2015 at 2:51 PM, Stefan Salewski wrote:
> On Wed, 2015-08-12 at 23:13 -0400, Igor Korot wrote:
>> Now this code for 2.x is using GTK_STOCK_YES.
>> Is there a named icon I can use instead. Or even more: is there a list
>> of named icons I can check
Hi, ALL,
[code]
#if GTK_CHECK_VERSION( 3, 10, 0 )
if( !gtk_check_version( 3, 10, 0 ) )
{
GtkIconTheme *theme = gtk_icon_theme_get_default();
GError *error = NULL;
GdkPixbuf *pixbuf = gtk_icon_theme_load_icon( theme,
"dialog-error", GTK_ICON_SIZE_DIALOG,
GTK_
Hi, ALL,
I'm trying to port GTK+2 app to GTK+3.
In GTK+2 I have following code:
[code]
continuebtn = gtk_assert_dialog_add_button (dlg, "_Continue",
GTK_STOCK_YES, GTK_ASSERT_DIALOG_CONTINUE);
[/code]
I'm trying to rewrite it as follows:
[code]
continuebtn = gtk_button_new_with_m
Stefan,
On Sun, Aug 16, 2015 at 7:42 AM, Stefan Salewski wrote:
> On Sun, 2015-08-16 at 01:42 -0400, Igor Korot wrote:
>> However the image is not displayed on the button.
>> I can't call gtk_window_set_icon_name() as GtkButton is not GtkWindow
>> and I'm getting
g from GdkPixbuf and it becomes 0?
Thank you.
>
> Le dimanche 16 août 2015 à 14:24 +0200, Stefan Salewski a écrit :
>> On Sat, 2015-08-15 at 19:16 -0400, Igor Korot wrote:
>> > However, if
>> > I explicitely put 48 instead of GTK_ICON_SIZE_DIALOG in the call
>&g
che 16 août 2015 à 09:06 -0400, Igor Korot a écrit :
>> Hi, Jean,
>>
>> On Sun, Aug 16, 2015 at 8:59 AM, Jean Brefort
>> wrote:
>> > GtkIconSize is an enum. Acceptable values are 1 to 6, 6 being
>> > GTK_ICON_SIZE_DIALOG. (0 means inval
Hi, ALL,
Is it possible to set an icon on the button of GtkFileChooser interface dialog?
>From the first glance I don't have access to the "Open/Save/Cancel" buttons...
Thank you.
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailm
Hi,
In the https://developer.gnome.org/gtk3/stable/GtkFileChooserDialog.html
it stays:
[quote]
first_button_textstock ID or text to go in the first button, or
NULL. [allow-none]
[/quote]
However, if I understand correctly stock items are deprecated.
So even though the function is present s
True.
But it gives a wrong impression that one can use stock items here...
Thank you.
>
> Ciao,
> Emmanuele.
>
> On 16 August 2015 at 17:09, Igor Korot wrote:
>> Hi,
>> In the https://developer.gnome.org/gtk3/stable/GtkFileChooserDialog.html
>> it stays:
>>
Hi,
In the
https://developer.gnome.org/gtk3/stable/gtk3-Drag-and-Drop.html#gtk-drag-begin-with-coordinates
it is missing so I am going to ask here:
This function takes 2 parameters: gint x and gint y.
Which coordinates they should be in: screen or window?
Thank you.
e.org/browse/gtk+/tree/gtk/gtkdnd.c#n2578
Ok, so you do see the same thing I see?
Hopefully someone can get in and fix it...
Maybe there is some hidden symbol in there?
Thank you.
>
> On Sun, Aug 16, 2015 at 1:27 PM, Igor Korot wrote:
>> Hi,
>> In the
>> https://developer.g
Hi,
In the
https://developer.gnome.org/gtk3/stable/GtkWidget.html#GtkWidget--margin-xxx
it says :
[quote]
Allowed values: [0,32767]
[/quote]
However, it does not explain which value correspond to what alignment.
Does 0 mean the widget should be expanded to fill the space allocated
or its used t
Hi,
This page:
https://developer.gnome.org/gtk3/stable/GtkWidget.html#gtk-widget-get-double-buffered
does not say what is the GTK+ version that deprecates the function.
Could someone shed some light, please?
Thank you.
___
gtk-list mailing list
gtk-lis
Hi,
On the
https://developer.gnome.org/gtk3/stable/GtkIconTheme.html#gtk-icon-theme-load-icon,
the example code is incorrect:
[quote]
In function 'GdkPixbuf* {anonymous}::CreateStockIcon(const char*, GtkIconSize)':
error: invalid conversion from 'int' to 'GtkIconLookupFlags' [-fpermissive]
Hi,
In the
https://developer.gnome.org/gtk3/stable/GtkIconTheme.html#gtk-icon-theme-lookup-icon
it
does not indocate what I need to pass as a size to get the information about
the icon if the size is not known beforehand.
Could someone please explain?
Thank you.
_
Hi,
Bugs/issues in Glade should be reported to the GTK+
bug tracker, right?
Thank you.
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list
Hi, ALL,
On the page https://developer.gnome.org/gtk3/stable/GtkWidget.html, part
"Building composite widgets from template XML", the code says:
[code]
gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass),
"/com/example/ui/foowidget.u
led into the binary?
Or not?
And how to properly format it?
Thank you.
>
> On Sun, Aug 23, 2015 at 8:19 PM, Igor Korot wrote:
>> Jasper,
>>
>> On Sun, Aug 23, 2015 at 11:08 PM, Jasper St. Pierre
>> wrote:
>>> Resource paths aren't filesystem paths -- th
Hi, Gian,
On Mon, Aug 24, 2015 at 4:56 AM, Gian Mario Tagliaretti
wrote:
> On 24 August 2015 at 05:49, Igor Korot wrote:
>
> Hi Igor,
>
>> So then this path becomes obsolete, since it is compiled into the binary?
>> Or not?
>> And how to properly format it?
>
&
Hi, ALL,
Hopefully there is a person who is familiar with Pango...
The documentation for PangoUnderline -> PANGO_UNDERLINE_ERROR states:
[quote]
a wavy underline should be drawn below. This underline is typically
used to indicate an error such as a possilble mispelling; in some
cases a contrastin
1 - 100 of 208 matches
Mail list logo