Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [visibility]

Visibility is an attribute of an object. It may refer to the concept of having something visible (or not) on the graphical interface, or a symbol visibility in linkage. This tag should not be used in place of the more specific tags [memory-visibility] or [class-visibility].

visibility
0 votes
1 answer
176 views

Rust visibility from child module to outside

I'm learning about Rust, and trying to figure out the visibility rules for modules. I have the following code: fn x() -> u8 { 5 } struct Person { name: String, } mod example { use ...
2 votes
3 answers
3k views

Add custom column product visibility to admin product list in Woocommerce 3

I am trying to add a custom column to admin product list with the Catalog Visibility value of the products (basically, I need to know easier which is Hidden and which is not). My code so far for my ...
1 vote
1 answer
875 views

Allowing binary in the same crate to use library's modules but disallowing external crates to use the same modules

I have three files under the src directory: src |____ keys.rs // a 'sub-module' under `lib.rs` |____ lib.rs |____ main.rs // binary file In my cargo.toml, I specify specifically the paths to the lib ...
19 votes
7 answers
40k views

C#/WPF: Make a GridViewColumn Visible=false?

Is there an option to hide a GridViewColumn somehow like this: <ListView.View> <GridView> <GridViewColumn Header="Test" IsVisible="{Binding Path=...
0 votes
2 answers
8k views

ExtJS 4.1.3 filter combobox

This is a 2-part question: Primary Question: Say I have a combobox (code below) that is pulling from a store. Say I have an array that I want to filter the data by so that only certain values ...
1 vote
4 answers
412 views

Dynamically Hiding Empty Sections of List in SwiftUI

I have a dynamic SwiftUI List that populates utilizing an enum for States. Then it cycles through my dictionary of data looking for a state match to display data. All of this works perfectly. What I ...
0 votes
1 answer
61 views

Override HTML element visibility controlled by a <details> tag

I wanted to make an element inside a <details> tag be visible even if the <details> tag is not open using CSS styles. I tried using visibility, display, position, modifying the <details&...
19 votes
4 answers
13k views

MVVM pattern violation: MediaElement.Play()

I understand that ViewModel shouldn't have any knowledge of View, but how can I call MediaElement.Play() method from ViewModel, other than having a reference to View (or directly to MediaElement) in ...
0 votes
2 answers
98 views

How to make a child widget added in a slot visible?

The following code: #include "mainwindow.h" #include "ui_mainwindow.h" #include <QtCharts> #include <QChartView> #include <QBarSet> #include <QBarSeries> ...
-3 votes
2 answers
636 views

Why is a function without self argument not visible to other functions in that class? [duplicate]

In Python, when I'm defining a function inside a class, I can include self as one of the arguments to access the member variables of that class, and I can also choose not include self as the argument ...
0 votes
0 answers
31 views

How to remove symbols directly from a dynamic library binary(.so)? [duplicate]

I have a dynamic 3rd party library that has bunch of symbols from libc++ exposed. When I put everything together I have an ODR violation, half of my std::basic_string is from one lib, one is from ...
0 votes
1 answer
59 views

I'm trying to make this a randomly visible and clickable small link button. How can I make this work?

I'm building a church website and I'm new to coding so I don't fully understand pseudocode, but here's what I have right now: css: @keyframes offsetFix { 0% (background-color: #ffffff;) 90% (...
3 votes
2 answers
945 views

How to hide the VS Code bar with file name, breadcrumbs, and action buttons?

I'd like to hide the toolbar visible in the screenshot: I can hide the menu bar by going into full-screen mode, but I haven't been able to get rid of the bar with the file name, run button, split, ...
65 votes
9 answers
92k views

How to wait for element to disappear in cypress? [duplicate]

I have a loading indicator that I need to wait for to disappear before doing my assertions. I've seen some use the following, but it does not seem to work for me and also I don´t want it to be an ...
-2 votes
3 answers
137 views

Access UI form controls from another class into your main form in C#

How can I use my UI form controls from another class? I want to work with these controls in another class, then call it into my main form. The problem is that the new class I created can't seem to ...

15 30 50 per page