[Glade-users] Where is GtkFlowBox ?
Tristan Van Berkom
tristan.van.berkom at gmail.com
Sat Jul 1 09:00:43 UTC 2017
Hi Charles,
In the Glade designer tool, the gray areas where widgets can be added
from the palette, we call placeholder widgets.
These originally were only the places where the user can add new
widgets from the palette, but now they also act as drop targets so
widgets can be dragged from anywhere in the UI and dropped there, and
also the (sort of hidden) feature I was describing; double clicking on
one lets you add a new widget with a different UI that includes a
search entry.
These placeholder widgets are of course only available in the designer
tool, and they need to take space so that the UI can be manipulated
(this is also why the UI you are editing can never look like the end
result, which is why the preview feature needs to be separate).
Cheers,
-Tristan
On Sat, Jul 1, 2017 at 5:04 AM, Charles Bradshaw
<brad at bradcan.homelinux.com> wrote:
> Hi Tristen,
>
> That's interesting, but what is a placeholder? For example ...
>
> Be patient with me I'm 72 and only have 50 years programming experience. ;-}
>
>
> On 30/06/17 05:27, Tristan Van Berkom wrote:
>> Flow box is in the containers group in the palette, beside listbox,
>> after the frame widgets.
>>
>> Alternatively, if you create a window (or anything with a placeholder)
>> and double click on a placeholder, you will get a searchable list of
>> widget types, start typing "flow" in there and you will find it.
>>
>> Cheers,
>> -Tristan
>>
>>
>>
>> On Fri, Jun 30, 2017 at 9:13 AM, Charles Bradshaw
>> <brad at bradcan.homelinux.com> wrote:
>>> I have installed the latest glade 3.20 with the expectation of
>>> GtkFlowBox, however I see no such object in the catalog.
>>>
>>> I see /usr/local/share/glade/gtk+.xml which contains the line:
>>>
>>> <glade-widget-class use-placeholders="False" since="3.12"
>>> name="GtkFlowBox" generic-name="flowbox" title="Flow Box">
>>>
>>> And icons named widget-gtk-flowbox.png
>>>
>>> Do I have to do some other installation to make flow boxes available in
>>> glade?
>>>
>>> _______________________________________________
>>> Glade-users maillist - Glade-users at lists.dot.net
>>> http://lists.dot.net/mailman/listinfo/glade-users
>
More information about the Glade-users
mailing list